mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 04:43:54 -06:00

This provides the bootstrap and low level helper functions for an alpha kernel. We use direct access to the DP264 serial port for test output, and hard machine halt to exit the emulation. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20190501184306.15208-1-richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
30 lines
396 B
Text
30 lines
396 B
Text
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
/* Linux kernel legacy start address. */
|
|
. = 0xfffffc0000310000;
|
|
_text = .;
|
|
.text : {
|
|
*(.text)
|
|
}
|
|
.rodata : {
|
|
*(.rodata)
|
|
}
|
|
_etext = .;
|
|
|
|
. = ALIGN(8192);
|
|
_data = .;
|
|
.got : {
|
|
*(.got)
|
|
}
|
|
.data : {
|
|
*(.sdata)
|
|
*(.data)
|
|
}
|
|
_edata = .;
|
|
.bss : {
|
|
*(.bss)
|
|
}
|
|
_end = .;
|
|
}
|