Changeset e49e234 in mainline for kernel/arch/mips32/src/mm/page.c


Ignore:
Timestamp:
2009-02-27T11:32:31Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1f7f6ea
Parents:
5f0f29ce
Message:

kernel memory management revisited (phase 2): map physical memory according to zones

  • ia32: register reserved and ACPI zones
  • pareas are now used only for mapping of present physical memory (hw_area() is gone)
  • firmware zones and physical addresses outside any zones are allowed to be mapped generally
  • fix nasty antient bug in zones_insert_zone()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mm/page.c

    r5f0f29ce re49e234  
    3737#include <mm/page.h>
    3838#include <mm/frame.h>
    39 #include <ddi/ddi.h>
    40 
    41 /** Physical memory area for devices. */
    42 static parea_t dev_area;
    4339
    4440void page_arch_init(void)
     
    5652}
    5753
    58 void hw_area(void)
    59 {
    60         dev_area.pbase = end_frame;
    61         dev_area.frames = SIZE2FRAMES(0xffffffff - end_frame);
    62         ddi_parea_register(&dev_area);
    63 }
    64 
    6554/** @}
    6655 */
Note: See TracChangeset for help on using the changeset viewer.