Jump to content

windows kernel and user space system process and system threads


Recommended Posts

:hello: All

im newbie in windows device driver programming

i have 2 Question about windows adress space

1:- When the terms "user space" and "kernel space" are used, do they refer to

the physical memory of the machine (RAM, actually present) or to the virtual

memory (4 GB on 32-bit machines, just virtual) ?

2:- windows create 4 Gb vitural address space ( 2 Gb for user space and 2 GB for kernel space )

How windows create 4 Gb virtual address even i have only 256MB RAM actually present? as well how windows handle its kernel Direct Mapping to access these addresses?

Regards

Bajwa

Link to comment
Share on other sites


RogueSpear

ur provided link really informative for me ...... but i have write RAMDISK driver for windows 2000 which is working propely my questions was realated to my new one project ....

RogueSpear thanks alot

ur provided link really informative for me ...... but i have write RAMDISK driver for windows 2000 which is working propely my questions was realated to my new one project ....

Link to comment
Share on other sites

1:- When the terms "user space" and "kernel space" are used, do they refer to

the physical memory of the machine (RAM, actually present) or to the virtual

memory (4 GB on 32-bit machines, just virtual) ?

Virtual memory.
2:- windows create 4 Gb vitural address space ( 2 Gb for user space and 2 GB for kernel space )

How windows create 4 Gb virtual address even i have only 256MB RAM actually present? as well how windows handle its kernel Direct Mapping to access these addresses?

Read section on Protected Mode in the IA-32 Intel® Software Developer's Manuals.
Link to comment
Share on other sites

Bâshrat the Sneaky i couldn't understand to moved topic to programming would u like to explain it

I have written a RAM Disk Driver. This driver works fine in w2k, but you cannot format it in NTFS in winXP . Using the format command line, format says Cannot format a RAM Disk drive.

Has anyone solved this problem ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...