diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-03 15:34:28 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-03 15:34:28 +0200 |
| commit | 441c1460b29f5003a5478032f17a6c5f486dd1fd (patch) | |
| tree | c74f48a17b83b62dbd9badde686e09e1bdf49f1f /dev/ZBA | |
| parent | 7fdb28714eb98d58c55324db51cc7caf97c631bf (diff) | |
[ FIX ] Almost fixed the ring-3 switch code, which currently gives an UD
error.
[ REFACTOR ] Kernel is now a EXE, instead of being a DLL.
[ FIX ] Fixed some parts of the user scheduler and kernel, cleaned it
up also.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA')
| -rw-r--r-- | dev/ZBA/Sources/HEL/AMD64/BootMain.cxx | 2 | ||||
| -rw-r--r-- | dev/ZBA/amd64-efi.make | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx index bb929028..576ada08 100644 --- a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx +++ b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx @@ -257,7 +257,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, handoverHdrPtr->f_FirmwareCustomTables[0] = nullptr; handoverHdrPtr->f_FirmwareCustomTables[1] = nullptr; - BFileReader readerKernel(L"newoskrnl.dll", ImageHandle); + BFileReader readerKernel(L"newoskrnl.exe", ImageHandle); readerKernel.ReadAll(0); diff --git a/dev/ZBA/amd64-efi.make b/dev/ZBA/amd64-efi.make index b1517576..62147f7c 100644 --- a/dev/ZBA/amd64-efi.make +++ b/dev/ZBA/amd64-efi.make @@ -29,7 +29,7 @@ IMG=epm-master-1.img IMG_2=epm-slave.img IMG_3=epm-master-2.img -EMU_FLAGS=-net none -m 12G -M q35 \ +EMU_FLAGS=-net none -m 8G -M q35 -cpu qemu64 \ -bios $(BIOS) -device piix3-ide,id=ide \ -drive id=disk,file=$(IMG),format=raw,if=none \ -device ide-hd,drive=disk,bus=ide.0 -drive \ @@ -52,7 +52,7 @@ FLAG_GNU=-fshort-wchar -D__EFI_x86_64__ -mno-red-zone -D__NEWOSKRNL__ -D__NEWOSL -std=c++20 -D__HAVE_ZKA_APIS__ -D__ZKA_AMD64__ -D__ZKA__ BOOT_LOADER=newosldr.exe -KERNEL=newoskrnl.dll +KERNEL=newoskrnl.exe DDK=ddk.dll SCI=sci.dll CRT=ndkcrt.dll |
