Changeset 991779c5 in mainline
- Timestamp:
- 2006-07-04T14:59:10Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7f1c620
- Parents:
- a6dd361
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/Makefile.inc
ra6dd361 r991779c5 32 32 BFD_NAME = elf64-sparc 33 33 BFD_ARCH = sparc 34 BFD = elf64-sparc34 BFD = binary 35 35 TARGET = sparc64-linux-gnu 36 36 TOOLCHAIN_DIR = /usr/local/sparc64/bin -
arch/sparc64/include/boot/boot.h
ra6dd361 r991779c5 27 27 */ 28 28 29 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ … … 37 37 38 38 #define VMA 0x400000 39 #define LMA 0x400039 #define LMA VMA 40 40 41 41 #endif 42 42 43 43 /** @} 44 44 */ 45 -
arch/sparc64/src/start.S
ra6dd361 r991779c5 44 44 .global kernel_image_start 45 45 kernel_image_start: 46 0:47 b 1f48 nop49 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 */54 .ascii "HdrS"55 .word 056 .half 057 58 .align 859 60 1:61 46 flushw ! flush all but the active register window 62 47 63 /*64 * Prepare to copy the kernel image to 4M.65 */66 67 set LMA, %g1 ! source address68 set VMA, %g2 ! destination address69 set hardcoded_ktext_size, %g3 ! link address of hardcoded_ktext_size70 set hardcoded_kdata_size, %g4 ! link address of hardcoded_kdata_size71 72 sub %g3, %g2, %g3 ! offset of hardcoded_ktext_size from the beginning of the load address73 sub %g4, %g2, %g4 ! offset of hardcoded_kdata_size from the beginning of the load address74 75 ldx [%g3 + %g1], %g3 ! hardcoded_ktext_size -> %g376 ldx [%g4 + %g1], %g4 ! hardcoded_kdata_size -> %g477 78 add %g3, %g4, %g3 ! size of kernel text and data79 80 /*81 * Start copying the kernel from higher addresses towards lower addresses.82 */83 84 2: dec %g385 ldub [%g1 + %g3], %g486 stb %g4, [%g2 + %g3]87 cmp %g3, 088 bnz 2b89 nop90 91 set relocated, %g192 jmp %g193 nop94 95 relocated:96 48 set ofw, %l0 97 49 -
genarch/src/ofw/ofw.c
ra6dd361 r991779c5 27 27 */ 28 28 29 29 /** @addtogroup genarch 30 30 * @{ 31 31 */ … … 129 129 } 130 130 131 131 /** @} 132 132 */ 133
Note:
See TracChangeset
for help on using the changeset viewer.