Changeset 6da1013f in mainline for kernel/arch/mips32/src/mm/frame.c
- Timestamp:
- 2009-02-12T20:09:19Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84266669
- Parents:
- 7004747
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mm/frame.c
r7004747 r6da1013f 76 76 static bool frame_available(pfn_t frame) 77 77 { 78 #if MACHINE ==msim78 #ifdef msim 79 79 /* MSIM device (dprinter) */ 80 80 if (frame == (KA2PA(MSIM_VIDEORAM) >> ZERO_PAGE_WIDTH)) … … 86 86 #endif 87 87 88 #if MACHINE ==simics88 #ifdef simics 89 89 /* Simics device (serial line) */ 90 90 if (frame == (KA2PA(SERIAL_ADDRESS) >> ZERO_PAGE_WIDTH)) … … 92 92 #endif 93 93 94 #if (MACHINE == lgxemul) || (MACHINE ==bgxemul)94 #if defined(lgxemul) || defined(bgxemul) 95 95 /* gxemul devices */ 96 96 if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE, … … 219 219 if (ZERO_PAGE_VALUE != 0xdeadbeef) 220 220 avail = false; 221 #if (MACHINE == lgxemul) || (MACHINE ==bgxemul)221 #if defined(lgxemul) || defined(bgxemul) 222 222 else { 223 223 ZERO_PAGE_VALUE_KSEG1(frame) = 0xaabbccdd;
Note:
See TracChangeset
for help on using the changeset viewer.