Changeset c1e43e4 in mainline
- Timestamp:
- 2006-02-17T18:16:25Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f15fe51
- Parents:
- 0e4dd7b
- Location:
- arch/sparc64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/include/boot/boot.h
r0e4dd7b rc1e43e4 30 30 #define __sparc64_BOOT_H__ 31 31 32 #define BOOT_OFFSET 0x400033 32 #define VMA 0x400000 34 #define LMA BOOT_OFFSET33 #define LMA 0x4000 35 34 36 35 #endif -
arch/sparc64/src/start.S
r0e4dd7b rc1e43e4 36 36 .section K_TEXT_START, "ax" 37 37 38 /* 39 * Here is where the kernel is passed control. 40 * The code must be position independent until 41 * the kernel relocates itself to its VMA. 42 */ 43 38 44 .global kernel_image_start 39 45 kernel_image_start: … … 42 48 nop 43 49 44 # 45 #This header forces SILO to load the kernel at 0x4000.46 #More precisely, SILO will think this is an old version of Linux.47 # 50 /* 51 * This header forces SILO to load the kernel at 0x4000. 52 * More precisely, SILO will think this is an old version of Linux. 53 */ 48 54 .ascii "HdrS" 49 55 .word 0 … … 60 66 61 67 set LMA, %g1 ! source address 62 set VMA, %g2 ! destination address (VMA)68 set VMA, %g2 ! destination address 63 69 set hardcoded_ktext_size, %g3 ! link address of hardcoded_ktext_size 64 70 set hardcoded_kdata_size, %g4 ! link address of hardcoded_kdata_size
Note:
See TracChangeset
for help on using the changeset viewer.