Re: How the hard-disk is memory mapped???



Hi Nagarjuna,

To start with the the whole Hard disk is not memory mapped but its
controller is. The controller has an access window and probably a
buffer area in that window that the data from hard disk is copied to/
from. It's drivers responsibility to convert application requests to
Disk controller commands (such as sector erase / read write) and copy
buffers from HDD Contoller memory space to the real memory space when
requested..

Hope this helps..

Onder



On Mar 9, 9:47 am, e.nagarjunare...@xxxxxxxxx wrote:
Hi,

On a 32-bit architecture, the maximum physical address space we can
have is 4GB.
All the peripheral devices, physical memory(RAM), and storage etc. is
mapped in the
available 4GB space.
Doubt: How we are able  to access 160GB, 320GB hard-disk content ??
If only status, control registers of hard-disk drive are memory
mapped, then how the
processor able to access different sectors and tracks from hard
disk???
I have only vague picture. Please can anybody explain me this ?

Thanks in advance

Regards
Nagarjuna.

.



Relevant Pages

  • Re: eboot.bib question
    ... PM registers. ... controller. ... attribute memory space. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: OEMAddressTable ... Query ?
    ... Reserve ZBANK virtual block (No physical memory ... > controller. ... > attribute memory space. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: GrabFSPages causing exception
    ... > MEMORY ... > controller. ... > registers. ... > attribute memory space. ...
    (microsoft.public.windowsce.platbuilder)
  • GrabFSPages causing exception
    ... The flow goes like: ... MEMORY ... controller. ... attribute memory space. ...
    (microsoft.public.windowsce.platbuilder)
  • [PATCH] memcg: update documentation v7
    ... There are several other use cases, find one or use the controller just ... - accounting anonymous pages, file caches, swap caches usage and limit them. ... - Root cgroup has no limit controls. ... Kernel memory and Hugepages are not under control yet. ...
    (Linux-Kernel)