Alan Cox
a597332c22
Hold the page queues lock around calls to pmap_remove().
...
Approved by: re
2002-12-04 18:40:39 +00:00
Mitsuru IWASAKI
87b45ed576
Add `if (!cold)' checkings for functions which is called via SYSINIT.
...
Loading acpi.ko with kldload is disallowed, however some
functions were executed unexpectedly.
Approved by: re
2002-11-24 02:27:07 +00:00
John Baldwin
90fa95e81d
- curproc may be NULL in 4-stable. In that case use the vmspace from
...
proc0.
- Remove unused include.
Sponsored by: The Weather Channel
2002-10-16 17:22:03 +00:00
Mark Murray
c7c7312f2c
Wrap GCC-specific asm() code in #ifdef __GNUC__
2002-09-21 18:19:51 +00:00
Archie Cobbs
4a6a94d8d8
Replace (ab)uses of "NULL" where "0" is really meant.
2002-08-22 21:24:01 +00:00
Mitsuru IWASAKI
be14b8e7ea
Improve stack manipulation code of ACPI wakeup routine.
...
The new code just override stack top value with saved return address
rather than pop/push operation.
Submitted by: jhb
2002-08-07 12:48:28 +00:00
Mitsuru IWASAKI
6a7ef08763
Fix a bug about stack manipulation at ACPI wakeup.
...
This should avoid kernel panic on kernel compiled w/o
NO_CPU_COPTFLAGS.
Suggested by: optimized code by -mcpu=pentiumpro
2002-08-01 09:48:01 +00:00
Peter Wemm
b2604e1cf1
Make this compile with gcc-3.1, which objects to the multi-line string.
2002-05-19 06:42:29 +00:00
Wes Peters
9539704639
Fix typo in function name.
...
Reviewed by: peter@
Obtained from: mux@sneakerz.org
2002-01-10 03:26:46 +00:00
Takanori Watanabe
89b8315762
Fix S3 breakage.
...
Now AcpiEnterSleep() is light enough, so flushing cache
before the function is not too early.
2002-01-09 16:00:31 +00:00
Mike Smith
3273b00523
Staticise devclasses and some unnecessarily global variables.
2002-01-08 06:46:01 +00:00
Mitsuru IWASAKI
430f5c92b6
Yet another verbose printing cleanup. Remove debug_wakeup flag and
...
check common verbose flag instead.
2001-11-18 18:48:31 +00:00
Mitsuru IWASAKI
9c4223b4b6
Add two minor changes.
...
- clean up wakeup routing fixup code by using macros.
- allocate pte object temporary for kernel thread to avoid kernel
panic by events from sleep button or lid switch.
2001-11-11 15:51:30 +00:00
Mitsuru IWASAKI
1611ea8727
Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support.
...
- Add S4BIOS sleep implementation. This will works well if MIB
hw.acpi.s4bios is set (and of course BIOS supports it and hibernation
is enabled correctly).
- Add DSDT overriding support which is submitted by takawata originally.
If loader tunable acpi_dsdt_load="YES" and DSDT file is set to
acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml),
ACPI CA core loads DSDT from given file rather than BIOS memory block.
DSDT file can be generated by iasl in ports/devel/acpicatools/.
- Add new files so that we can add our proposed additional code to Intel
ACPI CA into these files temporary. They will be removed when
similar code is added into ACPI CA officially.
2001-11-06 15:00:30 +00:00
Mitsuru IWASAKI
56d8cb57b9
Don't do sleep state transition if specified sleep state is not
...
supported by the system.
2001-07-22 19:13:54 +00:00
Mike Smith
bfae45aa43
Convert from acpi_strerror() to AcpiFormatException()
...
Fix dangling include of the dear departed acpi_ecreg.h
2001-07-21 10:24:37 +00:00
Takanori Watanabe
6161544ca7
Add ACPI S2-S4BIOS Suspend/Resume code.
...
Some problems may remain.
Reviewed by:iwasaki
2001-07-20 06:07:34 +00:00