[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[2521] 2009-08-24 Vladimir Serbinenko <address@hidden>
From: |
Vladimir Serbinenko |
Subject: |
[2521] 2009-08-24 Vladimir Serbinenko <address@hidden> |
Date: |
Mon, 24 Aug 2009 12:55:20 +0000 |
Revision: 2521
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2521
Author: phcoder
Date: 2009-08-24 12:55:19 +0000 (Mon, 24 Aug 2009)
Log Message:
-----------
2009-08-24 Vladimir Serbinenko <address@hidden>
Support --no-smp and --no-acpi for NetBSD.
* include/grub/i386/bsd.h (NETBSD_AB_NOSMP): New definition.
(NETBSD_AB_NOACPI): Likewise.
* loader/i386/bsd.c (netbsd_opts): New entries no-smp and no-acpi.
(netbsd_flags): Add NETBSD_AB_NOSMP, NETBSD_AB_NOACPI.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/include/grub/i386/bsd.h
trunk/grub2/loader/i386/bsd.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-08-23 23:40:29 UTC (rev 2520)
+++ trunk/grub2/ChangeLog 2009-08-24 12:55:19 UTC (rev 2521)
@@ -1,3 +1,12 @@
+2009-08-24 Vladimir Serbinenko <address@hidden>
+
+ Support --no-smp and --no-acpi for NetBSD.
+
+ * include/grub/i386/bsd.h (NETBSD_AB_NOSMP): New definition.
+ (NETBSD_AB_NOACPI): Likewise.
+ * loader/i386/bsd.c (netbsd_opts): New entries no-smp and no-acpi.
+ (netbsd_flags): Add NETBSD_AB_NOSMP, NETBSD_AB_NOACPI.
+
2009-08-23 Vladimir Serbinenko <address@hidden>
Fix grub-install.
Modified: trunk/grub2/include/grub/i386/bsd.h
===================================================================
--- trunk/grub2/include/grub/i386/bsd.h 2009-08-23 23:40:29 UTC (rev 2520)
+++ trunk/grub2/include/grub/i386/bsd.h 2009-08-24 12:55:19 UTC (rev 2521)
@@ -189,6 +189,8 @@
#define NETBSD_AB_VERBOSE (1 << 17) /* boot verbosely */
#define NETBSD_AB_SILENT (1 << 18) /* boot silently */
#define NETBSD_AB_DEBUG (1 << 19) /* boot with debug messages */
+#define NETBSD_AB_NOSMP (1 << 28) /* Boot without SMP support.
*/
+#define NETBSD_AB_NOACPI (1 << 29) /* Boot without ACPI support. */
struct grub_netbsd_bootinfo
{
Modified: trunk/grub2/loader/i386/bsd.c
===================================================================
--- trunk/grub2/loader/i386/bsd.c 2009-08-23 23:40:29 UTC (rev 2520)
+++ trunk/grub2/loader/i386/bsd.c 2009-08-24 12:55:19 UTC (rev 2521)
@@ -103,6 +103,8 @@
static const struct grub_arg_option netbsd_opts[] =
{
+ {"no-smp", '1', 0, "Disable SMP.", 0, 0},
+ {"no-acpi", '2', 0, "Disable ACPI.", 0, 0},
{"askname", 'a', 0, "Ask for file name to reboot from.", 0, 0},
{"halt", 'b', 0, "Don't reboot, just halt.", 0, 0},
{"config", 'c', 0, "Change configured devices.", 0, 0},
@@ -118,10 +120,10 @@
static const grub_uint32_t netbsd_flags[] =
{
- NETBSD_RB_ASKNAME, NETBSD_RB_HALT, NETBSD_RB_USERCONFIG,
- NETBSD_RB_KDB, NETBSD_RB_MINIROOT, NETBSD_AB_QUIET,
- NETBSD_RB_SINGLE, NETBSD_AB_VERBOSE, NETBSD_AB_DEBUG,
- NETBSD_AB_SILENT, 0
+ NETBSD_AB_NOSMP, NETBSD_AB_NOACPI, NETBSD_RB_ASKNAME,
+ NETBSD_RB_HALT, NETBSD_RB_USERCONFIG, NETBSD_RB_KDB,
+ NETBSD_RB_MINIROOT, NETBSD_AB_QUIET, NETBSD_RB_SINGLE,
+ NETBSD_AB_VERBOSE, NETBSD_AB_DEBUG, NETBSD_AB_SILENT, 0
};
static void
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [2521] 2009-08-24 Vladimir Serbinenko <address@hidden>,
Vladimir Serbinenko <=