Browse Source

acpi: eviscerate the old ACPI driver

It was a thing of beauty, but its beauty could not save it against the
onslaught of ACPI 5.0, now with vendor splash spages. Sorry.

We leave just enough of it there to provide a container for acpica.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Ronald G. Minnich 7 years ago
parent
commit
a6bee2ba48
2 changed files with 6 additions and 1085 deletions
  1. 5 1084
      sys/src/9/amd64/devacpi.c
  2. 1 1
      sys/src/9/amd64/physalloc.c

File diff suppressed because it is too large
+ 5 - 1084
sys/src/9/amd64/devacpi.c


+ 1 - 1
sys/src/9/amd64/physalloc.c

@@ -482,7 +482,7 @@ physinit(uintmem a, uint64_t size)
 
 	for(addr = a; addr < a+size; addr += len){
 		dom = 0;
-		len = acpimblocksize(addr, &dom);
+		len = 0; // acpimblocksize(addr, &dom);
 		/* len can be zero if there's no acpi information about addr */
 		if(len == 0 || addr + len > a + size)
 			len = a + size - addr;

Some files were not shown because too many files changed in this diff