Jung-uk Kim
ce7707b487
Set the hint for physical address of RSDP in hexadecimal as before r223262.
2013-08-23 18:52:36 +00:00
Ben Laurie
5f301949ef
Fix clang warnings.
...
Approved by: philip (mentor)
2011-06-18 13:56:33 +00:00
John Baldwin
6c96352a06
Remove support for autoloading ACPI from the loader. Leave in the code to
...
detect ACPI and export info such as the location of the RSDP via hints as
that is still useful.
2010-11-08 21:50:45 +00:00
John Baldwin
e85b664cd2
Don't warn about an RSDP with a corrupt checksum. The kernel does a better
...
job about warning about these things later and this message can be
confusing.
Submitted by: infofarmer
MFC after: 1 week
2009-12-10 14:54:29 +00:00
Jung-uk Kim
129d3046ef
Import ACPICA 20090521.
2009-06-05 18:44:36 +00:00
Jung-uk Kim
2be4e4713a
Catch up with ACPI-CA 20070320 import.
2007-03-22 18:16:43 +00:00
John Baldwin
b5fd832d94
Use PTOV() to convert physical addresses to appropriate virtual addresses
...
in the loader when searching for the ACPI RSDP. (The loader runs in a flat
mode with va 0 == pa 0xa000.)
2006-04-25 18:42:22 +00:00
Nate Lawson
2626a56934
Extend a local buffer to prevent an overflow of the XSDT address.
...
Submitted by: Joerg Sonnenberger
Obtained from: DragonflyBSD
MFC after: 1 day
2005-04-16 17:38:24 +00:00
Nate Lawson
2c0d74e8e8
Use the correct location of the EBDA for searching for the RSDP.
...
The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E.
Pointed out by: robert.moore AT intel.com
2004-05-25 05:52:48 +00:00
John Polstra
15a3ddef19
Fix a potential stack buffer overflow on systems whose ACPI OEMID
...
fills its field (6 characters). In that case the OEMID is not
null-terminated, and the sprintf that was used would copy up to the
next null byte, which could be pretty far away.
2004-05-14 01:29:21 +00:00
David E. O'Brien
d9b97e8dff
Use __FBSDID().
...
Also some minor copyright style cleanups.
2003-08-25 23:28:32 +00:00
Nate Lawson
c53bcc89ca
Null terminate the OEM hint. This rids my laptop of the smiley face that
...
would follow the 6 valid chars of the table entry.
2003-08-07 14:53:14 +00:00
Nate Lawson
cefe7f9185
Add include file so this builds with new acpica
...
Reported by: Kevin Oberman <oberman@es.net>
2003-07-13 22:54:53 +00:00
Nate Lawson
51773ddf47
Support functions for the new ACPI import.
...
* AcpiOsDerivePciId(): finds a bus number, given the slot/func and the
acpi parse tree.
* AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to
override the value for _OS.
Ideas from: takawata, jhb
Reviewed by: takawata, marcel
Tested on: i386, ia64
2003-04-29 18:50:34 +00:00
Mitsuru IWASAKI
98479b041b
Resolve conflicts arising from the ACPI CA 20020611 import.
2002-07-09 17:54:02 +00:00
Mitsuru IWASAKI
fc57439987
Fix a build problem for the ACPI CA 20020404 import.
...
Add definition of COMPILER_DEPENDENT_INT64 and also
fix definition of COMPILER_DEPENDENT_UINT64.
Pointed-out by: Michael Nottebrock <michaelnottebrock@gmx.net>
2002-06-30 23:22:22 +00:00
Mike Smith
ad41f9a8f7
Teach the loader how to find the system ACPI information, and autoload
...
the ACPI module if the system apperars to be ACPI compliant.
This is an initial cut; the load should really be done by Forth support
code, and we should check both the BIOS build date and a blacklist.
2001-08-30 00:42:12 +00:00