Skip to content

Commit b688880

Browse files
authored
Full uACPI implementation (#54)
* Full uACPI implementation Most uACPI kernel APIs are stubbed out but they are not essential for what we need, which is basically evaluating AML methods to discover PCI root bridges and their resources * Fix build on IA32 * Don't fully initialize uACPI unless absolutely needed Main concern for doing that is that running AML might put the hardware into a non-PC compatible state with no reliable way to reverse that (as per comment on #54). For now `acpi_init` only sets up "early table access", as it previously did, to allow ACPI table enumeration, but if the need arises one can call `acpi_full_init` to be able to call into uACPI functions that require the namespace to be loaded and initialized. * Fix code style
1 parent 50dca43 commit b688880

File tree

5 files changed

+395
-49
lines changed

5 files changed

+395
-49
lines changed

GNUmakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ ifeq ($(ARCH),ia32)
9999
endif
100100
override CFLAGS += \
101101
-m32 \
102-
-march=i386 \
103-
-mno-80387
102+
-march=i686 \
103+
-mno-80387 \
104+
-mno-mmx
104105
override LDFLAGS += \
105106
-Wl,-m,elf_i386
106107
override NASMFLAGS += \

0 commit comments

Comments
 (0)