Changeset 0d387d2 in mainline
- Timestamp:
- 2008-07-27T13:28:22Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c32a6f37
- Parents:
- 6c296a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mm/frame.c
r6c296a9 r0d387d2 44 44 #include <print.h> 45 45 46 #define ZERO_PAGE_MASK TLB_PAGE_MASK_ 1M47 #define ZERO_FRAMES 409648 #define ZERO_PAGE_WIDTH 20 /* 1M*/46 #define ZERO_PAGE_MASK TLB_PAGE_MASK_256K 47 #define ZERO_FRAMES 16384 48 #define ZERO_PAGE_WIDTH 18 /* 256K */ 49 49 #define ZERO_PAGE_SIZE (1 << ZERO_PAGE_WIDTH) 50 50 #define ZERO_PAGE_ASID ASID_INVALID … … 96 96 * 97 97 */ 98 static bool frame_safe(pfn_t frame) __attribute__((unused));99 98 static bool frame_safe(pfn_t frame) 100 99 { … … 242 241 count_t i; 243 242 for (i = 0; i < phys_regions_count; i++) { 244 printf("%# 10x %10u\n",243 printf("%#010x %10u\n", 245 244 PFN2ADDR(phys_regions[i].start), PFN2ADDR(phys_regions[i].count)); 246 245 }
Note:
See TracChangeset
for help on using the changeset viewer.