Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 846 → Rev 847

/kernel/trunk/arch/sparc64/include/boot/boot.h
29,8 → 29,7
#ifndef __sparc64_BOOT_H__
#define __sparc64_BOOT_H__
 
#define BOOT_OFFSET 0x4000
#define VMA 0x400000
#define LMA BOOT_OFFSET
#define LMA 0x4000
 
#endif
/kernel/trunk/arch/sparc64/src/start.S
35,6 → 35,12
 
.section K_TEXT_START, "ax"
 
/*
* Here is where the kernel is passed control.
* The code must be position independent until
* the kernel relocates itself to its VMA.
*/
 
.global kernel_image_start
kernel_image_start:
0:
41,10 → 47,10
b 1f
nop
 
#
# This header forces SILO to load the kernel at 0x4000.
# More precisely, SILO will think this is an old version of Linux.
#
/*
* This header forces SILO to load the kernel at 0x4000.
* More precisely, SILO will think this is an old version of Linux.
*/
.ascii "HdrS"
.word 0
.half 0
59,7 → 65,7
*/
 
set LMA, %g1 ! source address
set VMA, %g2 ! destination address (VMA)
set VMA, %g2 ! destination address
set hardcoded_ktext_size, %g3 ! link address of hardcoded_ktext_size
set hardcoded_kdata_size, %g4 ! link address of hardcoded_kdata_size