Re: The Linear Address Space

From: Jonathan Bartlett (johnnyb_at_eskimo.com)
Date: 04/28/04


Date: Wed, 28 Apr 2004 04:19:55 +0000 (UTC)


> Physical address space has nothing to do with the hard drive. The IDE
> controller (or SCSI if you prefer) is part of the physical address space.
> Some of its registers are accessible as memory. When for some reason data
> must be read off the hard drive, the OS sends a command to the IDE or SCSI
> controller to read the data into physical memory (RAM).

Your post is correct, but I thought I'd point something interesting
out for everyone. In the HURD, the ext2 filesystem driver is actually
built by mmap()ing in the whole partition into the driver's address
space, and then just dealing with it as a big block of memory. Of
course, this limitted the HURD to only 2GB partitions, but it was a
pretty nifty idea from a programming perspective, and one of the
benefits of being able to have operating system pieces running in
userspace. They may have changed the implementation since I last
looked at the HURD, but it was really interesting.

Jon
-------------
Learn assembly language programming with Linux
http://www.cafeshops.com/bartlettpublish.8640017



Relevant Pages

  • Re: Still cant boot SCSI with IDE in sequence
    ... You can just remove the IDE drives, and the machine will boot from the SCSI drive. ... Now that I think about it, I think your best solution would be to ditch the IDE drives entirely and make the system all-SCSI. ... IDE controller. ...
    (comp.periphs.scsi)
  • Reihenfolge der Festplattenerkennung
    ... Ich habe einige Festplatten in meinem Rechner, einige am Onboard IDE Controller, einige an PCI-IDE-Controllern und eine an einem Adaptec 2940UW. ... Nur wie werden die zusaetzlichen IDE-Controller behandelt, wenn ich "Boot from SCSI" im Bios auswaehle??? ...
    (de.comp.os.unix.linux.hardware)
  • Re: IDE Drives recognised as SCSI
    ... > It will show up as a SCSI device in Device Manager. ... > Motherboards come one Primary IDE and one Secondary IDE controller. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Fast hard drive...?
    ... > IDE is that SCSI overhead is handled by a controller card, ...
    (comp.os.linux.hardware)
  • Re: Fast hard drive...?
    ... > IDE is that SCSI overhead is handled by a controller card, ...
    (comp.os.linux.hardware)