Changeset 9979acb in mainline for kernel/arch/mips32/src/mm/page.c
- Timestamp:
- 2009-02-20T17:19:03Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c9b550b
- Parents:
- 5c06c1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mm/page.c
r5c06c1c r9979acb 37 37 #include <mm/page.h> 38 38 #include <mm/frame.h> 39 #include <ddi/ddi.h> 40 41 /** Physical memory area for devices. */ 42 static parea_t dev_area; 39 43 40 44 void page_arch_init(void) … … 52 56 } 53 57 54 void hw_area( uintptr_t *physaddr, pfn_t *frames)58 void hw_area(void) 55 59 { 56 *physaddr = end_frame; 57 *frames = ADDR2PFN(0xffffffff - end_frame); 60 dev_area.pbase = end_frame; 61 dev_area.frames = SIZE2FRAMES(0xffffffff - end_frame); 62 ddi_parea_register(&dev_area); 58 63 } 59 64
Note:
See TracChangeset
for help on using the changeset viewer.