Changeset 39cb79a in mainline for arch/sparc64
- Timestamp:
- 2005-10-29T13:37:52Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2cd0485d
- Parents:
- b9b103d3
- Location:
- arch/sparc64
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/Makefile.inc
rb9b103d3 r39cb79a 20 20 arch_sources= \ 21 21 src/arch/dummy.s \ 22 src/arch/start.S 22 src/arch/start.S \ 23 src/arch/sparc64.c 24 -
arch/sparc64/_link.ld
rb9b103d3 r39cb79a 12 12 13 13 SECTIONS { 14 .image 0x 80000000: AT (0x80000000) {14 .image 0x4000: AT (0x4000) { 15 15 ktext_start = .; 16 16 *(K_TEXT_START) … … 31 31 LONG(kdata_end - kdata_start); 32 32 hardcoded_load_address = .; 33 LONG(0x 80000000);33 LONG(0x4000); 34 34 *(.bss); /* uninitialized static variables */ 35 35 *(COMMON); /* global variables */ -
arch/sparc64/src/dummy.s
rb9b103d3 r39cb79a 29 29 .text 30 30 31 .global arch_late_init32 .global arch_post_mm_init33 .global arch_pre_mm_init34 31 .global asm_delay_loop 35 32 .global before_thread_runs_arch 36 .global calibrate_delay_loop37 33 .global context_restore_arch 38 34 .global context_save_arch … … 60 56 .global dummy 61 57 62 arch_late_init:63 arch_post_mm_init:64 arch_pre_mm_init:65 58 asm_delay_loop: 66 59 before_thread_runs_arch: 67 calibrate_delay_loop:68 60 context_restore_arch: 69 61 context_save_arch: -
arch/sparc64/src/start.S
rb9b103d3 r39cb79a 32 32 kernel_image_start: 33 33 0: 34 b 0b34 b 1f 35 35 nop 36 37 # 38 # This header forces SILO to load the kernel at 0x4000. 39 # More precisely, SILO will think this is an old version of Linux. 40 # 41 .ascii "HdrS" 42 .word 0 43 .half 0 44 45 .align 8 46 47 1: 48 set ofw, %l0 49 stx %o4, [%l0] 50 51 call ofw_init 52 nop 53 54 2: 55 b 2b 56 nop 57
Note:
See TracChangeset
for help on using the changeset viewer.