Look for another couple of magic bios things..

This commit is contained in:
Poul-Henning Kamp 1997-09-24 07:47:43 +00:00
parent 0054419366
commit 76cf257b66
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29789
2 changed files with 16 additions and 4 deletions

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: bios.c,v 1.4 1997/08/06 11:08:01 peter Exp $
* $Id: bios.c,v 1.5 1997/09/01 01:12:50 bde Exp $
*/
/*
@ -126,6 +126,7 @@ bios32_init(void *junk)
}
}
/* look for the DMI signature */
if ((sigaddr = bios_sigsearch(0, "_DMI_", 5, 16, 0)) != 0) {
@ -149,7 +150,12 @@ bios32_init(void *junk)
printf("Bad DMI table checksum!\n");
}
}
if (bootverbose) {
/* look for other know signatures */
printf("Other BIOS signatures found:\n");
printf("ACPI: %08x\n", bios_sigsearch(0, "FACP", 4, 1, 0));
printf("$PnP: %08x\n", bios_sigsearch(0, "$PnP", 4, 16, 0));
}
}
/*

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: bios.c,v 1.4 1997/08/06 11:08:01 peter Exp $
* $Id: bios.c,v 1.5 1997/09/01 01:12:50 bde Exp $
*/
/*
@ -126,6 +126,7 @@ bios32_init(void *junk)
}
}
/* look for the DMI signature */
if ((sigaddr = bios_sigsearch(0, "_DMI_", 5, 16, 0)) != 0) {
@ -149,7 +150,12 @@ bios32_init(void *junk)
printf("Bad DMI table checksum!\n");
}
}
if (bootverbose) {
/* look for other know signatures */
printf("Other BIOS signatures found:\n");
printf("ACPI: %08x\n", bios_sigsearch(0, "FACP", 4, 1, 0));
printf("$PnP: %08x\n", bios_sigsearch(0, "$PnP", 4, 16, 0));
}
}
/*