freebsd-nq/sys/dev/acpica
Maxime Henrion d786139c76 Rework the kernel environment subsystem. We now convert the static
environment needed at boot time to a dynamic subsystem when VM is
up.  The dynamic kernel environment is protected by an sx lock.

This adds some new functions to manipulate the kernel environment :
freeenv(), setenv(), unsetenv() and testenv().  freeenv() has to be
called after every getenv() when you have finished using the string.
testenv() only tests if an environment variable is present, and
doesn't require a freeenv() call. setenv() and unsetenv() are self
explanatory.

The kenv(2) syscall exports these new functionalities to userland,
mainly for kenv(1).

Reviewed by:	peter
2002-04-17 13:06:36 +00:00
..
Osd Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
acpi_acad.c Add generalized power profile code. 2002-03-04 18:46:13 +00:00
acpi_battery.c Staticise devclasses and some unnecessarily global variables. 2002-01-08 06:46:01 +00:00
acpi_button.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:45 +00:00
acpi_cmbat.c Do not concatenate __func__ with strings, because it is not a string. 2002-03-12 00:15:06 +00:00
acpi_cpu.c Add generalized power profile code. 2002-03-04 18:46:13 +00:00
acpi_ec.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:31 +00:00
acpi_lid.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:45 +00:00
acpi_pcib_acpi.c Fix error introduced in the 20020217 update, where GetPossibleResources 2002-03-21 02:02:31 +00:00
acpi_pcib.c Fix error introduced in the 20020217 update, where GetPossibleResources 2002-03-21 02:02:31 +00:00
acpi_powerres.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:28:22 +00:00
acpi_resource.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:28:22 +00:00
acpi_thermal.c Add generalized power profile code. 2002-03-04 18:46:13 +00:00
acpi_timer.c Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
acpi.c Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
acpica_support.c Only i386 has wbinvd(). 2002-03-12 09:45:17 +00:00
acpica_support.h Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. 2001-11-06 15:00:30 +00:00
acpiio.h Add sysctl interface (Read-only) for temprature, AC-line and Battery. 2001-06-23 10:38:25 +00:00
acpivar.h Remove __P. 2002-03-20 02:08:01 +00:00