History log of /freebsd-current/sys/dev/acpica/Osd/OsdTable.c
Revision Date Author Comments
# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# b3f35be0 20-May-2013 Jung-uk Kim <jkim@FreeBSD.org>

- Prefer ACPI_COMPARE_NAME(a, b) macro over strncmp(a, b, ACPI_NAME_SIZE).
- Make sure the predefined name is a string type.
- Return slightly more useful errors.


# ec23b5bf 20-May-2013 Jung-uk Kim <jkim@FreeBSD.org>

Fix white spaces.


# efdb11cd 13-Feb-2011 Marcel Moolenaar <marcel@FreeBSD.org>

Use the preload_fetch_addr() and preload_fetch_size() convenience
functions to obtain the address and size of the overriding DSDT.

Sponsored by: Juniper Networks.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 129d3046 05-Jun-2009 Jung-uk Kim <jkim@FreeBSD.org>

Import ACPICA 20090521.


# 2e668465 04-Jun-2009 Jung-uk Kim <jkim@FreeBSD.org>

Prefer predefined DSDT signature from header file.


# 451d1f8d 04-Jun-2009 Jung-uk Kim <jkim@FreeBSD.org>

Fix ACPI table override. Since ACPI CA 20090123, any ACPI table can be
overriden, not just DSDT. However, we do not support this feature yet.


# aaac7452 02-Jun-2009 Jung-uk Kim <jkim@FreeBSD.org>

Chase ACPICA API changes (for kernel and boot loader).


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 2be4e471 22-Mar-2007 Jung-uk Kim <jkim@FreeBSD.org>

Catch up with ACPI-CA 20070320 import.


# e8d472a7 01-Nov-2005 Jung-uk Kim <jkim@FreeBSD.org>

Catch up with ACPI-CA 20051021 import


# 2a191126 11-Sep-2005 David E. O'Brien <obrien@FreeBSD.org>

Canonize the include of acpi.h.


# a3ab9d1e 22-Jul-2005 Nate Lawson <njl@FreeBSD.org>

Standardize __FBSDID identifiers.

MFC after: 2 days


# 67e87637 05-Oct-2004 Nate Lawson <njl@FreeBSD.org>

When the user overrides the DSDT, replace any SSDTs with a simple no-op
table. acpidump(8) concatenates the body of the DSDT and SSDTs so an
edited ASL will contain all the necessary information. We can't use a
completely empty table since ACPI-CA reports this as a problem.

MFC after: 3 days


# 43813837 20-Apr-2004 Nate Lawson <njl@FreeBSD.org>

Style fixes.


# d3e1c241 13-Feb-2004 Nate Lawson <njl@FreeBSD.org>

Fix hw.acpi.os_name by renaming it to hw.acpi.osname. The "_name" suffix
is reserved by the loader, and thus any tunable name with that suffix will
be silently discarded.

Document this in the header and man page so that other developers do not
develop so many bumps on the head after banging it against the wall.

Detective work by: Mark Santcroos, grehan


# e0ccb58a 26-Jan-2004 Nate Lawson <njl@FreeBSD.org>

Add TUNABLE_STR to make "hw.acpi.os_name" more correct. However, the call
to getenv_string() still doesn't work.


# 25611cfe 09-Jan-2004 Nate Lawson <njl@FreeBSD.org>

Expand the check for overriding the OS name to override _OS* (including
_OS_, _OS, and _OSI). This should fix this option for people who reported
it not changing anything.


# 51773ddf 29-Apr-2003 Nate Lawson <njl@FreeBSD.org>

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


# b69ed3f4 30-Jul-2002 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Resolve conflicts arising from the ACPI CA 20020725 import.


# 98479b04 09-Jul-2002 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Resolve conflicts arising from the ACPI CA 20020611 import.