replace nob with ms' build, move disk creation to build.bat, major comment cleanup, remove old and stupid tests, overhaul interrupt management with per-CPU vector allocation, affinity migration and safe teardown, add proper IOAPIC routing and PCI MSI/MSI-X/INTx support, migrate drivers to the new interrupt API, integrate ACPICA with a proper OS services layer, move ACPI firmware events, power button handling and S5 shutdown into acpi.sys, add parallel driver startup and atomic publication, replace PnP arrays with dynamic lists, redesign service startup again to be asynchronous, add delayed startup mode for services, allow omitting keys in services.ini, fix acpi ec deferred work handling, fix kernel threads having garbage exit code.
This commit is contained in:
1 parent
d36f19509c
commit
36eef8f58d
696 files changed
+147281
-7530
No files matched your search
@@ -34,7 +34,6 @@ int _fltused = 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Implements the ascii Str To Unicode Str S operation.
|
||||
static int AsciiStrToUnicodeStrS(const char* Source, CHAR16* Dest, size_t DestMax) {
|
||||
if (!Source || !Dest || !DestMax) return -1;
|
||||
|
||||
@@ -46,7 +45,6 @@ static int AsciiStrToUnicodeStrS(const char* Source, CHAR16* Dest, size_t DestMa
|
||||
return -1; // Buffer too small
|
||||
}
|
||||
|
||||
// Implements the ascii Str Cpy S operation.
|
||||
static int AsciiStrCpyS(char* Dest, size_t DestMax, const char* Source) {
|
||||
if (!Dest || !Source || !DestMax) return -1;
|
||||
|
||||
@@ -79,7 +77,6 @@ static UINT64* AllocPage(EFI_PHYSICAL_ADDRESS* physOut) {
|
||||
|
||||
static UINT64* gPml4;
|
||||
|
||||
// Implements the ensure Table operation.
|
||||
static UINT64* EnsureTable(UINT64* parent, UINTN index) {
|
||||
if (!parent)
|
||||
return NULL;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
!include $(BASEDIR)\makefile.def
|
||||
@@ -0,0 +1,11 @@
|
||||
TARGETNAME=bootx64
|
||||
TARGETPATH=obj
|
||||
TARGETTYPE=PROGRAM
|
||||
IMAGE_KIND=EFI
|
||||
TARGETEXT=efi
|
||||
FLAVOR=BOOT
|
||||
EXTRA_CFLAGS=/I"$(BASEDIR)\code\boot\uefi\include"
|
||||
TARGETLIBS="$(BASEDIR)\code\boot\uefi\efilib.lib" "$(BASEDIR)\bin\libc.lib"
|
||||
EXTRA_LFLAGS=/FORCE:MULTIPLE /ENTRY:UefiMain
|
||||
INCLUDES=$(BASEDIR)\code\boot\uefi\include
|
||||
SOURCES=@/code/boot/uefi/boot_pe.c @/code/boot/uefi/main.c @/code/common/boot_volume_selector.c
|
||||
Reference in new issue
Block a user