Partial LinuxBIOS -> Coreboot rename.
* conf/i386-linuxbios.rmk: Renamed to ...
* conf/i386-coreboot.rmk: ... this.
* Makefile.in (RMKFILES): s/i386-linuxbios.rmk/i386-coreboot.rmk/g.
* configure.ac: Accept coreboot as input platform (but maintain
compatibility with linuxbios).
* include/grub/i386/linuxbios: Renamed to ...
* include/grub/i386/coreboot: ... this.
+2008-07-17 Robert Millan <rmh@aybabtu.com>
+
+ Partial LinuxBIOS -> Coreboot rename.
+
+ * conf/i386-linuxbios.rmk: Renamed to ...
+ * conf/i386-coreboot.rmk: ... this.
+ * Makefile.in (RMKFILES): s/i386-linuxbios.rmk/i386-coreboot.rmk/g.
+ * configure.ac: Accept "coreboot" as input platform (but maintain
+ compatibility with "linuxbios").
+ * include/grub/i386/linuxbios: Renamed to ...
+ * include/grub/i386/coreboot: ... this.
+
2008-07-17 Bean <bean123ch@gmail.com>
* conf/i386/efi.rmk (pkglib_MODULES): add pci.mod and lspci.mod.
commands/videotest.c
conf/common.mk
conf/common.rmk
+conf/i386-coreboot.mk
+conf/i386-coreboot.rmk
conf/i386-efi.mk
conf/i386-efi.rmk
-conf/i386-linuxbios.mk
-conf/i386-linuxbios.rmk
conf/i386-pc.mk
conf/i386-pc.rmk
config.guess
include/grub/gzio.h
include/grub/hexdump.h
include/grub/hfs.h
+include/grub/i386/coreboot/boot.h
+include/grub/i386/coreboot/console.h
+include/grub/i386/coreboot/init.h
+include/grub/i386/coreboot/kernel.h
+include/grub/i386/coreboot/loader.h
+include/grub/i386/coreboot/memory.h
+include/grub/i386/coreboot/serial.h
+include/grub/i386/coreboot/time.h
include/grub/i386/efi/kernel.h
include/grub/i386/efi/loader.h
include/grub/i386/efi/time.h
include/grub/i386/ieee1275/memory.h
include/grub/i386/ieee1275/serial.h
include/grub/i386/io.h
-include/grub/i386/linuxbios/boot.h
-include/grub/i386/linuxbios/console.h
-include/grub/i386/linuxbios/init.h
-include/grub/i386/linuxbios/kernel.h
-include/grub/i386/linuxbios/loader.h
-include/grub/i386/linuxbios/memory.h
-include/grub/i386/linuxbios/serial.h
-include/grub/i386/linuxbios/time.h
include/grub/i386/linux.h
include/grub/i386/loader.h
include/grub/i386/pc/biosdisk.h
### General variables.
RMKFILES = $(addprefix conf/,common.rmk i386-pc.rmk powerpc-ieee1275.rmk \
- sparc64-ieee1275.rmk i386-efi.rmk i386-ieee1275.rmk i386-linuxbios.rmk)
+ sparc64-ieee1275.rmk i386-efi.rmk i386-ieee1275.rmk i386-coreboot.rmk)
MKFILES = $(patsubst %.rmk,%.mk,$(RMKFILES))
PKGLIB = $(pkglib_IMAGES) $(pkglib_MODULES) $(pkglib_PROGRAMS) \
platform="$with_platform"
fi
+case "$platform" in
+ linuxbios) platform=coreboot ;;
+esac
+
if test "x$platform" = "xefi" ; then
case "$target_cpu" in
i386) ;;
i386-efi) ;;
x86_64-efi) ;;
i386-pc) ;;
- i386-linuxbios) ;;
+ i386-coreboot) ;;
i386-ieee1275) ;;
powerpc-ieee1275) ;;
sparc64-ieee1275) ;;
platform="$with_platform"
fi
+case "$platform" in
+ linuxbios) platform=coreboot ;;
+esac
+
if test "x$platform" = "xefi" ; then
case "$target_cpu" in
i386) ;;
i386-efi) ;;
x86_64-efi) ;;
i386-pc) ;;
- i386-linuxbios) ;;
+ i386-coreboot) ;;
i386-ieee1275) ;;
powerpc-ieee1275) ;;
sparc64-ieee1275) ;;
+++ /dev/null
-#include <grub/i386/pc/boot.h>
+++ /dev/null
-/*
- * GRUB -- GRand Unified Bootloader
- * Copyright (C) 2008 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * GRUB is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef _GRUB_CONSOLE_MACHINE_LB_HEADER
-#define _GRUB_CONSOLE_MACHINE_LB_HEADER 1
-#include <grub/i386/pc/console.h>
-
-void grub_keyboard_controller_init (void);
-
-#endif /* ! _GRUB_CONSOLE_MACHINE_LB_HEADER */
+++ /dev/null
-/*
- * GRUB -- GRand Unified Bootloader
- * Copyright (C) 2007 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * GRUB is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef GRUB_INIT_I386_LINUXBIOS_HEADER
-#define GRUB_INIT_I386_LINUXBIOS_HEADER 1
-
-#include <grub/symbol.h>
-#include <grub/i386/pc/memory.h>
-
-void EXPORT_FUNC(grub_stop) (void) __attribute__ ((noreturn));
-void EXPORT_FUNC(grub_stop_floppy) (void);
-
-#endif
+++ /dev/null
-/*
- * GRUB -- GRand Unified Bootloader
- * Copyright (C) 2005,2006,2007,2008 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * GRUB is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef GRUB_KERNEL_MACHINE_HEADER
-#define GRUB_KERNEL_MACHINE_HEADER 1
-
-#include <grub/symbol.h>
-
-#define GRUB_MOD_ALIGN 0x1000
-
-/* Non-zero value is only needed for some IEEE-1275 platforms. */
-#define GRUB_MOD_GAP 0
-
-#endif /* ! GRUB_KERNEL_MACHINE_HEADER */
+++ /dev/null
-#include <grub/cpu/loader.h>
+++ /dev/null
-/*
- * GRUB -- GRand Unified Bootloader
- * Copyright (C) 2007 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * GRUB is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef GRUB_MACHINE_MACHINE_HEADER
-#define GRUB_MACHINE_MACHINE_HEADER 1
-
-#define GRUB_MACHINE_LINUXBIOS 1
-
-#endif /* ! GRUB_MACHINE_MACHINE_HEADER */
+++ /dev/null
-/* memory.h - describe the memory map */
-/*
- * GRUB -- GRand Unified Bootloader
- * Copyright (C) 2002,2007 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * GRUB is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef _GRUB_MEMORY_MACHINE_LB_HEADER
-#define _GRUB_MEMORY_MACHINE_LB_HEADER 1
-
-#include <grub/symbol.h>
-#include <grub/i386/pc/memory.h>
-
-#ifndef ASM_FILE
-#include <grub/types.h>
-#include <grub/err.h>
-#endif
-
-#define GRUB_MEMORY_MACHINE_LOWER_USABLE 0x9fc00 /* 640 kiB - 1 kiB */
-#define GRUB_MEMORY_MACHINE_LOWER_SIZE 0xf0000 /* 960 kiB */
-
-#define GRUB_MEMORY_MACHINE_UPPER_START 0x100000 /* 1 MiB */
-
-#ifndef ASM_FILE
-
-struct grub_linuxbios_table_header
-{
- char signature[4];
- grub_uint32_t size;
-};
-typedef struct grub_linuxbios_table_header *grub_linuxbios_table_header_t;
-
-struct grub_linuxbios_table_item
-{
-#define GRUB_LINUXBIOS_MEMBER_UNUSED 0
-#define GRUB_LINUXBIOS_MEMBER_MEMORY 1
- grub_uint32_t tag;
- grub_uint32_t size;
-};
-typedef struct grub_linuxbios_table_item *grub_linuxbios_table_item_t;
-
-struct grub_linuxbios_mem_region
-{
- grub_uint64_t addr;
- grub_uint64_t size;
-#define GRUB_LINUXBIOS_MEMORY_AVAILABLE 1
- grub_uint32_t type;
-};
-typedef struct grub_linuxbios_mem_region *mem_region_t;
-
-grub_err_t EXPORT_FUNC(grub_available_iterate)
- (int (*hook) (mem_region_t));
-
-#endif
-
-#endif /* ! _GRUB_MEMORY_MACHINE_HEADER */
+++ /dev/null
-#include <grub/i386/pc/serial.h>
+++ /dev/null
-#include <grub/i386/pc/time.h>