PERFORCE change 28621 for review

Peter Wemm peter at FreeBSD.org
Tue Apr 8 23:50:48 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=28621

Change 28621 by peter at peter_daintree on 2003/04/08 23:49:57

	Do not auto-load acpi for the hammer kernels.  It is(will be) mandatory
	that it is compiled into the kernel.

Affected files ...

.. //depot/projects/hammer/sys/boot/i386/libi386/i386_module.c#3 edit

Differences ...

==== //depot/projects/hammer/sys/boot/i386/libi386/i386_module.c#3 (text+ko) ====

@@ -50,6 +50,9 @@
     /* XXX use PnP to locate stuff here */
 
     /* autoload ACPI support */
+    if (file_findfile(NULL, "elf64 kernel") != NULL)
+	return (0);	/* ACPI is mandatory on hammer */
+
     /* XXX should be in 4th keyed off acpi_load */
     disabled = 0;
     rv = getenv("hint.acpi.0.disabled");


More information about the p4-projects mailing list