MS Windows component
- User mode and kernel mode.
- Drivers call routines that are exports by various kernel components.
- Drivers must respond to specific calls from the operating system and can respond to other system calls.
- For a list of kernel mode routines that drivers may need to support.
User Mode
- When you start a user-mode application,windows creates a process for the application.
1.Private virtual address space.
2.Private handle table.
- Each application runs in isolation and if an application crashes, the crash is limited to that one application.
Kernel Mode
- All code that runs in kernel mode shares a single virtual address space.
- If a kernel mode driver accidentally writes to the wrong virtual address,data that belongs to the OS or another driver could be compromised.
- If a kernel-mode driver crashes,the entire OS crashes.
0 Comments