1/* 2 * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de> 3 * economic rights: Technische Universität Dresden (Germany) 4 * 5 * This file is part of TUD:OS and distributed under the terms of the 6 * GNU General Public License 2. 7 * Please see the COPYING-GPL-2 file for details. 8 */ 9.section .text.init, "ax" 10.type _start, @function 11.globl _start 12_start: 13 lis %r1, crt0_stack_high@ha /* load stack pointer */ 14 addi %r1, %r1, crt0_stack_high@l 15 b init 16 17.section ".bss", "aw" 18 19.global crt0_stack_low 20crt0_stack_low: 21 .space 4096 22.global crt0_stack_high 23crt0_stack_high: 24