| * Non-board-specific low-level startup code |
| * Copyright (C) 2004-2006 Atmel Corporation |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| #include <linux/linkage.h> |
| #include <asm/thread_info.h> |
| /* Initialize status register */ |
| /* Set initial stack pointer */ |
| #ifdef CONFIG_FRAME_POINTER |
| /* Mark last stack frame */ |
| lddpc pc, kernel_start_addr |
| .long 0x007f0000 /* Supervisor mode, everything masked */ |