azambajwa Posted January 31, 2006 Share Posted January 31, 2006 Allim newbie in windows device driver programming i have 2 Question about windows adress space1:- 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 virtualmemory (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?RegardsBajwa Link to comment Share on other sites More sharing options...
RogueSpear Posted January 31, 2006 Share Posted January 31, 2006 You may want to check out this link before you get too far involved in a project making a driver:http://msdn.microsoft.com/library/default....eviceDriver.asp Link to comment Share on other sites More sharing options...
azambajwa Posted February 1, 2006 Author Share Posted February 1, 2006 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 More sharing options...
Bâshrat the Sneaky Posted February 5, 2006 Share Posted February 5, 2006 Topic moved to Programming. Link to comment Share on other sites More sharing options...
LLXX Posted February 6, 2006 Share Posted February 6, 2006 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 virtualmemory (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 More sharing options...
azambajwa Posted February 7, 2006 Author Share Posted February 7, 2006 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 More sharing options...
RogueSpear Posted February 7, 2006 Share Posted February 7, 2006 I think there is a minimum size necessary for an NTFS partition. Link to comment Share on other sites More sharing options...
LLXX Posted February 8, 2006 Share Posted February 8, 2006 RAM drives work better as FAT16 since they're not going to be much bigger than 512Mb, and they don't need all the extra features of NTFS since they're transient. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now