Re: memory remap

Tutu wrote:
What is meant by remapping of memory. I occasionaly read this term
during the initialisation sequence of any microcontroller, but never
understood. Can someone throw some light ?

It's any process that has the same memory (including its contents) end up visible under a different address than it was before.

This can be done either by a memory management unit (MMU) built into the CPU, or by external logic circuitry if the memory is external, too. A very simple example would be a port pin controlling an inverter spliced into one of the address lines of an external memory bus. Toggle the pin, and two areas of memory trade places in address space. You've thus changed the mapping from CPU addresses to physical memory cells, i.e. you've "re-mapped" memory.

Relevant Pages

  • Re: pcib allocation failure
    ... pcib1: attempting to grow prefetch window for ... attempting to grow memory window for ... cpu0: on acpi0 ... <ACPI PCI bus> on pcib0 ...
  • Next July 27: boot failure(hang) on x86_64 box.
    ... Freeing unused kernel memory: 1360k freed ... ACPI: PM-Timer IO Port: 0x488 ... CPU: L2 Cache: 1024K ... # AX.25 network device drivers ...
  • [PATCH] Document Linuxs memory barriers [try #3]
    ... The attached patch documents the Linux kernel's memory barriers. ... I've tried to get rid of the concept of memory accesses appearing on the bus; ... barring implicit enforcement by the CPU. ...
  • Oops in 2.6.28-rc9 and -rc8 -- mtrr issues / e1000e
    ... Bios 1.04beta did show correct memory sizing in dmidecode, ... I hope this is as simple as me doing something glaringly wrong in the kernel ... DMI present. ... CPU: L2 cache: 6144K ...
  • Re: read vs. mmap (or io vs. page faults)
    ... not fit in main memory, and there are overheads related to the heuristics ... But because the CPU is underutilized, ... reasonably sized user buffer). ... You have to measure the actual overhead to see what the actual cost is. ...