jmcneill
21d93c9335
Adapt for ACPICA API changes.
2009-08-19 00:31:16 +00:00
christos
2ba6b9d22f
the new acpi code seems to return NULL for the hardwareId string.
2009-08-19 00:19:37 +00:00
jmcneill
27b7d75a0a
iasl(1): The ACPICA ASL (ACPI Source Language) compiler/decompiler
...
is now included with i386 and amd64 installations.
[jmcneill 20090818]
2009-08-18 23:46:05 +00:00
jmcneill
d8b69fb901
Hook ACPICA iasl into build for i386 and amd64.
2009-08-18 23:43:31 +00:00
jmcneill
32932b3300
Add reachover Makefile for ACPICA iasl utility.
2009-08-18 23:42:39 +00:00
cegger
326b502d87
Update for API changes with new ACPICA.
...
Makes i386 ALL kernel build.
2009-08-18 21:38:41 +00:00
cegger
da8e01ab65
with new ACPICA, idstr may be NULL.
...
Check against NULL, this fixes a crash on my HP Pavilion dv9700 Laptop.
While here simplify the loop via __arraycount()
2009-08-18 21:33:29 +00:00
wiz
bda39b5016
Bump date for previous.
2009-08-18 21:31:51 +00:00
wiz
95ebd4eac2
Fix a typo.
2009-08-18 21:30:31 +00:00
matt
15f2698233
Fix a errant sw (should be lw) that ovewrites the saved [trap]frame
...
pointer with a possibly bogus value.
2009-08-18 21:28:07 +00:00
jmcneill
0e78b36c1b
ACPICA 20090730 was released and has been imported.
2009-08-18 20:47:18 +00:00
jmcneill
a3abcdbc25
Adapt for NACPI -> NACPICA change.
2009-08-18 20:46:10 +00:00
macallan
8ec24faa06
device_t-ify
2009-08-18 20:45:42 +00:00
skrll
31580a8965
First cut at reachover and mknative output.
2009-08-18 20:21:58 +00:00
dyoung
e02c33d4c0
Fix the gscpcib(4) detachment routine: add a call to pcibdetach().
...
Write child-detachment and rescan routines to let us detach and
re-attach gpio0 and isa0 at gscpcib0:
# drvctl -d isa0
# drvctl -d gpio0
# drvctl -r -a isabus gscpcib0
# drvctl -r -a gpiobus gscpcib0
2009-08-18 19:51:45 +00:00
thorpej
b4e5923fa5
Move uvm_object-related DDB hooks into uvm_object.c. Put all of the
...
uvm_map-related DDB stuff in one spot in the file.
2009-08-18 19:16:09 +00:00
thorpej
0d30b9a815
Back-out accidental check-in.
2009-08-18 19:09:18 +00:00
thorpej
21d14bd56b
Move uvm_page-related DDB hooks into uvm_page.c.
2009-08-18 19:08:39 +00:00
jmcneill
932fb37c13
Use ACPI_DEBUG_PRINT instead of ACPI_INFO for AcpiNsExecModuleCodeList
...
debug message.
2009-08-18 18:34:39 +00:00
jmcneill
f9cf269b36
Print table header information with ACPI_DEBUG_PRINT instead of ACPI_INFO.
2009-08-18 18:28:36 +00:00
thorpej
97a2657a66
Add a real API for testing if a page is a managed page, and adjust callers
...
to stop relying on vm_physseg_find() for this purpose.
2009-08-18 18:06:53 +00:00
dsl
f155f3b8b9
The code that attempted to sort large files by sorting each chunk by the
...
first key byte and writing to a temp file, then sorting the records from
each temp file that had the same first key byte (and repeating for upto
4 key bytes) was a nice idea, but completely doomed to failure.
Eg PR/9308 where a 70MB file has all but one record the same and short keys.
Not only does the code not work, it is rather guaranteed to be slow.
Instead always use a merge sort for fully sorted chunk of records (each
temporary file contains one lot of sorted records).
The -H option already did this, so just rip out all the code and variables
that can't be used when -H was specified.
Further cleanup to come ...
2009-08-18 18:00:28 +00:00
thorpej
2864afa106
Delete some vanity configs, esp. now that the machines no longer exist.
2009-08-18 17:52:30 +00:00
dyoung
5a395386a7
Let us detach ichlpcib(4) and its children.
...
XXX More testing is needed. I've tested this on a Dell Dimension 3000,
XXX but that system does not attach every possible device that I try to
XXX detach with this code:
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x24d0 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
isa0 at ichlpcib0
2009-08-18 17:47:46 +00:00
drochner
05a121bdc4
use __builtin_va_start rather than __builtin_stdarg_start for gcc>=4.1,
...
I don't know why it was made that inconsistent at that time, but
the in-tree gcc-4.1 works with that, and gcc-4.4.1 removes builtin
support for old style varargs.
2009-08-18 17:40:39 +00:00
plunky
b486cef1fe
update the "Class of Device" information, now that the Assigned Numbers
...
documents are available at www.bluetooth.com
2009-08-18 17:40:31 +00:00
dyoung
78e9d89046
Make the 'tags' target work by borrowing stuff from sys/arch/i386/Makefile.
2009-08-18 17:21:51 +00:00
dyoung
1a1d6a2158
Remove code bracketed by #ifdef __FreeBSD__.
2009-08-18 17:20:20 +00:00
dyoung
9b779d6eb6
Allow detachment and re-attachment of an ISA bus at an PCI-ISA bus
...
bridge, isa0 at pcib0.
2009-08-18 17:15:10 +00:00
jmcneill
d24e908507
Build fixes for NetBSD.
2009-08-18 17:13:09 +00:00
jmcneill
6d58ca2204
Build fix for amd64.
2009-08-18 17:09:25 +00:00
dyoung
62dca01035
Add a bus-independent detachment routine. In the attachment routine,
...
save some device state to restore during detachment.
2009-08-18 17:06:35 +00:00
dyoung
47b66b70d9
These are stragglers from my last commit ("Let us safely detach
...
the ISA bus and devices attaching to the ISA bus"). Define
isa_detach_hook() in MD ISA implementations. Define isa_dmadestroy().
2009-08-18 17:02:00 +00:00
jmcneill
4f823b1d6b
Add intel-public license.
2009-08-18 16:53:29 +00:00
dyoung
40bc016e8a
Let us safely detach the ISA bus and devices attaching to the ISA
...
bus:
1 Add isadetach() for detaching the ISA bus, and add some helper
routines that release resources held for ISA DMA.
2 In isachilddetached(), forget references to child devices.
While I am here, change ISA_DMA_DRQ_ISFREE(...) == 0 to the simpler
expression, !ISA_DMA_DRQ_ISFREE(...).
2009-08-18 16:52:42 +00:00
jmcneill
b8d6b79b67
acpi(4): Updated ACPICA to 20090730. This release includes full
...
support for the ACPI 4.0 specification. [jmcneill 20090818]
2009-08-18 16:49:24 +00:00
jmcneill
a8fec90e57
acpica has been moved to src/sys/external/intel-public/acpica
2009-08-18 16:44:10 +00:00
jmcneill
b0fb7abfad
Switch to ACPICA 20090730, and update for API changes.
2009-08-18 16:41:02 +00:00
jmcneill
1448e5faf7
config glue for acpica
2009-08-18 16:38:51 +00:00
jmcneill
2e3763cf26
Build fixes for NetBSD.
2009-08-18 16:26:10 +00:00
jmcneill
70fe0f31af
initial import of acpica-20090730
2009-08-18 16:23:28 +00:00
skrll
3734e9d3e6
Make binutils stuff conditional on HAVE_BINUTILS being 216.
2009-08-18 15:11:25 +00:00
skrll
6d622a3f1b
Build binutils 2.19.1 if HAVE_BINUTILS is 219
2009-08-18 15:08:51 +00:00
skrll
530afcf96c
Add HAVE_BINUTILS and default to 2.16
2009-08-18 14:53:00 +00:00
drochner
eec7391fde
remove some "inline" from functions which are defined in a .c file
...
but used elsewhere -- gcc-4.4.1 doesn't like it and I doubt it
had any effect
2009-08-18 11:22:09 +00:00
drochner
c8bb344c69
put some strange text within an "#if 0"'d section into a comment
...
additionally to appease picky parsers
2009-08-18 11:15:43 +00:00
drochner
c3b5cc8150
comparision with a string literal by "==" can't work (found by gcc-4.4.1),
...
replace with strcmp()
2009-08-18 11:12:05 +00:00
drochner
652d1aa912
rename a macro which is used to typecast constant strings from "U"
...
to "UC" -- there is a draft paper (ISO/IEC DTR 19769) which defines
that U"xxxx" is a UTF-32 literal, and gcc-4.4.1 implements this
with -std=gnu99
2009-08-18 11:08:37 +00:00
skrll
2a6b7db32d
Import binutils 2.19.1 as requested by matt@
...
OK'ed by board@
2009-08-18 10:16:42 +00:00
he
8813af9cf2
No longer rely on <sys/exec.h> including <sys/exec_aout.h>.
...
Hi, matt@!
2009-08-18 09:22:47 +00:00