Changeset edd7aa6d in mainline
- Timestamp:
- 2009-02-17T21:55:57Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e45a3b9
- Parents:
- 81c8d54
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r81c8d54 redd7aa6d 47 47 @ "lgxemul" GXEmul little endian 48 48 ! [PLATFORM=mips32] MACHINE (choice) 49 50 % Machine type 51 @ "gxemul" GXEmul 52 ! [PLATFORM=arm32] MACHINE (choice) 49 53 50 54 % Machine type -
kernel/arch/arm32/Makefile.inc
r81c8d54 redd7aa6d 36 36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm 37 37 38 KERNEL_LOAD_ADDRESS = 0x8020000039 DMACHINE = MACHINE_GXEMUL_TESTARM40 41 38 ATSIGN = % 42 39 43 40 GCC_CFLAGS += -fno-zero-initialized-in-bss 44 41 45 DEFS += -D__32_BITS__ -DKERNEL_LOAD_ADDRESS=$(KERNEL_LOAD_ADDRESS) -D$(DMACHINE)42 DEFS += -D__32_BITS__ 46 43 47 44 ARCH_SOURCES = \ -
kernel/arch/arm32/_link.ld.in
r81c8d54 redd7aa6d 1 1 /* 2 * 3 * 2 * ARM linker script 3 * 4 4 * kernel text 5 5 * kernel data 6 * 6 * 7 7 */ 8 8 9 #define KERNEL_LOAD_ADDRESS 0x80200000 10 9 11 OUTPUT_ARCH(arm) 10 ENTRY(kernel_image_start) 11 12 ENTRY(kernel_image_start) 12 13 13 14 SECTIONS { … … 20 21 .data : { 21 22 kdata_start = .; 22 *(.data); 23 *(.data); /* initialized data */ 23 24 hardcoded_ktext_size = .; 24 LONG(ktext_end - ktext_start); 25 LONG(ktext_end - ktext_start); 25 26 hardcoded_kdata_size = .; 26 27 LONG(kdata_end - kdata_start); 27 28 hardcoded_load_address = .; 28 29 LONG(KERNEL_LOAD_ADDRESS); 29 *(.bss); 30 *(COMMON); 31 30 *(.bss); /* uninitialized static variables */ 31 *(COMMON); /* global variables */ 32 32 33 *(.rodata*); 33 34 *(.sdata); 34 35 *(.reginfo); 35 36 symbol_table = .; 36 *(symtab.*); 37 *(symtab.*); 37 38 } 38 39 .sbss : { … … 40 41 *(.scommon); 41 42 } 42 43 43 44 kdata_end = .; 44 45 45 46 /DISCARD/ : { 46 47 *(.mdebug*); … … 49 50 *(.note); 50 51 } 51 52 52 } -
kernel/arch/arm32/include/machine.h
r81c8d54 redd7aa6d 103 103 104 104 105 #ifdef MACHINE_ GXEMUL_TESTARM105 #ifdef MACHINE_gxemul 106 106 #define machine_console_init(devno) gxemul_console_init(devno) 107 107 #define machine_grab_console gxemul_grab_console
Note:
See TracChangeset
for help on using the changeset viewer.