1 |
/* crt0.S - Startup code for the PowerPC. */ |
/* crt0.S - Startup code for the PowerPC. */ |
2 |
/* |
/* |
3 |
* GRUB -- GRand Unified Bootloader |
* GRUB -- GRand Unified Bootloader |
4 |
* Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
* Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
5 |
* |
* |
6 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
7 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
18 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 |
*/ |
*/ |
20 |
|
|
|
.section ".note" |
|
|
.align 2 |
|
|
.note_section_header: |
|
|
.long 8 |
|
|
.long 24 |
|
|
.long 0x1275 |
|
|
.string "PowerPC" |
|
|
.note_descriptor: |
|
|
.long 0x0 /* real-mode */ |
|
|
.long 0xffffffff /* real-base */ |
|
|
.long 0xffffffff /* real-size */ |
|
|
.long 0xffffffff /* virt-base */ |
|
|
.long 0xffffffff /* virt-size */ |
|
|
.long 0x00030000 /* load-base */ |
|
|
|
|
21 |
.extern __bss_start |
.extern __bss_start |
22 |
.extern _end |
.extern _end |
23 |
|
|