Skip to contentSkip to conversation

: Implement proper sparc64 kern startup.

PATCH In review David Miller 1 participant 1 message Mar 5, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 3/10 : Implement proper sparc64 kern startup.

2009-03-03 David S. Miller <[email protected]>

* kern/sparc64/ieee1275/init.c: Delete, replace with...
* kern/sparc64/ieee1275/crt0.S: assembler implementation.
* include/grub/sparc64/ieee1275/kernel.h: Declare grub_prefix[].

---
 include/grub/sparc64/ieee1275/kernel.h |    6 +-
 kern/sparc64/ieee1275/crt0.S           |   54 +++++++
 kern/sparc64/ieee1275/init.c           |  237 --------------------------------
 3 files changed, 59 insertions(+), 238 deletions(-)
 create mode 100644 kern/sparc64/ieee1275/crt0.S
 delete mode 100644 kern/sparc64/ieee1275/init.c
include/grub/sparc64/ieee1275/kernel.h +5 -1
index 0b6bce2..1cb47e4 100644
@@ -1,6 +1,6 @@
 /*
  *  GRUB  --  GRand Unified Bootloader
- *  Copyright (C) 2005,2007  Free Software Foundation, Inc.
+ *  Copyright (C) 2005,2007,2009  Free Software Foundation, Inc.
  *
  *  GRUB is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -24,6 +24,10 @@
 void EXPORT_FUNC (grub_reboot) (void);
 void EXPORT_FUNC (grub_halt) (void);
 
+/* The prefix which points to the directory where GRUB modules and its
+   configuration file are located.  */
+extern char grub_prefix[];
+
 /* Where grub-mkimage places the core modules in memory.  */
 #define GRUB_IEEE1275_MODULE_BASE 0x00300000
 
kern/sparc64/ieee1275/crt0.S new file +54 -0

54 lines not on this page · raw message

kern/sparc64/ieee1275/init.c deleted +0 -237

237 lines not on this page · raw message

Signature · 1 line
1.6.2