biosacpi.c (1d386b48a555f61cb7325543adbbb5c3f3407a66) biosacpi.c (e183039f0882009c455c3b59fe1ab58a4fd25a5e)
1/*-
2 * Copyright (c) 2001 Michael Smith <msmith@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 40 unchanged lines hidden (view full) ---

49
50void
51biosacpi_detect(void)
52{
53 ACPI_TABLE_RSDP *rsdp;
54 char buf[24];
55 int revision;
56
1/*-
2 * Copyright (c) 2001 Michael Smith <msmith@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 40 unchanged lines hidden (view full) ---

49
50void
51biosacpi_detect(void)
52{
53 ACPI_TABLE_RSDP *rsdp;
54 char buf[24];
55 int revision;
56
57 feature_enable(FEATURE_EARLY_ACPI);
58
57 /* locate and validate the RSDP */
58 if ((rsdp = biosacpi_find_rsdp()) == NULL)
59 return;
60
61 /*
62 * Report the RSDP to the kernel. While this can be found with
63 * a BIOS boot, the RSDP may be elsewhere when booted from UEFI.
64 */

--- 66 unchanged lines hidden ---
59 /* locate and validate the RSDP */
60 if ((rsdp = biosacpi_find_rsdp()) == NULL)
61 return;
62
63 /*
64 * Report the RSDP to the kernel. While this can be found with
65 * a BIOS boot, the RSDP may be elsewhere when booted from UEFI.
66 */

--- 66 unchanged lines hidden ---