Changeset e94f730 in mainline
- Timestamp:
- 2009-02-17T00:49:50Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 85156d3
- Parents:
- 06da55b
- Location:
- kernel/arch/mips32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/Makefile.inc
r06da55b re94f730 38 38 GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss 39 39 40 DEFS += -D__32_BITS__ -D $(MACHINE) -DKERNEL_LOAD_ADDRESS=$(KERNEL_LOAD_ADDRESS)40 DEFS += -D__32_BITS__ -DKERNEL_LOAD_ADDRESS=$(KERNEL_LOAD_ADDRESS) 41 41 42 42 ## Accepted MACHINEs -
kernel/arch/mips32/_link.ld.in
r06da55b re94f730 1 1 /* 2 * 3 * 2 * MIPS32 linker script 3 * 4 4 * kernel text 5 5 * kernel data 6 * 6 * 7 7 */ 8 8 9 #undef mips 9 10 #define mips mips 10 11 11 12 OUTPUT_ARCH(mips) 12 13 13 ENTRY(kernel_image_start) 14 14 … … 22 22 .data : { 23 23 kdata_start = .; 24 *(.data); 24 *(.data); /* initialized data */ 25 25 hardcoded_ktext_size = .; 26 LONG(ktext_end - ktext_start); 26 LONG(ktext_end - ktext_start); 27 27 hardcoded_kdata_size = .; 28 28 LONG(kdata_end - kdata_start); … … 34 34 *(.sbss); 35 35 *(.scommon); 36 *(.bss); 37 *(COMMON); 36 *(.bss); /* uninitialized static variables */ 37 *(COMMON); /* global variables */ 38 38 symbol_table = .; 39 *(symtab.*); 39 *(symtab.*); 40 40 } 41 41 _gp = . + 0x8000; 42 42 .lit8 : { *(.lit8) } 43 43 .lit4 : { *(.lit4) } 44 44 45 45 kdata_end = .; 46 46 47 47 /DISCARD/ : { 48 49 50 51 48 *(.mdebug*); 49 *(.pdr); 50 *(.comment); 51 *(.note); 52 52 } 53 53 } -
kernel/arch/mips32/src/mips32.c
r06da55b re94f730 138 138 #endif 139 139 140 #ifdef msim140 #ifdef MACHINE_msim 141 141 sysinfo_set_item_val("machine.msim", NULL, 1); 142 142 #endif 143 143 144 #ifdef simics144 #ifdef MACHINE_simics 145 145 sysinfo_set_item_val("machine.simics", NULL, 1); 146 146 #endif 147 147 148 #ifdef bgxemul148 #ifdef MACHINE_bgxemul 149 149 sysinfo_set_item_val("machine.bgxemul", NULL, 1); 150 150 #endif 151 151 152 #ifdef lgxemul152 #ifdef MACHINE_lgxemul 153 153 sysinfo_set_item_val("machine.lgxemul", NULL, 1); 154 154 #endif -
kernel/arch/mips32/src/mm/frame.c
r06da55b re94f730 78 78 static bool frame_available(pfn_t frame) 79 79 { 80 #ifdef msim80 #ifdef MACHINE_msim 81 81 /* MSIM device (dprinter) */ 82 82 if (frame == (KA2PA(MSIM_VIDEORAM) >> ZERO_PAGE_WIDTH)) … … 88 88 #endif 89 89 90 #ifdef simics90 #ifdef MACHINE_simics 91 91 /* Simics device (serial line) */ 92 92 if (frame == (KA2PA(SERIAL_ADDRESS) >> ZERO_PAGE_WIDTH)) … … 94 94 #endif 95 95 96 #if defined( lgxemul) || defined(bgxemul)96 #if defined(MACHINE_lgxemul) || defined(MACHINE_bgxemul) 97 97 /* gxemul devices */ 98 98 if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE,
Note:
See TracChangeset
for help on using the changeset viewer.