jayron
Aug 27 2006, 04:21 PM
| | Unlike DOS, which works under Real mode of processor, Windows works under protected mode of the processor. In protected mode the registers are 32-bit long and are often known as extended registers For example, corresponding to the AX, BX, CX, DX, IP registers of real mode, there exist 32-bit registers called EAX, EBX, ECX, EDX and EIP under protected
Also under protected mode interrupt handling is a little different. The interrupt vector table is no longer kept at a low address space. Instead it is replaced by another table Interrupt Descriptor Table (IDT) which is kept anywhere in physical memory. A dedicated register called IDTR holds the address of the IDT. While booting Windows constructs the table in available physical memory and stores its address in the IDTR register via a special instruction called SIDT (Store IDT). Windows fills the IDT with addresses of various kernel routines.
|
Reply
ghostrider
Aug 27 2006, 04:42 PM
Correct me if I'm wrong, but if I remember correctly, Ring 3 applications(which is what all user-designed programs that run in Windows are, unless they are a device driver or VxD) can't even use the interrupts in Windows.
Reply
Recent Queries:--
force windows interrupt - 24.15 hr back. (1)
Similar Topics
Keywords : interrupt windows- Can A Windows Compiler Compile For Linux?
- (6)
A friend of me, is working on a mod for a tournament where I am a co admin off... The problem is...
My friend uses Windows. Are there any Windows programs that can ccompile .so's to use on a linux
server / box? Thanks for any reply's...
What Do You Use C/c++ For?
- Develop software / games / on windows / mac / linux? Use QT? (25)
I am currently learning C++ and QT, I'm just wondering how many of your guys develop for windows
specifically for do you target mac and linux too, or are you developing games? Most important is
the uptake of the .Net framework, just how many people are developing for it, is it really as big /
important as everyone on the net suggests? Would love to hear everyones views!...
Ralf Brown's Interrupt List
- (2)
Problems Unregistering Windows
- (0)
I'm making a program which uses several windows. I thought I'd reduce the amount of coding
in my program by making a function which does everything that is needed to open a window, since all
of the windows I need are basically the same. In fact, the only way they really differ is that they
all use different message procedures. The code below, therefore, accepts a window class which
already has a value in the .lpszClassName variable and the .lpfnWndProc variable. The rest of the
window class in then filled with default values, the class in registered, a window i...
Windows Service
- (0)
I'm thinking about making a Windows Service in C++. I found some sample code, and it all makes
sense, except I'm wondering if it's possible to detect whether my exe is running as a
Service. I'd like to have it perform this check when the app starts. Then if it is running as a
Service, it'll go ahead and call StartServiceCtrlDispatcher(), otherwise some other action can
be performed. ...
Static Members Across Libraries (windows Dll Vs. Unix)
- (0)
Hopefully I can explain my problem clearly. If not, please ask any questions to clarify. I'm
looking at an issue where I'd need to make reference counted smart pointers multi-thread safe on
a UNIX platform via mutexes. Object-embedded mutexes are not an option because of the memory
footprint increase. Therefore, it was decided we use a static mutex that locks the entire class out
from the reference count (i.e., only one smart pointer on the entire system at a time can do a
reference count operation). BTW, these design decisions aren't mine to make. The issu...
Patching With Windows?
- (1)
Does anyone know a way to patch C++ code with a .patch file? I have Visual C++ 6.0, the .patch file
and the source code of the file I want to patch with it......
Khtml For Windows
- help and support this project (0)
The project leader has emailed me telling to post to C++ forums because they are planning to create
KHTML for Windows. Search at sourceforge.net about it. You will find that project interesting....
Looking for interrupt, windows
|
|
Searching Video's for interrupt, windows
|
advertisement
|
|