summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-06-13 06:32:06 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-06-13 06:32:06 +0000
commit36ff25861676cd1f5fb94b901fa59b015c614bc5 (patch)
tree92d68c0e4ba1eeb0d608a917bfdc587909260e13
parent4e75e05a20ddd0dbca982e8f3bc2ea8043ed3a3f (diff)
parenta0b3442fe9978093326dc29d0938f1116eadd147 (diff)
Merged in MHR-23 (pull request #15)
MHR-23
-rw-r--r--.gitignore2
-rw-r--r--.vscode/c_cpp_properties.json10
-rw-r--r--Boot/BootKit/BitManip.hxx2
-rw-r--r--Boot/BootKit/BootKit.hxx2
-rw-r--r--Boot/BootKit/Device.hxx2
-rw-r--r--Boot/BootKit/EPM.hxx2
-rw-r--r--Boot/BootKit/HW/ATA.hxx2
-rw-r--r--Boot/BootKit/HW/SATA.hxx2
-rw-r--r--Boot/BootKit/Platform.hxx2
-rw-r--r--Boot/BootKit/Protocol.hxx2
-rw-r--r--Boot/BootKit/Vendor/Qr.hxx4
-rw-r--r--Boot/BootKit/Vendor/Support.hxx2
-rw-r--r--Boot/NetBoot/Module.cxx4
-rw-r--r--Boot/NetBoot/NetBoot.hxx17
-rw-r--r--Boot/ReadMe.md2
-rw-r--r--Boot/Sources/BootloaderRsrc.rsrc6
-rw-r--r--Boot/Sources/HEL/AMD64/BootAHCI.cxx4
-rw-r--r--Boot/Sources/HEL/AMD64/BootATA.cxx4
-rw-r--r--Boot/Sources/HEL/AMD64/BootFileReader.cxx2
-rw-r--r--Boot/Sources/HEL/AMD64/BootMain.cxx44
-rw-r--r--Boot/Sources/HEL/AMD64/BootPlatform.cxx2
-rw-r--r--Boot/Sources/HEL/AMD64/BootString.cxx2
-rw-r--r--Boot/Sources/HEL/AMD64/BootTextWriter.cxx2
-rw-r--r--Boot/Sources/HEL/AMD64/New+Delete.cxx2
-rw-r--r--Boot/Sources/HEL/AMD64/Support.cxx2
-rw-r--r--Boot/Sources/HEL/POWER/CoreBootStartup.S2
-rw-r--r--Boot/Sources/HEL/RISCV/BootRISCV.S2
-rw-r--r--Boot/Sources/Root/SplashScreen.fmt6
-rw-r--r--Boot/makefile10
-rw-r--r--DDK/KernelCall.c2
-rw-r--r--DDK/KernelDev.c2
-rw-r--r--DDK/KernelDev.h2
-rw-r--r--DDK/KernelPrint.c2
-rw-r--r--DDK/KernelPrint.h2
-rw-r--r--DDK/KernelStd.h2
-rw-r--r--DDK/KernelStdCxx.cc2
-rw-r--r--DDK/KernelString.c2
-rw-r--r--DDK/KernelString.h2
-rw-r--r--Doxyfile2
-rw-r--r--Drv/Bonjour/Bonjour.c2
-rw-r--r--Drv/Bonjour/DriverRsrc.rsrc6
-rw-r--r--Drv/Bonjour/x86_64.mk2
-rw-r--r--Drv/SampleDriver/DriverRsrc.rsrc6
-rw-r--r--Drv/SampleDriver/SampleDriver.c2
-rw-r--r--Drv/SampleDriver/x86_64.mk2
-rw-r--r--Icons/bonjour-logo.ico (renamed from Kernel/Root/Boot/Icons/bonjour-logo.ico)bin108478 -> 108478 bytes
-rw-r--r--Icons/boot-logo.ico (renamed from Kernel/Root/Boot/Icons/boot-logo.ico)bin108478 -> 108478 bytes
-rw-r--r--Icons/driver-logo.ico (renamed from Kernel/Root/Boot/Icons/driver-logo.ico)bin108478 -> 108478 bytes
-rw-r--r--Icons/kernel-logo.ico (renamed from Kernel/Root/Boot/Icons/kernel-logo.ico)bin108478 -> 108478 bytes
-rw-r--r--Icons/settings-icon.ico (renamed from Kernel/Root/Boot/Icons/settings-icon.ico)bin108478 -> 108478 bytes
-rw-r--r--Icons/update-logo.ico (renamed from Kernel/Root/Boot/Icons/update-logo.ico)bin108478 -> 108478 bytes
-rw-r--r--Kernel/ArchKit/ArchKit.hpp2
-rw-r--r--Kernel/Builtins/ACPI/ACPI.hxx2
-rw-r--r--Kernel/Builtins/ACPI/ACPIFactoryInterface.hxx2
-rw-r--r--Kernel/Builtins/AHCI/AHCI.hxx2
-rw-r--r--Kernel/Builtins/ATA/ATA.hxx2
-rw-r--r--Kernel/Builtins/GX/GX (renamed from Kernel/Builtins/Toolbox/Toolbox.hxx)51
-rw-r--r--Kernel/Builtins/GX/Lerp (renamed from Kernel/Builtins/Toolbox/Lerp.hxx)10
-rw-r--r--Kernel/Builtins/GX/Rsrc/Cursor.rsrc (renamed from Kernel/Builtins/Toolbox/Rsrc/Cursor.rsrc)9
-rw-r--r--Kernel/Builtins/HPET/Defines.hxx2
-rw-r--r--Kernel/Builtins/MBCI/Interface.hxx2
-rw-r--r--Kernel/Builtins/MBCI/MBCI.hxx2
-rw-r--r--Kernel/Builtins/PS2/PS2MouseInterface.hxx2
-rw-r--r--Kernel/Builtins/ReadMe.txt2
-rw-r--r--Kernel/Builtins/SCSI/SCSI.hxx2
-rw-r--r--Kernel/Builtins/XHCI/Defines.hxx2
-rw-r--r--Kernel/CFKit/GUIDWizard.hpp2
-rw-r--r--Kernel/CFKit/GUIDWrapper.hpp2
-rw-r--r--Kernel/CFKit/Property.hpp2
-rw-r--r--Kernel/CFKit/URL.hpp2
-rw-r--r--Kernel/CRT/__mpcc_alloca.hxx2
-rw-r--r--Kernel/CRT/__mpcc_defines.hxx2
-rw-r--r--Kernel/CRT/__mpcc_exception.hxx2
-rw-r--r--Kernel/CRT/__mpcc_malloc.hxx2
-rw-r--r--Kernel/CompilerKit/CompilerKit.hxx2
-rw-r--r--Kernel/CompilerKit/Detail.hxx2
-rw-r--r--Kernel/Docs/SPECIFICATION.md2
-rw-r--r--Kernel/FSKit/Defines.hxx2
-rw-r--r--Kernel/FSKit/IndexableProperty.hxx2
-rw-r--r--Kernel/FSKit/NewFS.hxx2
-rw-r--r--Kernel/FirmwareKit/EFI.hxx2
-rw-r--r--Kernel/FirmwareKit/EFI/API.hxx10
-rw-r--r--Kernel/FirmwareKit/EFI/EFI.hxx2
-rw-r--r--Kernel/FirmwareKit/EPM.hxx16
-rw-r--r--Kernel/FirmwareKit/Handover.hxx4
-rw-r--r--Kernel/HALKit/64x0/HalVirtualMemory.cxx2
-rw-r--r--Kernel/HALKit/64x0/ReadMe.md2
-rw-r--r--Kernel/HALKit/AMD64/CPUID.hxx2
-rw-r--r--Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx2
-rw-r--r--Kernel/HALKit/AMD64/HalControlRegister.s2
-rw-r--r--Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp2
-rw-r--r--Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp136
-rw-r--r--Kernel/HALKit/AMD64/HalDebugOutput.cxx2
-rw-r--r--Kernel/HALKit/AMD64/HalDebugPort.cxx2
-rw-r--r--Kernel/HALKit/AMD64/HalDescriptorLoader.cpp2
-rw-r--r--Kernel/HALKit/AMD64/HalHardwareMP.cpp2
-rw-r--r--Kernel/HALKit/AMD64/HalInstallTIB.asm2
-rw-r--r--Kernel/HALKit/AMD64/HalInterruptAPI.asm52
-rw-r--r--Kernel/HALKit/AMD64/HalKernelMain.cxx13
-rw-r--r--Kernel/HALKit/AMD64/HalKernelMouse.cxx8
-rw-r--r--Kernel/HALKit/AMD64/HalNewBoot.asm2
-rw-r--r--Kernel/HALKit/AMD64/HalPageAlloc.cpp2
-rw-r--r--Kernel/HALKit/AMD64/HalPageAlloc.hpp2
-rw-r--r--Kernel/HALKit/AMD64/HalProcessor.cpp2
-rw-r--r--Kernel/HALKit/AMD64/HalSMPCore.cxx2
-rw-r--r--Kernel/HALKit/AMD64/HalSMPCoreManager.asm65
-rw-r--r--Kernel/HALKit/AMD64/Hypervisor.hpp2
-rw-r--r--Kernel/HALKit/AMD64/PCI/Database.cxx2
-rw-r--r--Kernel/HALKit/AMD64/PCI/Device.cxx2
-rw-r--r--Kernel/HALKit/AMD64/PCI/Dma.cxx2
-rw-r--r--Kernel/HALKit/AMD64/PCI/Express.cxx2
-rw-r--r--Kernel/HALKit/AMD64/PCI/IO.cxx2
-rw-r--r--Kernel/HALKit/AMD64/PCI/Iterator.cxx2
-rw-r--r--Kernel/HALKit/AMD64/PCI/PCI.cxx2
-rw-r--r--Kernel/HALKit/AMD64/Processor.hpp2
-rw-r--r--Kernel/HALKit/AMD64/Storage/AHCI.cxx4
-rw-r--r--Kernel/HALKit/AMD64/Storage/ATA-DMA.cxx4
-rw-r--r--Kernel/HALKit/AMD64/Storage/ATA-PIO.cxx4
-rw-r--r--Kernel/HALKit/ARM64/APM/.gitkeep (renamed from Kernel/HALKit/ARM64/ACPI/.gitkeep)0
-rw-r--r--Kernel/HALKit/ARM64/ReadMe.md5
-rw-r--r--Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp2
-rw-r--r--Kernel/HALKit/AXP/Processor.hpp2
-rw-r--r--Kernel/HALKit/POWER/HalContextSwitchPowerPC.s2
-rw-r--r--Kernel/HALKit/POWER/HalHardware.cxx2
-rw-r--r--Kernel/HALKit/POWER/HalHart.cxx2
-rw-r--r--Kernel/HALKit/POWER/HalSerialPort.cxx2
-rw-r--r--Kernel/HALKit/POWER/HalStartSequence.s2
-rw-r--r--Kernel/HALKit/POWER/HalThread.cxx2
-rw-r--r--Kernel/HALKit/POWER/HalVirtualMemory.cxx2
-rw-r--r--Kernel/HALKit/POWER/Hart.hxx2
-rw-r--r--Kernel/HALKit/POWER/MBCI/HalMBCIHost.cxx2
-rw-r--r--Kernel/HALKit/POWER/Processor.hpp2
-rw-r--r--Kernel/HALKit/POWER/ppc-cpu.h2
-rw-r--r--Kernel/HALKit/RISCV/Hart.hxx2
-rw-r--r--Kernel/HintKit/CompilerHint.hxx2
-rw-r--r--Kernel/KernelKit/CodeManager.hpp2
-rw-r--r--Kernel/KernelKit/DebugOutput.hpp2
-rw-r--r--Kernel/KernelKit/Defines.hpp2
-rw-r--r--Kernel/KernelKit/DeviceManager.hpp2
-rw-r--r--Kernel/KernelKit/DriveManager.hxx2
-rw-r--r--Kernel/KernelKit/FileManager.hpp6
-rw-r--r--Kernel/KernelKit/Framebuffer.hpp2
-rw-r--r--Kernel/KernelKit/HError.hpp2
-rw-r--r--Kernel/KernelKit/KernelHeap.hpp2
-rw-r--r--Kernel/KernelKit/LoaderInterface.hpp2
-rw-r--r--Kernel/KernelKit/LockDelegate.hpp2
-rw-r--r--Kernel/KernelKit/MSDOS.hpp2
-rw-r--r--Kernel/KernelKit/PCI/Database.hpp2
-rw-r--r--Kernel/KernelKit/PCI/Device.hpp2
-rw-r--r--Kernel/KernelKit/PCI/Dma.hpp2
-rw-r--r--Kernel/KernelKit/PCI/Dma.inl2
-rw-r--r--Kernel/KernelKit/PCI/Express.hpp2
-rw-r--r--Kernel/KernelKit/PCI/IO-Impl-AMD64.inl2
-rw-r--r--Kernel/KernelKit/PCI/IO.hpp2
-rw-r--r--Kernel/KernelKit/PCI/PCI.hpp2
-rw-r--r--Kernel/KernelKit/PE.hxx2
-rw-r--r--Kernel/KernelKit/PECodeManager.hxx2
-rw-r--r--Kernel/KernelKit/PEF.hpp2
-rw-r--r--Kernel/KernelKit/PEFCodeManager.hxx2
-rw-r--r--Kernel/KernelKit/PEFSharedObject.hxx2
-rw-r--r--Kernel/KernelKit/PermissionSelector.hxx2
-rw-r--r--Kernel/KernelKit/ProcessScheduler.hxx2
-rw-r--r--Kernel/KernelKit/SMPManager.hpp2
-rw-r--r--Kernel/KernelKit/Semaphore.hpp2
-rw-r--r--Kernel/KernelKit/ThreadLocalStorage.hxx2
-rw-r--r--Kernel/KernelKit/ThreadLocalStorage.inl2
-rw-r--r--Kernel/KernelKit/Timer.hpp2
-rw-r--r--Kernel/KernelKit/UserHeap.hpp2
-rw-r--r--Kernel/KernelKit/XCOFF.hxx2
-rw-r--r--Kernel/KernelRsrc.rsrc6
-rw-r--r--Kernel/NetworkKit/GSM.hxx16
-rw-r--r--Kernel/NetworkKit/IP.hpp2
-rw-r--r--Kernel/NetworkKit/IPCEP.hxx6
-rw-r--r--Kernel/NetworkKit/MAC.hxx2
-rw-r--r--Kernel/NetworkKit/NetworkDevice.hpp2
-rw-r--r--Kernel/NetworkKit/NetworkDevice.inl2
-rw-r--r--Kernel/NewKit/ApplicationInterface.hxx2
-rw-r--r--Kernel/NewKit/Array.hpp2
-rw-r--r--Kernel/NewKit/ArrayList.hpp2
-rw-r--r--Kernel/NewKit/Atom.hpp2
-rw-r--r--Kernel/NewKit/Crc32.hpp2
-rw-r--r--Kernel/NewKit/CxxAbi.hpp2
-rw-r--r--Kernel/NewKit/Defines.hpp2
-rw-r--r--Kernel/NewKit/ErrorOr.hpp2
-rw-r--r--Kernel/NewKit/Json.hpp2
-rw-r--r--Kernel/NewKit/KernelCheck.hpp2
-rw-r--r--Kernel/NewKit/Macros.hpp2
-rw-r--r--Kernel/NewKit/MutableArray.hpp2
-rw-r--r--Kernel/NewKit/New.hpp2
-rw-r--r--Kernel/NewKit/NewKit.hpp2
-rw-r--r--Kernel/NewKit/OwnPtr.hpp2
-rw-r--r--Kernel/NewKit/PageAllocator.hpp2
-rw-r--r--Kernel/NewKit/PageManager.hpp2
-rw-r--r--Kernel/NewKit/Pair.hpp2
-rw-r--r--Kernel/NewKit/Pmm.hpp2
-rw-r--r--Kernel/NewKit/Ref.hpp2
-rw-r--r--Kernel/NewKit/Stream.hpp2
-rw-r--r--Kernel/NewKit/String.hpp2
-rw-r--r--Kernel/NewKit/Utils.hpp2
-rw-r--r--Kernel/NewKit/Variant.hpp2
-rw-r--r--Kernel/Root/System/FileExplorerHome.html34
-rw-r--r--Kernel/Root/System/SystemTheme.css46
-rw-r--r--Kernel/Root/Users/.gitkeep0
-rw-r--r--Kernel/Root/Users/Shared/.gitkeep0
-rw-r--r--Kernel/Sources/Array.cxx2
-rw-r--r--Kernel/Sources/ArrayList.cxx2
-rw-r--r--Kernel/Sources/Atom.cxx2
-rw-r--r--Kernel/Sources/CodeManager.cxx2
-rw-r--r--Kernel/Sources/Crc32.cxx2
-rw-r--r--Kernel/Sources/CxxAbi.cxx2
-rw-r--r--Kernel/Sources/Defines.cxx2
-rw-r--r--Kernel/Sources/DeviceManager.cxx2
-rw-r--r--Kernel/Sources/DriveManager.cxx2
-rw-r--r--Kernel/Sources/ErrorOr.cxx2
-rw-r--r--Kernel/Sources/FS/NewFS.cxx6
-rw-r--r--Kernel/Sources/FileManager.cxx4
-rw-r--r--Kernel/Sources/Framebuffer.cxx2
-rw-r--r--Kernel/Sources/GUIDWizard.cxx2
-rw-r--r--Kernel/Sources/GUIDWrapper.cxx2
-rw-r--r--Kernel/Sources/HError.cxx2
-rw-r--r--Kernel/Sources/IndexableProperty.cxx2
-rw-r--r--Kernel/Sources/Json.cxx2
-rw-r--r--Kernel/Sources/KeMain.cxx (renamed from Kernel/Sources/AppMain.cxx)53
-rw-r--r--Kernel/Sources/KernelCheck.cxx2
-rw-r--r--Kernel/Sources/KernelHeap.cxx2
-rw-r--r--Kernel/Sources/LockDelegate.cxx2
-rw-r--r--Kernel/Sources/MutableArray.cxx2
-rw-r--r--Kernel/Sources/Network/IP.cxx2
-rw-r--r--Kernel/Sources/Network/IPCEP.cxx2
-rw-r--r--Kernel/Sources/Network/NetworkDevice.cxx2
-rw-r--r--Kernel/Sources/New+Delete.cxx2
-rw-r--r--Kernel/Sources/NewFS+FileManager.cxx2
-rw-r--r--Kernel/Sources/NewFS+IO.cxx4
-rw-r--r--Kernel/Sources/NewFS+Journal.cxx2
-rw-r--r--Kernel/Sources/OwnPtr.cxx2
-rw-r--r--Kernel/Sources/PEFCodeManager.cxx2
-rw-r--r--Kernel/Sources/PEFSharedObject.cxx2
-rw-r--r--Kernel/Sources/PRDT.cxx2
-rw-r--r--Kernel/Sources/PageAllocator.cxx2
-rw-r--r--Kernel/Sources/PageManager.cxx2
-rw-r--r--Kernel/Sources/PermissionSelector.cxx2
-rw-r--r--Kernel/Sources/Pmm.cxx2
-rw-r--r--Kernel/Sources/ProcessScheduler.cxx5
-rw-r--r--Kernel/Sources/ProcessTeam.cxx2
-rw-r--r--Kernel/Sources/Property.cxx2
-rw-r--r--Kernel/Sources/Ref.cxx2
-rw-r--r--Kernel/Sources/SMPManager.cxx17
-rw-r--r--Kernel/Sources/Semaphore.cxx2
-rw-r--r--Kernel/Sources/Storage/AHCIDeviceInterface.cxx2
-rw-r--r--Kernel/Sources/Storage/ATADeviceInterface.cxx2
-rw-r--r--Kernel/Sources/Storage/NVMEDeviceInterface.cxx2
-rw-r--r--Kernel/Sources/Storage/SCSIDeviceInterface.cxx2
-rw-r--r--Kernel/Sources/Stream.cxx2
-rw-r--r--Kernel/Sources/String.cxx2
-rw-r--r--Kernel/Sources/ThreadLocalStorage.cxx2
-rw-r--r--Kernel/Sources/Timer.cxx2
-rw-r--r--Kernel/Sources/URL.cxx2
-rw-r--r--Kernel/Sources/UserHeap.cxx2
-rw-r--r--Kernel/Sources/Utils.cxx2
-rw-r--r--Kernel/Sources/Variant.cxx2
-rw-r--r--Kernel/StorageKit/AHCI.hpp2
-rw-r--r--Kernel/StorageKit/ATA.hpp2
-rw-r--r--Kernel/StorageKit/NVME.hpp2
-rw-r--r--Kernel/StorageKit/PRDT.hpp2
-rw-r--r--Kernel/StorageKit/SCSI.hxx2
-rw-r--r--Kernel/StorageKit/Storage.hpp2
-rw-r--r--Kernel/makefile2
-rw-r--r--ReadMe.md2
-rw-r--r--SDK/.gitkeep0
-rw-r--r--SDK/Dist/.gitkeep0
-rw-r--r--SDK/Libraries/.gitkeep0
-rw-r--r--SDK/Libraries/CoreCxxRuntime/.gitkeep0
-rw-r--r--SDK/Libraries/CorePEFRuntime/.gitkeep0
-rw-r--r--SDK/Libraries/CoreSystem/.gitkeep0
-rw-r--r--SDK/Libraries/CoreSystem/ARM64/.gitkeep0
-rw-r--r--SDK/Libraries/CoreSystem/RISCV/.gitkeep0
-rw-r--r--Usr/.gitkeep (renamed from Kernel/Root/.gitkeep)0
-rw-r--r--Usr/Dist/.gitkeep (renamed from Kernel/Root/Applications/.gitkeep)0
-rw-r--r--Usr/Sys/.gitkeep (renamed from Kernel/Root/Assistants/.gitkeep)0
-rw-r--r--Usr/Sys/CoreCxxRuntime/.gitkeep (renamed from Kernel/Root/Boot/.gitkeep)0
-rw-r--r--Usr/Sys/CoreCxxRuntime/Private.xml (renamed from SDK/Libraries/CoreCxxRuntime/Private.xml)0
-rw-r--r--Usr/Sys/CoreCxxRuntime/Sources/New+Delete.cxx (renamed from SDK/Libraries/CoreCxxRuntime/Sources/New+Delete.cxx)2
-rw-r--r--Usr/Sys/CorePEFRuntime/.gitkeep (renamed from Kernel/Root/Library/.gitkeep)0
-rw-r--r--Usr/Sys/CorePEFRuntime/Private.xml (renamed from SDK/Libraries/CorePEFRuntime/Private.xml)0
-rw-r--r--Usr/Sys/CorePEFRuntime/Sources/PEFStart.c (renamed from SDK/Libraries/CorePEFRuntime/Sources/PEFStart.c)2
-rw-r--r--Usr/Sys/CoreSystem/.gitkeep (renamed from Kernel/Root/Mount/.gitkeep)0
-rw-r--r--Usr/Sys/CoreSystem/AMD64/CoreAssembly.s (renamed from SDK/Libraries/CoreSystem/AMD64/CoreAssembly.s)2
-rw-r--r--Usr/Sys/CoreSystem/ARM64/.gitkeep (renamed from Kernel/Root/Support/.gitkeep)0
-rw-r--r--Usr/Sys/CoreSystem/Headers/Alert.h (renamed from SDK/Libraries/CoreSystem/Headers/Alert.h)4
-rw-r--r--Usr/Sys/CoreSystem/Headers/Defines.h (renamed from SDK/Libraries/CoreSystem/Headers/Defines.h)20
-rw-r--r--Usr/Sys/CoreSystem/Headers/File.h (renamed from SDK/Libraries/CoreSystem/Headers/File.h)2
-rw-r--r--Usr/Sys/CoreSystem/Headers/Heap.h (renamed from SDK/Libraries/CoreSystem/Headers/Heap.h)2
-rw-r--r--Usr/Sys/CoreSystem/Headers/Hint.h (renamed from SDK/Libraries/CoreSystem/Headers/Hint.h)2
-rw-r--r--Usr/Sys/CoreSystem/Headers/Intl.h (renamed from SDK/Libraries/CoreSystem/Headers/Intl.h)2
-rw-r--r--Usr/Sys/CoreSystem/Headers/Math.h (renamed from SDK/Libraries/CoreSystem/Headers/Math.h)2
-rw-r--r--Usr/Sys/CoreSystem/Headers/Rsrc.h (renamed from SDK/Libraries/CoreSystem/Headers/Rsrc.h)2
-rw-r--r--Usr/Sys/CoreSystem/Headers/Thread.h (renamed from SDK/Libraries/CoreSystem/Headers/Thread.h)2
-rw-r--r--Usr/Sys/CoreSystem/Headers/Transport.h (renamed from SDK/Libraries/CoreSystem/Headers/Transport.h)8
-rw-r--r--Usr/Sys/CoreSystem/POWER/CoreAssembly.s (renamed from SDK/Libraries/CoreSystem/POWER/CoreAssembly.s)2
-rw-r--r--Usr/Sys/CoreSystem/Private.xml (renamed from SDK/Libraries/CoreSystem/Private.xml)0
-rw-r--r--Usr/Sys/CoreSystem/RISCV/.gitkeep (renamed from Kernel/Root/System/.gitkeep)0
-rw-r--r--Usr/Sys/CoreSystem/ReadMe.md (renamed from SDK/Libraries/CoreSystem/ReadMe.md)0
-rw-r--r--Usr/Sys/CoreSystem/Sources/App.c (renamed from SDK/Libraries/CoreSystem/Sources/App.c)2
-rw-r--r--Usr/Sys/CoreSystem/Sources/CRTStartup.c (renamed from SDK/Libraries/CoreSystem/Sources/CRTStartup.c)2
-rw-r--r--Usr/Sys/CoreSystem/Sources/File.c (renamed from SDK/Libraries/CoreSystem/Sources/File.c)2
-rw-r--r--Usr/Sys/CoreSystem/Sources/Heap.c (renamed from SDK/Libraries/CoreSystem/Sources/Heap.c)2
-rw-r--r--Usr/Sys/CoreSystem/Sources/Math.c (renamed from SDK/Libraries/CoreSystem/Sources/Math.c)2
-rw-r--r--Usr/Sys/CoreSystem/Sources/Thread.c (renamed from SDK/Libraries/CoreSystem/Sources/Thread.c)2
-rw-r--r--Usr/Sys/CoreSystem/amd64.mk (renamed from SDK/Libraries/CoreSystem/amd64.mk)2
-rw-r--r--Usr/Sys/CoreSystem/compile_flags.txt (renamed from SDK/Libraries/CoreSystem/compile_flags.txt)0
-rw-r--r--newoskrnl.10x48
311 files changed, 770 insertions, 501 deletions
diff --git a/.gitignore b/.gitignore
index 91b9f4aa..13f452e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,7 +13,7 @@ qtcsettings.cmake
*.exec
-LOOK.CSS
+NvVars
x86_64/
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
index ff4a5912..c24b99d4 100644
--- a/.vscode/c_cpp_properties.json
+++ b/.vscode/c_cpp_properties.json
@@ -7,8 +7,8 @@
"${workspaceFolder}/Drv/**",
"${workspaceFolder}/Boot/**",
"${workspaceFolder}/**",
- "${workspaceFolder}/SDK/Libraries/CoreSystem/**",
- "${workspaceFolder}/SDK/Libraries/**"
+ "${workspaceFolder}/Usr/Sys/CoreSystem/**",
+ "${workspaceFolder}/Usr/Sys/**"
],
"defines": [
"__MAHROUSS__",
@@ -28,7 +28,7 @@
{
"name": "AppDev ",
"includePath": [
- "${workspaceFolder}/SDK/Developer/**"
+ "${workspaceFolder}/Usr/Developer/**"
],
"defines": [],
"cStandard": "c17",
@@ -42,8 +42,8 @@
"${workspaceFolder}/Kernel/**",
"${workspaceFolder}/Boot/**",
"${workspaceFolder}/**",
- "${workspaceFolder}/SDK/Libraries/CoreSystem/**",
- "${workspaceFolder}/SDK/Libraries/**"
+ "${workspaceFolder}/Usr/Sys/CoreSystem/**",
+ "${workspaceFolder}/Usr/Sys/**"
],
"defines": [
"__MAHROUSS__",
diff --git a/Boot/BootKit/BitManip.hxx b/Boot/BootKit/BitManip.hxx
index cef6c875..f1ae048f 100644
--- a/Boot/BootKit/BitManip.hxx
+++ b/Boot/BootKit/BitManip.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/BootKit.hxx b/Boot/BootKit/BootKit.hxx
index 311d6c7f..3eab16cb 100644
--- a/Boot/BootKit/BootKit.hxx
+++ b/Boot/BootKit/BootKit.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/Device.hxx b/Boot/BootKit/Device.hxx
index 215c10b6..d7ac7a74 100644
--- a/Boot/BootKit/Device.hxx
+++ b/Boot/BootKit/Device.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/EPM.hxx b/Boot/BootKit/EPM.hxx
index 0cefad5d..e29342a8 100644
--- a/Boot/BootKit/EPM.hxx
+++ b/Boot/BootKit/EPM.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/HW/ATA.hxx b/Boot/BootKit/HW/ATA.hxx
index d9b251f5..6d7c0894 100644
--- a/Boot/BootKit/HW/ATA.hxx
+++ b/Boot/BootKit/HW/ATA.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/HW/SATA.hxx b/Boot/BootKit/HW/SATA.hxx
index bbb65ec0..c4dca4c0 100644
--- a/Boot/BootKit/HW/SATA.hxx
+++ b/Boot/BootKit/HW/SATA.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/Platform.hxx b/Boot/BootKit/Platform.hxx
index 14a1fa54..b1a95193 100644
--- a/Boot/BootKit/Platform.hxx
+++ b/Boot/BootKit/Platform.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/Protocol.hxx b/Boot/BootKit/Protocol.hxx
index 3d9fd9f8..7a2ffb3a 100644
--- a/Boot/BootKit/Protocol.hxx
+++ b/Boot/BootKit/Protocol.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/BootKit/Vendor/Qr.hxx b/Boot/BootKit/Vendor/Qr.hxx
index 3bafc09f..7e1e85ed 100644
--- a/Boot/BootKit/Vendor/Qr.hxx
+++ b/Boot/BootKit/Vendor/Qr.hxx
@@ -9,7 +9,7 @@
#include <BootKit/Vendor/Shared/bit.h>
#include <BootKit/Vendor/QrPrelude.hxx>
-#include <Builtins/Toolbox/Toolbox.hxx>
+#include <Builtins/GX/GX>
#include <BootKit/Vendor/Support.hxx>
#include <CompilerKit/Detail.hxx>
@@ -371,7 +371,7 @@ namespace qr
{
for (int x = 0; x < (this->side_size()); ++x)
{
- ToolboxDrawZone(
+ GXDraw(
(this->module(x, y) ? RGB(00, 00, 00) : RGB(FF, FF, FF)),
1, 1,
x + whereX, y + whereY);
diff --git a/Boot/BootKit/Vendor/Support.hxx b/Boot/BootKit/Vendor/Support.hxx
index 6a480779..eed59424 100644
--- a/Boot/BootKit/Vendor/Support.hxx
+++ b/Boot/BootKit/Vendor/Support.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/NetBoot/Module.cxx b/Boot/NetBoot/Module.cxx
index 57841904..472b9a5b 100644
--- a/Boot/NetBoot/Module.cxx
+++ b/Boot/NetBoot/Module.cxx
@@ -2,7 +2,7 @@
* ========================================================
*
* NetBoot
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
@@ -12,7 +12,7 @@
EXTERN_C Int32 ModuleMain(Void)
{
- /// - Find a network drive called "/Remote/NewOSKrnl"
+ /// - Find a network drive called "/Remote/newoskrnl"
/// - Download our image
/// - Boot from it.
diff --git a/Boot/NetBoot/NetBoot.hxx b/Boot/NetBoot/NetBoot.hxx
index d45f1de1..ccb43290 100644
--- a/Boot/NetBoot/NetBoot.hxx
+++ b/Boot/NetBoot/NetBoot.hxx
@@ -2,7 +2,7 @@
* ========================================================
*
* NetBoot
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
@@ -10,3 +10,18 @@
#pragma once
#include <NewKit/Defines.hpp>
+
+/// @brief the internet header is used to download updates OTA.
+typedef struct NetBootInternetHeader
+{
+ CharacterTypeUTF8 NB1; /// magic char 1 'N'
+ CharacterTypeUTF8 NB2; /// magic char 2 'E'
+ CharacterTypeUTF8 NB3; /// magic char 3 'T'
+ CharacterTypeUTF8 NB4; /// magic char 4 'B'
+
+ CharacterTypeUTF8 PatchName[255]; /// example: ColdChoco
+ NewOS::Int32 PatchLength; /// the patch length.
+ CharacterTypeUTF8 PatchTarget[255]; /// the target file.
+ NewOS::Boolean ImpliesROM; /// does it implies EEPROM patching?
+} NetBootInternetHeader;
+
diff --git a/Boot/ReadMe.md b/Boot/ReadMe.md
index ce5b30cd..bc278a72 100644
--- a/Boot/ReadMe.md
+++ b/Boot/ReadMe.md
@@ -17,4 +17,4 @@ And execute:
make all
```
-##### Copyright, SoftwareLabs, all rights reserved.
+##### Copyright, Zeta Electronics Corporation, all rights reserved.
diff --git a/Boot/Sources/BootloaderRsrc.rsrc b/Boot/Sources/BootloaderRsrc.rsrc
index 857e08e4..92ff177f 100644
--- a/Boot/Sources/BootloaderRsrc.rsrc
+++ b/Boot/Sources/BootloaderRsrc.rsrc
@@ -1,6 +1,6 @@
#include "../../Kernel/CompilerKit/Version.hxx"
-1 ICON "../../Kernel/Root/Boot/Icons/boot-logo.ico"
+1 ICON "../../Icons/boot-logo.ico"
1 VERSIONINFO
FILEVERSION 1,0,0,0
@@ -10,11 +10,11 @@ BEGIN
BEGIN
BLOCK "080904E4"
BEGIN
- VALUE "CompanyName", "SoftwareLabs"
+ VALUE "CompanyName", "Zeta Electronics Corporation"
VALUE "FileDescription", "New OS multi-platform bootloader."
VALUE "FileVersion", BOOTLOADER_VERSION
VALUE "InternalName", "newosldr"
- VALUE "LegalCopyright", "Copyright SoftwareLabs, all rights reserved."
+ VALUE "LegalCopyright", "Copyright Zeta Electronics Corporation, all rights reserved."
VALUE "OriginalFilename", "newosldr.exe"
VALUE "ProductName", "newosldr"
VALUE "ProductVersion", BOOTLOADER_VERSION
diff --git a/Boot/Sources/HEL/AMD64/BootAHCI.cxx b/Boot/Sources/HEL/AMD64/BootAHCI.cxx
index d60b91fd..7d07f8f0 100644
--- a/Boot/Sources/HEL/AMD64/BootAHCI.cxx
+++ b/Boot/Sources/HEL/AMD64/BootAHCI.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -11,7 +11,7 @@
* @version 0.1
* @date 2024-02-02
*
- * @copyright Copyright (c) SoftwareLabs
+ * @copyright Copyright (c) Zeta Electronics Corporation
*
*/
diff --git a/Boot/Sources/HEL/AMD64/BootATA.cxx b/Boot/Sources/HEL/AMD64/BootATA.cxx
index d2753110..55a55a0c 100644
--- a/Boot/Sources/HEL/AMD64/BootATA.cxx
+++ b/Boot/Sources/HEL/AMD64/BootATA.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -11,7 +11,7 @@
* @version 0.1
* @date 2024-02-02
*
- * @copyright Copyright (c) SoftwareLabs
+ * @copyright Copyright (c) Zeta Electronics Corporation
*
*/
diff --git a/Boot/Sources/HEL/AMD64/BootFileReader.cxx b/Boot/Sources/HEL/AMD64/BootFileReader.cxx
index e6e70509..b5498cf9 100644
--- a/Boot/Sources/HEL/AMD64/BootFileReader.cxx
+++ b/Boot/Sources/HEL/AMD64/BootFileReader.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: FileReader.cxx
Purpose: New Boot FileReader,
diff --git a/Boot/Sources/HEL/AMD64/BootMain.cxx b/Boot/Sources/HEL/AMD64/BootMain.cxx
index cb8bccba..5ab7914a 100644
--- a/Boot/Sources/HEL/AMD64/BootMain.cxx
+++ b/Boot/Sources/HEL/AMD64/BootMain.cxx
@@ -1,12 +1,12 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#include <BootKit/BootKit.hxx>
#include <BootKit/Rsrc/NewBoot.rsrc>
-#include <Builtins/Toolbox/Toolbox.hxx>
+#include <Builtins/GX/GX>
#include <FirmwareKit/EFI.hxx>
#include <FirmwareKit/EFI/API.hxx>
#include <FirmwareKit/Handover.hxx>
@@ -19,9 +19,17 @@
/// make the compiler shut up.
#ifndef kMachineModel
-#define kMachineModel "NeWS HD"
+#define kMachineModel "Zeta HD"
#endif // !kMachineModel
+#ifndef cExpectedWidth
+#define cExpectedWidth 436
+#endif
+
+#ifndef cExpectedHeight
+#define cExpectedHeight 644
+#endif
+
/** Graphics related. */
STATIC EfiGraphicsOutputProtocol* kGop = nullptr;
@@ -34,7 +42,7 @@ EXTERN_C Void hal_init_platform(HEL::HandoverInformationHeader* HIH);
@brief Finds and stores the GOP.
*/
-STATIC Void CheckAndFindFramebuffer() noexcept
+STATIC Void InitVideoFB() noexcept
{
kGopGuid = EfiGUID(EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID);
kGop = nullptr;
@@ -43,6 +51,18 @@ STATIC Void CheckAndFindFramebuffer() noexcept
BS->LocateProtocol(&kGopGuid, nullptr, (VoidPtr*)&kGop);
+ for (size_t i = 0; i < kGop->Mode->MaxMode; ++i)
+ {
+ EfiGraphicsOutputProtocolModeInformation* infoPtr = nullptr;
+
+ if (infoPtr->HorizontalResolution == cExpectedWidth &&
+ infoPtr->VerticalResolution == cExpectedHeight)
+ {
+ kGop->SetMode(kGop, i);
+ break;
+ }
+ }
+
kStride = 4;
}
@@ -62,16 +82,16 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
EfiSystemTable* SystemTable)
{
InitEFI(SystemTable); ///! Init the EFI library.
- CheckAndFindFramebuffer(); ///! Init the GOP.
+ InitVideoFB(); ///! Init the GOP.
BTextWriter writer;
/// Splash screen stuff
- writer.Write(L"SoftwareLabs (R) newosldr: ")
+ writer.Write(L"Zeta Electronics Corporation (R) newosldr: ")
.Write(BVersionString::The());
- writer.Write(L"\rNew Boot: Firmware Vendor: ")
+ writer.Write(L"\rnewosldr: Firmware Vendor: ")
.Write(SystemTable->FirmwareVendor)
.Write(L"\r");
@@ -123,18 +143,18 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
kHandoverHeader = handoverHdrPtr;
- ToolboxInitRsrc();
+ GXInit();
- ToolboxDrawZone(RGB(9d, 9d, 9d), handoverHdrPtr->f_GOP.f_Height,
+ GXDraw(RGB(9d, 9d, 9d), handoverHdrPtr->f_GOP.f_Height,
handoverHdrPtr->f_GOP.f_Width, 0, 0);
- ToolboxClearRsrc();
+ GXFini();
- ToolboxDrawRsrc(NewBoot, NEWBOOT_HEIGHT, NEWBOOT_WIDTH,
+ GXDrawImg(NewBoot, NEWBOOT_HEIGHT, NEWBOOT_WIDTH,
(handoverHdrPtr->f_GOP.f_Width - NEWBOOT_WIDTH) / 2,
(handoverHdrPtr->f_GOP.f_Height - NEWBOOT_HEIGHT) / 2);
- ToolboxClearRsrc();
+ GXFini();
BS->GetMemoryMap(SizePtr, Descriptor, MapKey, SzDesc, RevDesc);
diff --git a/Boot/Sources/HEL/AMD64/BootPlatform.cxx b/Boot/Sources/HEL/AMD64/BootPlatform.cxx
index 866c4839..66fe2f8d 100644
--- a/Boot/Sources/HEL/AMD64/BootPlatform.cxx
+++ b/Boot/Sources/HEL/AMD64/BootPlatform.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/Sources/HEL/AMD64/BootString.cxx b/Boot/Sources/HEL/AMD64/BootString.cxx
index 54ab2c64..384cef33 100644
--- a/Boot/Sources/HEL/AMD64/BootString.cxx
+++ b/Boot/Sources/HEL/AMD64/BootString.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: String.cxx
Purpose: NewBoot string library
diff --git a/Boot/Sources/HEL/AMD64/BootTextWriter.cxx b/Boot/Sources/HEL/AMD64/BootTextWriter.cxx
index 90d12f3d..3006591a 100644
--- a/Boot/Sources/HEL/AMD64/BootTextWriter.cxx
+++ b/Boot/Sources/HEL/AMD64/BootTextWriter.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: String.cxx
Purpose: NewBoot string library
diff --git a/Boot/Sources/HEL/AMD64/New+Delete.cxx b/Boot/Sources/HEL/AMD64/New+Delete.cxx
index 6c025646..647cddb1 100644
--- a/Boot/Sources/HEL/AMD64/New+Delete.cxx
+++ b/Boot/Sources/HEL/AMD64/New+Delete.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/Sources/HEL/AMD64/Support.cxx b/Boot/Sources/HEL/AMD64/Support.cxx
index 22b01280..8ebfb2ff 100644
--- a/Boot/Sources/HEL/AMD64/Support.cxx
+++ b/Boot/Sources/HEL/AMD64/Support.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/Sources/HEL/POWER/CoreBootStartup.S b/Boot/Sources/HEL/POWER/CoreBootStartup.S
index ed39c3b5..e1a186ae 100644
--- a/Boot/Sources/HEL/POWER/CoreBootStartup.S
+++ b/Boot/Sources/HEL/POWER/CoreBootStartup.S
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/Sources/HEL/RISCV/BootRISCV.S b/Boot/Sources/HEL/RISCV/BootRISCV.S
index b682d597..2f1e9eb9 100644
--- a/Boot/Sources/HEL/RISCV/BootRISCV.S
+++ b/Boot/Sources/HEL/RISCV/BootRISCV.S
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Boot/Sources/Root/SplashScreen.fmt b/Boot/Sources/Root/SplashScreen.fmt
index 42005568..4a851dc1 100644
--- a/Boot/Sources/Root/SplashScreen.fmt
+++ b/Boot/Sources/Root/SplashScreen.fmt
@@ -1,7 +1,7 @@
==================================================================
-Welcome to NeWS.
+Welcome to Zeta.
Brought to you by: Amlal EL Mahrouss.
* newosldr, newoskrnl: Amlal EL Mahrouss.
-This copy can boot directly to newoskrnl (Unified System).
-Copyright SoftwareLabs, all rights reserved.
+
+Copyright Zeta Electronics Corporation, all rights reserved.
==================================================================
diff --git a/Boot/makefile b/Boot/makefile
index e979c309..4bee19a2 100644
--- a/Boot/makefile
+++ b/Boot/makefile
@@ -1,5 +1,5 @@
##################################################
-# (C) SoftwareLabs, all rights reserved.
+# (C) Zeta Electronics Corporation, all rights reserved.
# This is the bootloader makefile.
##################################################
@@ -19,14 +19,14 @@ EMU=qemu-system-x86_64w
endif
ifeq ($(NEWS_MODEL), )
-NEWOS_MODEL=-DkMachineModel="\"Generic NeWS HD\""
+NEWOS_MODEL=-DkMachineModel="\"Generic Zeta HD\""
endif
BIOS=OVMF.fd
IMG=epm.img
IMG_2=epm-slave.img
-EMU_FLAGS=-net none -smp 2 -m 4G -M q35 \
+EMU_FLAGS=-net none -smp 4 -serial stdio -m 4G -M q35 \
-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 \
@@ -74,14 +74,14 @@ compile-amd64:
$(RESCMD)
$(CC_GNU) $(NEWOS_MODEL) $(STANDALONE_MACRO) $(FLAG_GNU) $(DEBUG) \
$(wildcard Sources/HEL/AMD64/*.cxx) \
- $(wildcard Sources/HEL/AMD64/*.S)
+ $(wildcard Sources/HEL/AMD64/*.S)
$(wildcard Sources/*.cxx)
.PHONY: run-efi-amd64
run-efi-amd64:
$(EMU) $(EMU_FLAGS)
-# img_2 is the rescue disk. img is the bootable disk, as provided by the NeWS.
+# img_2 is the rescue disk. img is the bootable disk, as provided by the Zeta.
.PHONY: epm-img
epm-img:
qemu-img create -f raw $(IMG) 10G
diff --git a/DDK/KernelCall.c b/DDK/KernelCall.c
index 26a0b83b..c20a4894 100644
--- a/DDK/KernelCall.c
+++ b/DDK/KernelCall.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Definitions.
diff --git a/DDK/KernelDev.c b/DDK/KernelDev.c
index ee7aa84b..f19f85c6 100644
--- a/DDK/KernelDev.c
+++ b/DDK/KernelDev.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Text I/O.
diff --git a/DDK/KernelDev.h b/DDK/KernelDev.h
index 4710023a..79fd8f76 100644
--- a/DDK/KernelDev.h
+++ b/DDK/KernelDev.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Devices.
diff --git a/DDK/KernelPrint.c b/DDK/KernelPrint.c
index 9e25d31b..b7513149 100644
--- a/DDK/KernelPrint.c
+++ b/DDK/KernelPrint.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Text I/O.
diff --git a/DDK/KernelPrint.h b/DDK/KernelPrint.h
index 135abcc0..a26d49c4 100644
--- a/DDK/KernelPrint.h
+++ b/DDK/KernelPrint.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Text I/O.
diff --git a/DDK/KernelStd.h b/DDK/KernelStd.h
index b0dba70e..61bc23a9 100644
--- a/DDK/KernelStd.h
+++ b/DDK/KernelStd.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Definitions.
diff --git a/DDK/KernelStdCxx.cc b/DDK/KernelStdCxx.cc
index 7d8c9ff3..b1d233fa 100644
--- a/DDK/KernelStdCxx.cc
+++ b/DDK/KernelStdCxx.cc
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Driver C++ Definitions.
diff --git a/DDK/KernelString.c b/DDK/KernelString.c
index 1bd4c8c6..65403389 100644
--- a/DDK/KernelString.c
+++ b/DDK/KernelString.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Strings.
diff --git a/DDK/KernelString.h b/DDK/KernelString.h
index d39aeea1..be2a1037 100644
--- a/DDK/KernelString.h
+++ b/DDK/KernelString.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: Kernel Strings.
diff --git a/Doxyfile b/Doxyfile
index aec8485f..120fe24e 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -945,7 +945,7 @@ WARN_LOGFILE =
INPUT = ./ \
./NewKernel/ \
- ./SDK/ \
+ ./Usr/ \
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
diff --git a/Drv/Bonjour/Bonjour.c b/Drv/Bonjour/Bonjour.c
index 93411e1f..9bebdb32 100644
--- a/Drv/Bonjour/Bonjour.c
+++ b/Drv/Bonjour/Bonjour.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Drv/Bonjour/DriverRsrc.rsrc b/Drv/Bonjour/DriverRsrc.rsrc
index d2f15f1e..5b86834f 100644
--- a/Drv/Bonjour/DriverRsrc.rsrc
+++ b/Drv/Bonjour/DriverRsrc.rsrc
@@ -1,4 +1,4 @@
-1 ICON "../../Kernel/Root/Boot/Icons/driver-logo.ico"
+1 ICON "../../Boot/Icons/driver-logo.ico"
1 VERSIONINFO
FILEVERSION 1,0,0,0
@@ -8,11 +8,11 @@ BEGIN
BEGIN
BLOCK "080904E4"
BEGIN
- VALUE "CompanyName", "SoftwareLabs"
+ VALUE "CompanyName", "Zeta Electronics Corporation"
VALUE "FileDescription", "New OS Zeroconf driver."
VALUE "FileVersion", "1.00"
VALUE "InternalName", "Bonjour."
- VALUE "LegalCopyright", "Copyright SoftwareLabs, all rights reserved."
+ VALUE "LegalCopyright", "Copyright Zeta Electronics Corporation, all rights reserved."
VALUE "OriginalFilename", "Bonjour.exe"
VALUE "ProductName", "Bonjour."
VALUE "ProductVersion", "1.00"
diff --git a/Drv/Bonjour/x86_64.mk b/Drv/Bonjour/x86_64.mk
index 6a020d28..9114f4b4 100644
--- a/Drv/Bonjour/x86_64.mk
+++ b/Drv/Bonjour/x86_64.mk
@@ -1,5 +1,5 @@
##################################################
-# (C) SoftwareLabs, all rights reserved.
+# (C) Zeta Electronics Corporation, all rights reserved.
# This is the sample driver makefile.
##################################################
diff --git a/Drv/SampleDriver/DriverRsrc.rsrc b/Drv/SampleDriver/DriverRsrc.rsrc
index dc819c7e..f8e9c05f 100644
--- a/Drv/SampleDriver/DriverRsrc.rsrc
+++ b/Drv/SampleDriver/DriverRsrc.rsrc
@@ -1,4 +1,4 @@
-1 ICON "../../Kernel/Root/Boot/Icons/driver-logo.ico"
+1 ICON "../../Icons/driver-logo.ico"
1 VERSIONINFO
FILEVERSION 1,0,0,0
@@ -8,11 +8,11 @@ BEGIN
BEGIN
BLOCK "080904E4"
BEGIN
- VALUE "CompanyName", "SoftwareLabs"
+ VALUE "CompanyName", "Zeta Electronics Corporation"
VALUE "FileDescription", "New OS driver."
VALUE "FileVersion", "1.00"
VALUE "InternalName", "SampleDriver"
- VALUE "LegalCopyright", "Copyright SoftwareLabs, all rights reserved."
+ VALUE "LegalCopyright", "Copyright Zeta Electronics Corporation, all rights reserved."
VALUE "OriginalFilename", "SampleDriver.exe"
VALUE "ProductName", "SampleDriver"
VALUE "ProductVersion", "1.00"
diff --git a/Drv/SampleDriver/SampleDriver.c b/Drv/SampleDriver/SampleDriver.c
index 821927be..94d5635b 100644
--- a/Drv/SampleDriver/SampleDriver.c
+++ b/Drv/SampleDriver/SampleDriver.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Drv/SampleDriver/x86_64.mk b/Drv/SampleDriver/x86_64.mk
index 54ee54f0..ec7e09f6 100644
--- a/Drv/SampleDriver/x86_64.mk
+++ b/Drv/SampleDriver/x86_64.mk
@@ -1,5 +1,5 @@
##################################################
-# (C) SoftwareLabs, all rights reserved.
+# (C) Zeta Electronics Corporation, all rights reserved.
# This is the sample driver makefile.
##################################################
diff --git a/Kernel/Root/Boot/Icons/bonjour-logo.ico b/Icons/bonjour-logo.ico
index 568de302..568de302 100644
--- a/Kernel/Root/Boot/Icons/bonjour-logo.ico
+++ b/Icons/bonjour-logo.ico
Binary files differ
diff --git a/Kernel/Root/Boot/Icons/boot-logo.ico b/Icons/boot-logo.ico
index a7edcfe8..a7edcfe8 100644
--- a/Kernel/Root/Boot/Icons/boot-logo.ico
+++ b/Icons/boot-logo.ico
Binary files differ
diff --git a/Kernel/Root/Boot/Icons/driver-logo.ico b/Icons/driver-logo.ico
index dbdcdee1..dbdcdee1 100644
--- a/Kernel/Root/Boot/Icons/driver-logo.ico
+++ b/Icons/driver-logo.ico
Binary files differ
diff --git a/Kernel/Root/Boot/Icons/kernel-logo.ico b/Icons/kernel-logo.ico
index 00724f48..00724f48 100644
--- a/Kernel/Root/Boot/Icons/kernel-logo.ico
+++ b/Icons/kernel-logo.ico
Binary files differ
diff --git a/Kernel/Root/Boot/Icons/settings-icon.ico b/Icons/settings-icon.ico
index 4fd36645..4fd36645 100644
--- a/Kernel/Root/Boot/Icons/settings-icon.ico
+++ b/Icons/settings-icon.ico
Binary files differ
diff --git a/Kernel/Root/Boot/Icons/update-logo.ico b/Icons/update-logo.ico
index 3423d76a..3423d76a 100644
--- a/Kernel/Root/Boot/Icons/update-logo.ico
+++ b/Icons/update-logo.ico
Binary files differ
diff --git a/Kernel/ArchKit/ArchKit.hpp b/Kernel/ArchKit/ArchKit.hpp
index fa899984..419f2c7a 100644
--- a/Kernel/ArchKit/ArchKit.hpp
+++ b/Kernel/ArchKit/ArchKit.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Builtins/ACPI/ACPI.hxx b/Kernel/Builtins/ACPI/ACPI.hxx
index 430a39f4..019bcb11 100644
--- a/Kernel/Builtins/ACPI/ACPI.hxx
+++ b/Kernel/Builtins/ACPI/ACPI.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Builtins/ACPI/ACPIFactoryInterface.hxx b/Kernel/Builtins/ACPI/ACPIFactoryInterface.hxx
index d894101e..7da42f33 100644
--- a/Kernel/Builtins/ACPI/ACPIFactoryInterface.hxx
+++ b/Kernel/Builtins/ACPI/ACPIFactoryInterface.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Builtins/AHCI/AHCI.hxx b/Kernel/Builtins/AHCI/AHCI.hxx
index fe31fb7a..a62d02cd 100644
--- a/Kernel/Builtins/AHCI/AHCI.hxx
+++ b/Kernel/Builtins/AHCI/AHCI.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Defines.hxx
Purpose: AHCI header.
diff --git a/Kernel/Builtins/ATA/ATA.hxx b/Kernel/Builtins/ATA/ATA.hxx
index 274a4321..98732c72 100644
--- a/Kernel/Builtins/ATA/ATA.hxx
+++ b/Kernel/Builtins/ATA/ATA.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Defines.hxx
Purpose: ATA header.
diff --git a/Kernel/Builtins/Toolbox/Toolbox.hxx b/Kernel/Builtins/GX/GX
index e65da9d2..62fdb006 100644
--- a/Kernel/Builtins/Toolbox/Toolbox.hxx
+++ b/Kernel/Builtins/GX/GX
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -8,22 +8,15 @@
#include <NewKit/Defines.hpp>
-EXTERN_C NewOS::Void _hal_init_mouse();
-EXTERN_C NewOS::Boolean _hal_draw_mouse();
-EXTERN_C NewOS::Void _hal_handle_mouse();
-EXTERN_C NewOS::Boolean _hal_left_button_pressed();
-EXTERN_C NewOS::Boolean _hal_middle_button_pressed();
-EXTERN_C NewOS::Boolean _hal_right_button_pressed();
+#define GXInit() NewOS::SizeT __GXCursor = 0
-#define ToolboxInitRsrc() NewOS::SizeT __ToolboxCursor = 0
+#define gxClearClr RGB(00, 00, 00)
-#define kClearClr RGB(00, 00, 00)
-
-#define ToolboxClearRsrc() __ToolboxCursor = 0
+#define GXFini() __GXCursor = 0
/// @brief Performs OR drawing on the framebuffer.
-#define ToolboxDrawOrRsrc(ImgPtr, _Height, _Width, BaseX, BaseY) \
- __ToolboxCursor = 0; \
+#define GXDrawAlphaImg(ImgPtr, _Height, _Width, BaseX, BaseY) \
+ __GXCursor = 0; \
\
for (NewOS::SizeT i = BaseX; i < (_Height + BaseX); ++i) \
{ \
@@ -32,15 +25,15 @@ EXTERN_C NewOS::Boolean _hal_right_button_pressed();
*(((volatile NewOS::UInt32*)(kHandoverHeader->f_GOP.f_The + \
4 * kHandoverHeader->f_GOP.f_PixelPerLine * \
i + \
- 4 * u))) |= ImgPtr[__ToolboxCursor]; \
+ 4 * u))) |= ImgPtr[__GXCursor]; \
\
- ++__ToolboxCursor; \
+ ++__GXCursor; \
} \
}
/// @brief Draws a resource.
-#define ToolboxDrawRsrc(ImgPtr, _Height, _Width, BaseX, BaseY) \
- __ToolboxCursor = 0; \
+#define GXDrawImg(ImgPtr, _Height, _Width, BaseX, BaseY) \
+ __GXCursor = 0; \
\
for (NewOS::SizeT i = BaseX; i < (_Height + BaseX); ++i) \
{ \
@@ -49,14 +42,14 @@ EXTERN_C NewOS::Boolean _hal_right_button_pressed();
*(((volatile NewOS::UInt32*)(kHandoverHeader->f_GOP.f_The + \
4 * kHandoverHeader->f_GOP.f_PixelPerLine * \
i + \
- 4 * u))) = ImgPtr[__ToolboxCursor]; \
+ 4 * u))) = ImgPtr[__GXCursor]; \
\
- ++__ToolboxCursor; \
+ ++__GXCursor; \
} \
}
/// @brief Cleans a resource.
-#define ToolboxClearZone(_Height, _Width, BaseX, BaseY) \
+#define GXClear(_Height, _Width, BaseX, BaseY) \
\
for (NewOS::SizeT i = BaseX; i < _Height + BaseX; ++i) \
{ \
@@ -65,12 +58,12 @@ EXTERN_C NewOS::Boolean _hal_right_button_pressed();
*(((volatile NewOS::UInt32*)(kHandoverHeader->f_GOP.f_The + \
4 * kHandoverHeader->f_GOP.f_PixelPerLine * \
i + \
- 4 * u))) = kClearClr; \
+ 4 * u))) = gxClearClr; \
} \
}
/// @brief Draws inside a zone.
-#define ToolboxDrawZone(_Clr, _Height, _Width, BaseX, BaseY) \
+#define GXDraw(_Clr, _Height, _Width, BaseX, BaseY) \
\
for (NewOS::SizeT i = BaseX; i < (_Width + BaseX); ++i) \
{ \
@@ -82,3 +75,17 @@ EXTERN_C NewOS::Boolean _hal_right_button_pressed();
4 * u))) = _Clr; \
} \
}
+
+/// This is enabled if Cairo is compiled with GX.
+#ifdef __CG_USE_GX__
+/// @brief This function creates a new framebuffer for GX.
+/// @return
+inline cairo_surface_t* GXCreateFramebufferCairo()
+{
+ cairo_format_t format = CAIRO_FORMAT_ARGB32;
+
+ NewOS::Int32 stride = cairo_format_stride_for_width(format, kHandoverHeader->f_GOP.f_Width);
+
+ return cairo_image_surface_create_for_data((unsigned char *)kHandoverHeader->f_GOP.f_The, format, kHandoverHeader->f_GOP.f_Width, kHandoverHeader->f_GOP.f_Height, stride);
+}
+#endif
diff --git a/Kernel/Builtins/Toolbox/Lerp.hxx b/Kernel/Builtins/GX/Lerp
index f987457f..eff198ee 100644
--- a/Kernel/Builtins/Toolbox/Lerp.hxx
+++ b/Kernel/Builtins/GX/Lerp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -9,12 +9,14 @@
/// @file Lerp.hxx
/// @brief Linear interpolation implementation.
+typedef float GXReal;
+
/// @brief Linear interpolation equation solver.
/// @param from where?
/// @param to to?
/// @param at which state we're at **to**.
-inline int Lerp(int from, int to, float percent) noexcept
+inline GXReal GXLerp(GXReal to, GXReal from, GXReal stat)
{
- int difference = to - from;
- return from + (difference * percent);
+ register GXReal difference = to - from;
+ return from + (difference * stat);
}
diff --git a/Kernel/Builtins/Toolbox/Rsrc/Cursor.rsrc b/Kernel/Builtins/GX/Rsrc/Cursor.rsrc
index 7943b805..2283cb32 100644
--- a/Kernel/Builtins/Toolbox/Rsrc/Cursor.rsrc
+++ b/Kernel/Builtins/GX/Rsrc/Cursor.rsrc
@@ -1,8 +1,9 @@
-#define CURSOR_HEIGHT 57
-#define CURSOR_WIDTH 53
+#define cCurHeight (57)
+#define cCurWidth (53)
-// array size is 9063
-static const unsigned int Cursor[] = {
+#define cCurLength (3021)
+
+static const unsigned int Cursor[cCurLength] = {
0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000,
0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000,
0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000,
diff --git a/Kernel/Builtins/HPET/Defines.hxx b/Kernel/Builtins/HPET/Defines.hxx
index e070624b..697eee65 100644
--- a/Kernel/Builtins/HPET/Defines.hxx
+++ b/Kernel/Builtins/HPET/Defines.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: HPET.hxx
Purpose: HPET builtin.
diff --git a/Kernel/Builtins/MBCI/Interface.hxx b/Kernel/Builtins/MBCI/Interface.hxx
index 071ba708..3c504376 100644
--- a/Kernel/Builtins/MBCI/Interface.hxx
+++ b/Kernel/Builtins/MBCI/Interface.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Builtins/MBCI/MBCI.hxx b/Kernel/Builtins/MBCI/MBCI.hxx
index dbffa7d0..ab5dabf1 100644
--- a/Kernel/Builtins/MBCI/MBCI.hxx
+++ b/Kernel/Builtins/MBCI/MBCI.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Builtins/PS2/PS2MouseInterface.hxx b/Kernel/Builtins/PS2/PS2MouseInterface.hxx
index 9e1054bb..124d4380 100644
--- a/Kernel/Builtins/PS2/PS2MouseInterface.hxx
+++ b/Kernel/Builtins/PS2/PS2MouseInterface.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: PS2MouseInterface.hxx
Purpose: PS/2 mouse.
diff --git a/Kernel/Builtins/ReadMe.txt b/Kernel/Builtins/ReadMe.txt
index b090b2e5..b0a5a327 100644
--- a/Kernel/Builtins/ReadMe.txt
+++ b/Kernel/Builtins/ReadMe.txt
@@ -14,6 +14,6 @@ Maintainers/Authors
ACPIFactoryInterface: Amlal EL Mahrouss.
AHCI: Amlal EL Mahrouss.
-Toolbox: Amlal EL Mahrouss.
+GX: Amlal EL Mahrouss.
PS2: Amlal EL Mahrouss
ATA: Amlal EL Mahrouss \ No newline at end of file
diff --git a/Kernel/Builtins/SCSI/SCSI.hxx b/Kernel/Builtins/SCSI/SCSI.hxx
index b6fb9c71..a0feb649 100644
--- a/Kernel/Builtins/SCSI/SCSI.hxx
+++ b/Kernel/Builtins/SCSI/SCSI.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Builtins/XHCI/Defines.hxx b/Kernel/Builtins/XHCI/Defines.hxx
index 56f228dd..91147a58 100644
--- a/Kernel/Builtins/XHCI/Defines.hxx
+++ b/Kernel/Builtins/XHCI/Defines.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Defines.hxx
Purpose: XHCI (and backwards) header.
diff --git a/Kernel/CFKit/GUIDWizard.hpp b/Kernel/CFKit/GUIDWizard.hpp
index f81bff5f..34c38e8d 100644
--- a/Kernel/CFKit/GUIDWizard.hpp
+++ b/Kernel/CFKit/GUIDWizard.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CFKit/GUIDWrapper.hpp b/Kernel/CFKit/GUIDWrapper.hpp
index 706bcdc8..d25895b8 100644
--- a/Kernel/CFKit/GUIDWrapper.hpp
+++ b/Kernel/CFKit/GUIDWrapper.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CFKit/Property.hpp b/Kernel/CFKit/Property.hpp
index c4699599..7667194f 100644
--- a/Kernel/CFKit/Property.hpp
+++ b/Kernel/CFKit/Property.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CFKit/URL.hpp b/Kernel/CFKit/URL.hpp
index b8b7c89f..daf6a356 100644
--- a/Kernel/CFKit/URL.hpp
+++ b/Kernel/CFKit/URL.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CRT/__mpcc_alloca.hxx b/Kernel/CRT/__mpcc_alloca.hxx
index a1c638e2..19ebaaf8 100644
--- a/Kernel/CRT/__mpcc_alloca.hxx
+++ b/Kernel/CRT/__mpcc_alloca.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CRT/__mpcc_defines.hxx b/Kernel/CRT/__mpcc_defines.hxx
index 00374eb4..55bf7b2b 100644
--- a/Kernel/CRT/__mpcc_defines.hxx
+++ b/Kernel/CRT/__mpcc_defines.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CRT/__mpcc_exception.hxx b/Kernel/CRT/__mpcc_exception.hxx
index fd619c34..4e525353 100644
--- a/Kernel/CRT/__mpcc_exception.hxx
+++ b/Kernel/CRT/__mpcc_exception.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CRT/__mpcc_malloc.hxx b/Kernel/CRT/__mpcc_malloc.hxx
index 9d41d20e..3d736f2a 100644
--- a/Kernel/CRT/__mpcc_malloc.hxx
+++ b/Kernel/CRT/__mpcc_malloc.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CompilerKit/CompilerKit.hxx b/Kernel/CompilerKit/CompilerKit.hxx
index e2aaff11..5d51118e 100644
--- a/Kernel/CompilerKit/CompilerKit.hxx
+++ b/Kernel/CompilerKit/CompilerKit.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/CompilerKit/Detail.hxx b/Kernel/CompilerKit/Detail.hxx
index 2bb73a7b..c51b84ab 100644
--- a/Kernel/CompilerKit/Detail.hxx
+++ b/Kernel/CompilerKit/Detail.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Docs/SPECIFICATION.md b/Kernel/Docs/SPECIFICATION.md
index 6f9ac3d3..e58d63ee 100644
--- a/Kernel/Docs/SPECIFICATION.md
+++ b/Kernel/Docs/SPECIFICATION.md
@@ -24,7 +24,7 @@
- Thread Local Storage.
- Semaphore, Locks, Timers.
- Canary mechanisms.
-- Dynamic Libraries.
+- Dynamic Sys.
- Cross Platform.
- Permission Selectors.
diff --git a/Kernel/FSKit/Defines.hxx b/Kernel/FSKit/Defines.hxx
index 046cda8e..c70e86cc 100644
--- a/Kernel/FSKit/Defines.hxx
+++ b/Kernel/FSKit/Defines.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/FSKit/IndexableProperty.hxx b/Kernel/FSKit/IndexableProperty.hxx
index 1c8aafeb..ef742a8e 100644
--- a/Kernel/FSKit/IndexableProperty.hxx
+++ b/Kernel/FSKit/IndexableProperty.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/FSKit/NewFS.hxx b/Kernel/FSKit/NewFS.hxx
index e2ae81a6..df4e7ea4 100644
--- a/Kernel/FSKit/NewFS.hxx
+++ b/Kernel/FSKit/NewFS.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: NewFS.hxx
Purpose:
diff --git a/Kernel/FirmwareKit/EFI.hxx b/Kernel/FirmwareKit/EFI.hxx
index d09e6407..4b230489 100644
--- a/Kernel/FirmwareKit/EFI.hxx
+++ b/Kernel/FirmwareKit/EFI.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/FirmwareKit/EFI/API.hxx b/Kernel/FirmwareKit/EFI/API.hxx
index 8e8183d6..c6d02a3e 100644
--- a/Kernel/FirmwareKit/EFI/API.hxx
+++ b/Kernel/FirmwareKit/EFI/API.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -21,7 +21,7 @@ class BTextWriter;
#include <BootKit/BootKit.hxx>
#include <BootKit/Rsrc/NewBootFatal.rsrc>
#include <BootKit/Vendor/Qr.hxx>
-#include <Builtins/Toolbox/Toolbox.hxx>
+#include <Builtins/GX/GX>
#endif // ifdef __NEWBOOT__
inline EfiSystemTable* ST = nullptr;
@@ -89,13 +89,13 @@ Bascially frees everything we have in the EFI side.
#endif // ifdef __DEBUG__
#ifdef __NEWBOOT__
- ToolboxInitRsrc();
+ GXInit();
- ToolboxDrawRsrc(NewBootFatal, NEWBOOTFATAL_HEIGHT, NEWBOOTFATAL_WIDTH,
+ GXDrawImg(NewBootFatal, NEWBOOTFATAL_HEIGHT, NEWBOOTFATAL_WIDTH,
(kHandoverHeader->f_GOP.f_Width - NEWBOOTFATAL_WIDTH) / 2,
(kHandoverHeader->f_GOP.f_Height - NEWBOOTFATAL_HEIGHT) / 2);
- ToolboxClearRsrc();
+ GXFini();
/// Show the QR code now.
diff --git a/Kernel/FirmwareKit/EFI/EFI.hxx b/Kernel/FirmwareKit/EFI/EFI.hxx
index 2e1ef4d6..ae3bd042 100644
--- a/Kernel/FirmwareKit/EFI/EFI.hxx
+++ b/Kernel/FirmwareKit/EFI/EFI.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/FirmwareKit/EPM.hxx b/Kernel/FirmwareKit/EPM.hxx
index aa5dc92a..7c4b37b6 100644
--- a/Kernel/FirmwareKit/EPM.hxx
+++ b/Kernel/FirmwareKit/EPM.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -83,6 +83,10 @@ struct PACKED PartitionBlock
#define kEPMMagicUEFI "EPMUE"
+/* @brief CoreBoot magic for EPM */
+
+#define kEPMMagicCoreBoot "EPMCB"
+
/* @brief Invalid magic for EPM */
#define kEPMMagicError "EPM??"
@@ -104,7 +108,7 @@ typedef struct PartitionBlock PartitionBlockType;
#ifdef __x86_64__
#define kEPMMagic kEPMMagic86
#else
-#ifdef __powerpc
+#ifdef __powerpc64__
#define kEPMMagic kEPMMagicPPC
#else
#define kEPMMagic kEPMMagicError
@@ -113,16 +117,16 @@ typedef struct PartitionBlock PartitionBlockType;
///! @brief partition must start at this address.
///! Anything below is reserved for Data backup by the Main OS.
-#define kEPMStartPartitionBlk (sizeof(BootBlock))
+#define kEPMStartPartitionBlk (sizeof(BootBlock))
///! @brief Current EPM revision (2)
-#define kEPMRevision (2)
+#define kEPMRevision (3)
///! @brief Current EPM revision (2)
-#define kEPMRevisionUEFI (0xF)
+#define kEPMRevisionUEFI (0xF)
/* @brief Maximum block count. */
-#define kEPMMaxBlks 128
+#define kEPMMaxBlks (128)
/// END OF SPECS
diff --git a/Kernel/FirmwareKit/Handover.hxx b/Kernel/FirmwareKit/Handover.hxx
index 1a7d1da7..19602fc3 100644
--- a/Kernel/FirmwareKit/Handover.hxx
+++ b/Kernel/FirmwareKit/Handover.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -11,7 +11,7 @@
* @version 0.3
* @date 2024-02-23
*
- * @copyright Copyright (c) 2024, SoftwareLabs
+ * @copyright Copyright (c) 2024, Zeta Electronics Corporation
*
*/
diff --git a/Kernel/HALKit/64x0/HalVirtualMemory.cxx b/Kernel/HALKit/64x0/HalVirtualMemory.cxx
index eec86fc2..bb4357f4 100644
--- a/Kernel/HALKit/64x0/HalVirtualMemory.cxx
+++ b/Kernel/HALKit/64x0/HalVirtualMemory.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/64x0/ReadMe.md b/Kernel/HALKit/64x0/ReadMe.md
index 6744f602..a22d0385 100644
--- a/Kernel/HALKit/64x0/ReadMe.md
+++ b/Kernel/HALKit/64x0/ReadMe.md
@@ -1,4 +1,4 @@
64x0 Hardware Abstraction Layer
-- Supported CPU: SoftwareLabs 64x0
+- Supported CPU: Zeta Electronics Corporation 64x0
- Supported Firmware: CoreBoot \ No newline at end of file
diff --git a/Kernel/HALKit/AMD64/CPUID.hxx b/Kernel/HALKit/AMD64/CPUID.hxx
index 976a521e..602b2466 100644
--- a/Kernel/HALKit/AMD64/CPUID.hxx
+++ b/Kernel/HALKit/AMD64/CPUID.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: CPUID.hxx
Purpose: CPUID flags.
diff --git a/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx b/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx
index 14241f60..057ba61b 100644
--- a/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx
+++ b/Kernel/HALKit/AMD64/HalACPIFactoryInterface.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalControlRegister.s b/Kernel/HALKit/AMD64/HalControlRegister.s
index 7798ea09..20eda96f 100644
--- a/Kernel/HALKit/AMD64/HalControlRegister.s
+++ b/Kernel/HALKit/AMD64/HalControlRegister.s
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp b/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
index 6d831d3b..5f64cc20 100644
--- a/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
+++ b/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp
index a184efc2..f15faf3c 100644
--- a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp
+++ b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -8,12 +8,22 @@
#include <HALKit/AMD64/Processor.hpp>
#include <NewKit/KernelCheck.hpp>
#include <ArchKit/ArchKit.hpp>
+#include <KernelKit/Semaphore.hpp>
+#include <KernelKit/ProcessScheduler.hxx>
#define kAPIC_ICR_Low 0x300
#define kAPIC_ICR_High 0x310
#define kAPIC_SIPI_Vector 0x00500
#define kAPIC_EIPI_Vector 0x00400
+/// @brief This symbol is the kernel main symbol.
+EXTERN_C void KeMain();
+
+/// @brief assembly routine. internal use only.
+EXTERN_C void _hal_enable_smp(void);
+
+/// @note: _hal_switch_context
+
///////////////////////////////////////////////////////////////////////////////////////
//! NOTE: fGSI stands 'Field Global System Interrupt'
@@ -102,9 +112,22 @@ namespace NewOS::HAL
UIntPtr Address;
};
+ STATIC Void hal_switch_context(HAL::StackFramePtr stackFrame);
+
///////////////////////////////////////////////////////////////////////////////////////
- STATIC MadtType* kApicInfoBlock = nullptr;
+ STATIC MadtType* kApicInfoBlock = nullptr;
+ STATIC UIntPtr kApicMadtAddresses[255] = {0};
+ STATIC SizeT kApicMadtAddressesCount = 0UL;
+ STATIC UIntPtr cBaseAddressAPIC = 0xFEE00000;
+
+ /// @brief this will help us schedule our cores.
+ STATIC Boolean* cProgramInitialized = nullptr;
+
+ enum
+ {
+ cAPICEOI = 0xb0,
+ };
///////////////////////////////////////////////////////////////////////////////////////
@@ -119,6 +142,8 @@ namespace NewOS::HAL
NewOS::ke_dma_write(targetAddress, kAPIC_ICR_Low, kAPIC_SIPI_Vector | vector);
}
+ EXTERN_C Void _hal_spin_core(Void);
+
/// @brief Send end IPI for CPU.
/// @param apicId
/// @param vector
@@ -130,6 +155,63 @@ namespace NewOS::HAL
NewOS::ke_dma_write(targetAddress, kAPIC_ICR_Low, kAPIC_EIPI_Vector | vector);
}
+ STATIC HAL::StackFramePtr cFramePtr = nullptr;
+
+ EXTERN_C Void hal_apic_acknowledge_cont(Void)
+ {
+ kcout << "newoskrnl: finish kernel init... \r";
+
+ if (cProgramInitialized &&
+ *cProgramInitialized)
+ {
+ *cProgramInitialized = false;
+
+ kcout << "newoskrnl: putting thread to sleep...\r";
+
+ _hal_spin_core();
+ }
+ else
+ {
+ KeMain();
+
+ _hal_spin_core();
+ }
+ }
+
+ EXTERN_C StackFramePtr _hal_leak_current_context(Void)
+ {
+ return cFramePtr;
+ }
+
+ EXTERN_C Void hal_apic_acknowledge(Void)
+ {
+ hal_apic_acknowledge_cont();
+ }
+
+ EXTERN_C Void _hal_switch_context(HAL::StackFramePtr stackFrame)
+ {
+ hal_switch_context(stackFrame);
+ }
+
+ STATIC Void hal_switch_context(HAL::StackFramePtr stackFrame)
+ {
+ Semaphore sem;
+ while (sem.IsLocked())
+ {
+ }
+
+ sem.Lock(&ProcessScheduler::The().Leak().GetCurrent().Leak());
+
+ cFramePtr = stackFrame;
+
+ /// yes the exception field contains the core id.
+ hal_send_start_ipi(stackFrame->Exception, 0x40, cBaseAddressAPIC);
+
+ sem.Unlock();
+ }
+
+ /// @brief Fetch and enable cores inside main CPU.
+ /// @param rsdPtr RSD PTR structure.
Void hal_system_get_cores(voidPtr rsdPtr)
{
auto acpi = ACPIFactoryInterface(rsdPtr);
@@ -139,20 +221,50 @@ namespace NewOS::HAL
{
MadtType* madt = (MadtType*)kApicMadt;
- constexpr auto cMaxProbableCores = 4;
+ constexpr auto cMaxProbableCores = 4; // the amount of cores we want.
+ constexpr auto cStartAt = 0; // start here to avoid boot core.
+
+ for (SizeT coreAt = cStartAt; coreAt < cMaxProbableCores; ++coreAt)
+ {
+ if (madt->MadtRecords[coreAt].Flags == kThreadLAPIC) // if local apic.
+ {
+ MadtType::MadtAddress& madtRecord = madt->MadtRecords[coreAt];
+
+ // then register as a core for scheduler.
+ kcout << "newoskrnl: register core as scheduler thread.\r";
+
+ kApicMadtAddresses[kApicMadtAddressesCount] = madtRecord.Address;
+ ++kApicMadtAddressesCount;
+ }
+ }
+
+ ///////////////////////////////////////////////////////////////////////////
+ /// Start local APIC now.
+ ///////////////////////////////////////////////////////////////////////////
+
+ auto flagsSet = NewOS::ke_dma_read(cBaseAddressAPIC, 0xF0); // SVR register.
+
+ // enable APIC.
+ flagsSet |= 0x100;
+
+ NewOS::ke_dma_write(cBaseAddressAPIC, 0xF0, flagsSet);
+
+ /// Set sprurious interrupt vector.
+ NewOS::ke_dma_write(cBaseAddressAPIC, 0xF0, 0x100 | 0xFF);
+
+ // highest task priority. for our realtime kernel.
+ NewOS::ke_dma_write(cBaseAddressAPIC, 0x21, 0);
+
+ cProgramInitialized = new Boolean(true);
+
+ constexpr auto cWhereToInterrupt = 0x40;
+ constexpr auto cWhatCore = 1;
- for (SizeT i = 0; i < cMaxProbableCores; ++i)
- {
- if (madt->MadtRecords[i].Flags == 0x01) // if local apic.
- {
- // then register as a core for scheduler.
- kcout << "newoskrnl: register core as scheduler thread.\r";
- }
- }
+ hal_send_start_ipi(cWhatCore, cWhereToInterrupt, cBaseAddressAPIC);
}
else
{
- kcout << "newoskrnl: APIC is not present! it is a vital component.\r";
+ kcout << "newoskrnl: APIC is not present! it is a vital component to enable SMP.\r";
ke_stop(RUNTIME_CHECK_FAILED);
}
}
diff --git a/Kernel/HALKit/AMD64/HalDebugOutput.cxx b/Kernel/HALKit/AMD64/HalDebugOutput.cxx
index 22d5c072..25c1546e 100644
--- a/Kernel/HALKit/AMD64/HalDebugOutput.cxx
+++ b/Kernel/HALKit/AMD64/HalDebugOutput.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalDebugPort.cxx b/Kernel/HALKit/AMD64/HalDebugPort.cxx
index bc85746d..2644e247 100644
--- a/Kernel/HALKit/AMD64/HalDebugPort.cxx
+++ b/Kernel/HALKit/AMD64/HalDebugPort.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp b/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp
index 253c2f41..48f57cc0 100644
--- a/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp
+++ b/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalHardwareMP.cpp b/Kernel/HALKit/AMD64/HalHardwareMP.cpp
index 9c034362..92e075aa 100644
--- a/Kernel/HALKit/AMD64/HalHardwareMP.cpp
+++ b/Kernel/HALKit/AMD64/HalHardwareMP.cpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalInstallTIB.asm b/Kernel/HALKit/AMD64/HalInstallTIB.asm
index a5f3ef73..f53fb14e 100644
--- a/Kernel/HALKit/AMD64/HalInstallTIB.asm
+++ b/Kernel/HALKit/AMD64/HalInstallTIB.asm
@@ -2,7 +2,7 @@
;; * ========================================================
;; *
;; * NewOS
-;; * Copyright SoftwareLabs, all rights reserved.
+;; * Copyright Zeta Electronics Corporation, all rights reserved.
;; *
;; * ========================================================
;; */
diff --git a/Kernel/HALKit/AMD64/HalInterruptAPI.asm b/Kernel/HALKit/AMD64/HalInterruptAPI.asm
index 875a1abc..ef5a8319 100644
--- a/Kernel/HALKit/AMD64/HalInterruptAPI.asm
+++ b/Kernel/HALKit/AMD64/HalInterruptAPI.asm
@@ -1,7 +1,7 @@
;; /*
;; * ---------------------------------------------------
;; *
-;; * Copyright SoftwareLabs, all rights reserved.
+;; * Copyright Zeta Electronics Corporation, all rights reserved.
;; *
;; * File: HalInterruptAPI.asm
;; * Purpose: Interrupt routing, redirect raw interrupts into their handlers.
@@ -14,7 +14,7 @@
%define kInterruptId 0x21
%macro IntExp 1
-global __NEW_INT_%1
+global __NEW_INT_%1
__NEW_INT_%1:
cld
@@ -22,7 +22,7 @@ __NEW_INT_%1:
%endmacro
%macro IntNormal 1
-global __NEW_INT_%1
+global __NEW_INT_%1
__NEW_INT_%1:
cld
@@ -100,7 +100,7 @@ __NEW_INT_14:
sti
iretq
-
+
IntNormal 15
IntNormal 16
IntExp 17
@@ -120,7 +120,49 @@ IntExp 30
IntNormal 31
-IntNormal 32
+[extern hal_apic_acknowledge]
+
+__NEW_INT_32:
+ push rax
+ push rcx
+ push rdx
+ push rbx
+ push rbp
+ push rsi
+ push rdi
+ push r8
+ push r9
+ push r10
+ push r11
+ push r12
+ push r13
+ push r14
+ push r15
+
+ jmp hal_apic_acknowledge
+
+ pop r15
+ pop r14
+ pop r13
+ pop r12
+ pop r11
+ pop r10
+ pop r9
+ pop r8
+ pop rdi
+ pop rsi
+ pop rbp
+ pop rbx
+ pop rdx
+ pop rcx
+ pop rax
+
+ mov eax, 0
+
+ ;; tell there local apic that we're done.
+ mov dword [0xFEE00000 + 0xB0], eax ; LAPIC_EOI
+
+ iretq
IntNormal 33
diff --git a/Kernel/HALKit/AMD64/HalKernelMain.cxx b/Kernel/HALKit/AMD64/HalKernelMain.cxx
index 3136bf76..708004b3 100644
--- a/Kernel/HALKit/AMD64/HalKernelMain.cxx
+++ b/Kernel/HALKit/AMD64/HalKernelMain.cxx
@@ -1,11 +1,11 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#include <ArchKit/ArchKit.hpp>
-#include <Builtins/Toolbox/Toolbox.hxx>
+#include <Builtins/GX/GX>
#include <FirmwareKit/Handover.hxx>
#include <KernelKit/FileManager.hpp>
#include <KernelKit/Framebuffer.hpp>
@@ -16,7 +16,6 @@
#include <NewKit/Json.hpp>
EXTERN_C NewOS::VoidPtr kInterruptVectorTable[];
-EXTERN_C void AppMain();
namespace NewOS::HAL
{
@@ -77,9 +76,9 @@ EXTERN_C void hal_init_platform(
NewOS::HAL::hal_system_get_cores(kHandoverHeader->f_HardwareTables.f_RsdPtr);
- /// END POST
+ NewOS::kcout << "newoskrnl: We're done here...\r";
- AppMain();
-
- NewOS::ke_stop(RUNTIME_CHECK_BOOTSTRAP);
+ while (true)
+ {
+ }
}
diff --git a/Kernel/HALKit/AMD64/HalKernelMouse.cxx b/Kernel/HALKit/AMD64/HalKernelMouse.cxx
index 1e1ddd5b..8dbd328a 100644
--- a/Kernel/HALKit/AMD64/HalKernelMouse.cxx
+++ b/Kernel/HALKit/AMD64/HalKernelMouse.cxx
@@ -1,12 +1,12 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#include <Builtins/PS2/PS2MouseInterface.hxx>
-#include <Builtins/Toolbox/Toolbox.hxx>
-#include <Builtins/Toolbox/Rsrc/Cursor.rsrc>
+#include <Builtins/GX/GX>
+#include <Builtins/GX/Rsrc/Cursor.rsrc>
#include <KernelKit/Framebuffer.hpp>
#include <NewKit/Defines.hpp>
@@ -23,7 +23,7 @@ STATIC NewOS::PS2MouseInterface kMousePS2;
STATIC NewOS::Char kMousePacket[4] = {};
STATIC NewOS::Boolean kMousePacketReady = false;
-STATIC ToolboxInitRsrc();
+STATIC GXInit();
#define kPS2Leftbutton 0b00000001
#define kPS2Middlebutton 0b00000010
diff --git a/Kernel/HALKit/AMD64/HalNewBoot.asm b/Kernel/HALKit/AMD64/HalNewBoot.asm
index 7c60d363..3de6f38c 100644
--- a/Kernel/HALKit/AMD64/HalNewBoot.asm
+++ b/Kernel/HALKit/AMD64/HalNewBoot.asm
@@ -2,7 +2,7 @@
;; * ========================================================
;; *
;; * NewOS
-;; * Copyright SoftwareLabs, all rights reserved.
+;; * Copyright Zeta Electronics Corporation, all rights reserved.
;; *
;; * ========================================================
;; */
diff --git a/Kernel/HALKit/AMD64/HalPageAlloc.cpp b/Kernel/HALKit/AMD64/HalPageAlloc.cpp
index 4658a8aa..ac043cff 100644
--- a/Kernel/HALKit/AMD64/HalPageAlloc.cpp
+++ b/Kernel/HALKit/AMD64/HalPageAlloc.cpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalPageAlloc.hpp b/Kernel/HALKit/AMD64/HalPageAlloc.hpp
index cede1b41..29947f2f 100644
--- a/Kernel/HALKit/AMD64/HalPageAlloc.hpp
+++ b/Kernel/HALKit/AMD64/HalPageAlloc.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalProcessor.cpp b/Kernel/HALKit/AMD64/HalProcessor.cpp
index 8cbfba6a..0aa69dae 100644
--- a/Kernel/HALKit/AMD64/HalProcessor.cpp
+++ b/Kernel/HALKit/AMD64/HalProcessor.cpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalSMPCore.cxx b/Kernel/HALKit/AMD64/HalSMPCore.cxx
index 7aa13068..34061b09 100644
--- a/Kernel/HALKit/AMD64/HalSMPCore.cxx
+++ b/Kernel/HALKit/AMD64/HalSMPCore.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/HalSMPCoreManager.asm b/Kernel/HALKit/AMD64/HalSMPCoreManager.asm
index 18f80398..c4042b50 100644
--- a/Kernel/HALKit/AMD64/HalSMPCoreManager.asm
+++ b/Kernel/HALKit/AMD64/HalSMPCoreManager.asm
@@ -2,7 +2,7 @@
;; * ========================================================
;; *
;; * NewOS
-;; * Copyright SoftwareLabs, all rights reserved.
+;; * Copyright Zeta Electronics Corporation, all rights reserved.
;; *
;; * ========================================================
;; */
@@ -11,6 +11,10 @@
[global rt_get_current_context]
[global rt_do_context_switch]
+[global _hal_enable_smp]
+[global _hal_spin_core]
+[extern _hal_switch_context]
+[extern _hal_leak_current_context]
section .text
@@ -18,9 +22,66 @@ section .text
;; rcx: Stack Pointer
;; rdx: SMP core address.
rt_do_context_switch:
-
+ push rax
+ push rcx
+ push rdx
+ push rbx
+ push rbp
+ push rsi
+ push rdi
+ push r8
+ push r9
+ push r10
+ push r11
+ push r12
+ push r13
+ push r14
+ push r15
+
+ jmp _hal_switch_context
+
+ pop r15
+ pop r14
+ pop r13
+ pop r12
+ pop r11
+ pop r10
+ pop r9
+ pop r8
+ pop rdi
+ pop rsi
+ pop rbp
+ pop rbx
+ pop rdx
+ pop rcx
+ pop rax
+
+ mov eax, 0
+
retfq
;; gets the current stack frame.
rt_get_current_context:
+ push rdx
+ jmp _hal_leak_current_context
+ mov rdx, rax
+ pop rdx
retfq
+
+;; @brief enables a smp core to run.
+_hal_enable_smp:
+; Read the APIC base MSR
+ mov ecx, 0x1B ; IA32_APIC_BASE MSR
+ rdmsr
+ ; Enable the APIC by setting bit 11 (APIC Global Enable)
+ or rdx, 0x800
+ ; Set the base address (0xFEE00000)
+ mov eax, 0xFEE
+ shl rax, 12
+ or rax, rdx
+ wrmsr
+ ret
+
+_hal_spin_core:
+ jmp $
+ ret
diff --git a/Kernel/HALKit/AMD64/Hypervisor.hpp b/Kernel/HALKit/AMD64/Hypervisor.hpp
index ad2b69fd..05e127c2 100644
--- a/Kernel/HALKit/AMD64/Hypervisor.hpp
+++ b/Kernel/HALKit/AMD64/Hypervisor.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/PCI/Database.cxx b/Kernel/HALKit/AMD64/PCI/Database.cxx
index 77c735fb..631ed79f 100644
--- a/Kernel/HALKit/AMD64/PCI/Database.cxx
+++ b/Kernel/HALKit/AMD64/PCI/Database.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/PCI/Device.cxx b/Kernel/HALKit/AMD64/PCI/Device.cxx
index 0574b06a..9e18581d 100644
--- a/Kernel/HALKit/AMD64/PCI/Device.cxx
+++ b/Kernel/HALKit/AMD64/PCI/Device.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/PCI/Dma.cxx b/Kernel/HALKit/AMD64/PCI/Dma.cxx
index 4ac294df..e58ea175 100644
--- a/Kernel/HALKit/AMD64/PCI/Dma.cxx
+++ b/Kernel/HALKit/AMD64/PCI/Dma.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/PCI/Express.cxx b/Kernel/HALKit/AMD64/PCI/Express.cxx
index 53b9c579..daa3f0ba 100644
--- a/Kernel/HALKit/AMD64/PCI/Express.cxx
+++ b/Kernel/HALKit/AMD64/PCI/Express.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/PCI/IO.cxx b/Kernel/HALKit/AMD64/PCI/IO.cxx
index d506ad5f..24ee05b3 100644
--- a/Kernel/HALKit/AMD64/PCI/IO.cxx
+++ b/Kernel/HALKit/AMD64/PCI/IO.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/PCI/Iterator.cxx b/Kernel/HALKit/AMD64/PCI/Iterator.cxx
index d1ac4aef..8675f171 100644
--- a/Kernel/HALKit/AMD64/PCI/Iterator.cxx
+++ b/Kernel/HALKit/AMD64/PCI/Iterator.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/PCI/PCI.cxx b/Kernel/HALKit/AMD64/PCI/PCI.cxx
index b22ba951..eaf7f20a 100644
--- a/Kernel/HALKit/AMD64/PCI/PCI.cxx
+++ b/Kernel/HALKit/AMD64/PCI/PCI.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AMD64/Processor.hpp b/Kernel/HALKit/AMD64/Processor.hpp
index 4916d845..c52fecdf 100644
--- a/Kernel/HALKit/AMD64/Processor.hpp
+++ b/Kernel/HALKit/AMD64/Processor.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Prcoessor.hxx
Purpose: AMD64 processor abstraction.
diff --git a/Kernel/HALKit/AMD64/Storage/AHCI.cxx b/Kernel/HALKit/AMD64/Storage/AHCI.cxx
index a8045617..587c64cb 100644
--- a/Kernel/HALKit/AMD64/Storage/AHCI.cxx
+++ b/Kernel/HALKit/AMD64/Storage/AHCI.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -11,7 +11,7 @@
* @version 0.1
* @date 2024-02-02
*
- * @copyright Copyright (c) SoftwareLabs
+ * @copyright Copyright (c) Zeta Electronics Corporation
*
*/
diff --git a/Kernel/HALKit/AMD64/Storage/ATA-DMA.cxx b/Kernel/HALKit/AMD64/Storage/ATA-DMA.cxx
index 1b83874f..fea103dd 100644
--- a/Kernel/HALKit/AMD64/Storage/ATA-DMA.cxx
+++ b/Kernel/HALKit/AMD64/Storage/ATA-DMA.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -11,7 +11,7 @@
* @version 0.1
* @date 2024-02-02
*
- * @copyright Copyright (c) SoftwareLabs
+ * @copyright Copyright (c) Zeta Electronics Corporation
*
*/
diff --git a/Kernel/HALKit/AMD64/Storage/ATA-PIO.cxx b/Kernel/HALKit/AMD64/Storage/ATA-PIO.cxx
index bc40e4f2..e4ab1367 100644
--- a/Kernel/HALKit/AMD64/Storage/ATA-PIO.cxx
+++ b/Kernel/HALKit/AMD64/Storage/ATA-PIO.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -11,7 +11,7 @@
* @version 0.1
* @date 2024-02-02
*
- * @copyright Copyright (c) SoftwareLabs
+ * @copyright Copyright (c) Zeta Electronics Corporation
*
*/
diff --git a/Kernel/HALKit/ARM64/ACPI/.gitkeep b/Kernel/HALKit/ARM64/APM/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/HALKit/ARM64/ACPI/.gitkeep
+++ b/Kernel/HALKit/ARM64/APM/.gitkeep
diff --git a/Kernel/HALKit/ARM64/ReadMe.md b/Kernel/HALKit/ARM64/ReadMe.md
index 89679e18..d4d35a0b 100644
--- a/Kernel/HALKit/ARM64/ReadMe.md
+++ b/Kernel/HALKit/ARM64/ReadMe.md
@@ -1,4 +1,3 @@
-ARM64 Hardware Abstraction Layer
+# ARM64 Hardware Abstraction Layer
-- Supported CPU: Qualcomm CPU
-- Supported Firmware: EDK 2 \ No newline at end of file
+- Supported Firmware: CoreBoot \ No newline at end of file
diff --git a/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp b/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp
index c16722ba..ea0997ed 100644
--- a/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp
+++ b/Kernel/HALKit/AXP/CoreSyscallHandlerDEC.cpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/AXP/Processor.hpp b/Kernel/HALKit/AXP/Processor.hpp
index 768093b9..a3799ae7 100644
--- a/Kernel/HALKit/AXP/Processor.hpp
+++ b/Kernel/HALKit/AXP/Processor.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/HalContextSwitchPowerPC.s b/Kernel/HALKit/POWER/HalContextSwitchPowerPC.s
index 64558ae1..14d805db 100644
--- a/Kernel/HALKit/POWER/HalContextSwitchPowerPC.s
+++ b/Kernel/HALKit/POWER/HalContextSwitchPowerPC.s
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/HalHardware.cxx b/Kernel/HALKit/POWER/HalHardware.cxx
index fcded4d3..8dd0205c 100644
--- a/Kernel/HALKit/POWER/HalHardware.cxx
+++ b/Kernel/HALKit/POWER/HalHardware.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/HalHart.cxx b/Kernel/HALKit/POWER/HalHart.cxx
index 7af92cb1..16a26a3a 100644
--- a/Kernel/HALKit/POWER/HalHart.cxx
+++ b/Kernel/HALKit/POWER/HalHart.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/HalSerialPort.cxx b/Kernel/HALKit/POWER/HalSerialPort.cxx
index 0e34f7d0..86388b4c 100644
--- a/Kernel/HALKit/POWER/HalSerialPort.cxx
+++ b/Kernel/HALKit/POWER/HalSerialPort.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/HalStartSequence.s b/Kernel/HALKit/POWER/HalStartSequence.s
index fc969e9f..07cec350 100644
--- a/Kernel/HALKit/POWER/HalStartSequence.s
+++ b/Kernel/HALKit/POWER/HalStartSequence.s
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/HalThread.cxx b/Kernel/HALKit/POWER/HalThread.cxx
index 22503ad8..83f03373 100644
--- a/Kernel/HALKit/POWER/HalThread.cxx
+++ b/Kernel/HALKit/POWER/HalThread.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/HalVirtualMemory.cxx b/Kernel/HALKit/POWER/HalVirtualMemory.cxx
index 326d635a..a49ba63f 100644
--- a/Kernel/HALKit/POWER/HalVirtualMemory.cxx
+++ b/Kernel/HALKit/POWER/HalVirtualMemory.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/Hart.hxx b/Kernel/HALKit/POWER/Hart.hxx
index 04897d01..4e4a281b 100644
--- a/Kernel/HALKit/POWER/Hart.hxx
+++ b/Kernel/HALKit/POWER/Hart.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Hart.hxx
Purpose: POWER hardware threads.
diff --git a/Kernel/HALKit/POWER/MBCI/HalMBCIHost.cxx b/Kernel/HALKit/POWER/MBCI/HalMBCIHost.cxx
index 79a29fac..8a24506a 100644
--- a/Kernel/HALKit/POWER/MBCI/HalMBCIHost.cxx
+++ b/Kernel/HALKit/POWER/MBCI/HalMBCIHost.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/HALKit/POWER/Processor.hpp b/Kernel/HALKit/POWER/Processor.hpp
index ece50c44..af00b7af 100644
--- a/Kernel/HALKit/POWER/Processor.hpp
+++ b/Kernel/HALKit/POWER/Processor.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: POWER processor header.
diff --git a/Kernel/HALKit/POWER/ppc-cpu.h b/Kernel/HALKit/POWER/ppc-cpu.h
index b7a96767..3855b85c 100644
--- a/Kernel/HALKit/POWER/ppc-cpu.h
+++ b/Kernel/HALKit/POWER/ppc-cpu.h
@@ -1,7 +1,7 @@
#ifndef __ASM_PPC_PROCESSOR_H
#define __ASM_PPC_PROCESSOR_H
-/// ! @note The NeWS cpu is based on the e500 with 64-bit extensions, much like the 970.
+/// ! @note The Zeta cpu is based on the e500 with 64-bit extensions, much like the 970.
/*
* Default implementation of macro that returns current
diff --git a/Kernel/HALKit/RISCV/Hart.hxx b/Kernel/HALKit/RISCV/Hart.hxx
index eb0fa258..17ec84a1 100644
--- a/Kernel/HALKit/RISCV/Hart.hxx
+++ b/Kernel/HALKit/RISCV/Hart.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Hart.hxx
Purpose: RISC-V hardware threads.
diff --git a/Kernel/HintKit/CompilerHint.hxx b/Kernel/HintKit/CompilerHint.hxx
index 3924697b..75582afb 100644
--- a/Kernel/HintKit/CompilerHint.hxx
+++ b/Kernel/HintKit/CompilerHint.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/CodeManager.hpp b/Kernel/KernelKit/CodeManager.hpp
index bae91b79..a42aea67 100644
--- a/Kernel/KernelKit/CodeManager.hpp
+++ b/Kernel/KernelKit/CodeManager.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: CodeManager.hpp
Purpose: Code Manager and Shared Objects.
diff --git a/Kernel/KernelKit/DebugOutput.hpp b/Kernel/KernelKit/DebugOutput.hpp
index 3acee338..f5c402db 100644
--- a/Kernel/KernelKit/DebugOutput.hpp
+++ b/Kernel/KernelKit/DebugOutput.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/Defines.hpp b/Kernel/KernelKit/Defines.hpp
index e028553e..83991af6 100644
--- a/Kernel/KernelKit/Defines.hpp
+++ b/Kernel/KernelKit/Defines.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/DeviceManager.hpp b/Kernel/KernelKit/DeviceManager.hpp
index dc53fed5..11217fc6 100644
--- a/Kernel/KernelKit/DeviceManager.hpp
+++ b/Kernel/KernelKit/DeviceManager.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/DriveManager.hxx b/Kernel/KernelKit/DriveManager.hxx
index 01058d00..e78c350e 100644
--- a/Kernel/KernelKit/DriveManager.hxx
+++ b/Kernel/KernelKit/DriveManager.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/FileManager.hpp b/Kernel/KernelKit/FileManager.hpp
index 1f6fd774..71f3cfd0 100644
--- a/Kernel/KernelKit/FileManager.hpp
+++ b/Kernel/KernelKit/FileManager.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -133,7 +133,9 @@ namespace NewOS
void SetResourceFork(const char* forkName);
void SetDataFork(const char* forkName);
- NewFSParser* GetImpl() noexcept;
+ /// @brief Get internal parser.
+ /// @return
+ NewFSParser* GetParser() noexcept;
private:
NewFSParser* fImpl{nullptr};
diff --git a/Kernel/KernelKit/Framebuffer.hpp b/Kernel/KernelKit/Framebuffer.hpp
index 1f189e77..3437fed1 100644
--- a/Kernel/KernelKit/Framebuffer.hpp
+++ b/Kernel/KernelKit/Framebuffer.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Framebuffer.hpp
Purpose: Framebuffer object.
diff --git a/Kernel/KernelKit/HError.hpp b/Kernel/KernelKit/HError.hpp
index c183b1ba..61cfd5af 100644
--- a/Kernel/KernelKit/HError.hpp
+++ b/Kernel/KernelKit/HError.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/KernelHeap.hpp b/Kernel/KernelKit/KernelHeap.hpp
index e2ab19b5..7b8cbc7c 100644
--- a/Kernel/KernelKit/KernelHeap.hpp
+++ b/Kernel/KernelKit/KernelHeap.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/LoaderInterface.hpp b/Kernel/KernelKit/LoaderInterface.hpp
index b0d64af7..9bce429c 100644
--- a/Kernel/KernelKit/LoaderInterface.hpp
+++ b/Kernel/KernelKit/LoaderInterface.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/LockDelegate.hpp b/Kernel/KernelKit/LockDelegate.hpp
index 470e87f7..0bf8104e 100644
--- a/Kernel/KernelKit/LockDelegate.hpp
+++ b/Kernel/KernelKit/LockDelegate.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/MSDOS.hpp b/Kernel/KernelKit/MSDOS.hpp
index a9d34ce1..36da42ad 100644
--- a/Kernel/KernelKit/MSDOS.hpp
+++ b/Kernel/KernelKit/MSDOS.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: MSDOS.hpp
Purpose: MS-DOS header for NewOS.
diff --git a/Kernel/KernelKit/PCI/Database.hpp b/Kernel/KernelKit/PCI/Database.hpp
index c83f1b9d..9cd04610 100644
--- a/Kernel/KernelKit/PCI/Database.hpp
+++ b/Kernel/KernelKit/PCI/Database.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/KernelKit/PCI/Device.hpp b/Kernel/KernelKit/PCI/Device.hpp
index 4aa5519c..313adca9 100644
--- a/Kernel/KernelKit/PCI/Device.hpp
+++ b/Kernel/KernelKit/PCI/Device.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/KernelKit/PCI/Dma.hpp b/Kernel/KernelKit/PCI/Dma.hpp
index fd67ae80..25e90d79 100644
--- a/Kernel/KernelKit/PCI/Dma.hpp
+++ b/Kernel/KernelKit/PCI/Dma.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/PCI/Dma.inl b/Kernel/KernelKit/PCI/Dma.inl
index 0b9adc2d..198b2609 100644
--- a/Kernel/KernelKit/PCI/Dma.inl
+++ b/Kernel/KernelKit/PCI/Dma.inl
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/PCI/Express.hpp b/Kernel/KernelKit/PCI/Express.hpp
index eedfa5d6..7276f183 100644
--- a/Kernel/KernelKit/PCI/Express.hpp
+++ b/Kernel/KernelKit/PCI/Express.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/PCI/IO-Impl-AMD64.inl b/Kernel/KernelKit/PCI/IO-Impl-AMD64.inl
index 8479a2d5..59dfd4c2 100644
--- a/Kernel/KernelKit/PCI/IO-Impl-AMD64.inl
+++ b/Kernel/KernelKit/PCI/IO-Impl-AMD64.inl
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: IO-Impl-AMD64.hpp
Purpose: I/O for AMD64.
diff --git a/Kernel/KernelKit/PCI/IO.hpp b/Kernel/KernelKit/PCI/IO.hpp
index d4c1d785..cd44764c 100644
--- a/Kernel/KernelKit/PCI/IO.hpp
+++ b/Kernel/KernelKit/PCI/IO.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/PCI/PCI.hpp b/Kernel/KernelKit/PCI/PCI.hpp
index 2114a04e..c0c035b9 100644
--- a/Kernel/KernelKit/PCI/PCI.hpp
+++ b/Kernel/KernelKit/PCI/PCI.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/KernelKit/PE.hxx b/Kernel/KernelKit/PE.hxx
index b4adf732..02f24595 100644
--- a/Kernel/KernelKit/PE.hxx
+++ b/Kernel/KernelKit/PE.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: PE.hxx
Purpose: Portable Executable for NewOS.
diff --git a/Kernel/KernelKit/PECodeManager.hxx b/Kernel/KernelKit/PECodeManager.hxx
index 68451fb3..b2971e6e 100644
--- a/Kernel/KernelKit/PECodeManager.hxx
+++ b/Kernel/KernelKit/PECodeManager.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: PECodeManager.hxx
Purpose: PE32+ Code Manager and Shared Objects.
diff --git a/Kernel/KernelKit/PEF.hpp b/Kernel/KernelKit/PEF.hpp
index 98a413aa..0713e7c5 100644
--- a/Kernel/KernelKit/PEF.hpp
+++ b/Kernel/KernelKit/PEF.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: PEF.hpp
Purpose: Preferred Executable Format for NewOS.
diff --git a/Kernel/KernelKit/PEFCodeManager.hxx b/Kernel/KernelKit/PEFCodeManager.hxx
index 748ed835..b6f3e160 100644
--- a/Kernel/KernelKit/PEFCodeManager.hxx
+++ b/Kernel/KernelKit/PEFCodeManager.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/PEFSharedObject.hxx b/Kernel/KernelKit/PEFSharedObject.hxx
index 9d57b021..dbe9cda8 100644
--- a/Kernel/KernelKit/PEFSharedObject.hxx
+++ b/Kernel/KernelKit/PEFSharedObject.hxx
@@ -2,7 +2,7 @@
* ========================================================
*
* NewOS
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
diff --git a/Kernel/KernelKit/PermissionSelector.hxx b/Kernel/KernelKit/PermissionSelector.hxx
index 9b308fe6..5745344c 100644
--- a/Kernel/KernelKit/PermissionSelector.hxx
+++ b/Kernel/KernelKit/PermissionSelector.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/ProcessScheduler.hxx b/Kernel/KernelKit/ProcessScheduler.hxx
index bd8cb628..c6e090e4 100644
--- a/Kernel/KernelKit/ProcessScheduler.hxx
+++ b/Kernel/KernelKit/ProcessScheduler.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/SMPManager.hpp b/Kernel/KernelKit/SMPManager.hpp
index eb8c908a..985050f1 100644
--- a/Kernel/KernelKit/SMPManager.hpp
+++ b/Kernel/KernelKit/SMPManager.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/Semaphore.hpp b/Kernel/KernelKit/Semaphore.hpp
index 8424f9bc..7850804d 100644
--- a/Kernel/KernelKit/Semaphore.hpp
+++ b/Kernel/KernelKit/Semaphore.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/ThreadLocalStorage.hxx b/Kernel/KernelKit/ThreadLocalStorage.hxx
index e385eaf3..eaae7991 100644
--- a/Kernel/KernelKit/ThreadLocalStorage.hxx
+++ b/Kernel/KernelKit/ThreadLocalStorage.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/ThreadLocalStorage.inl b/Kernel/KernelKit/ThreadLocalStorage.inl
index a8269a14..1df825a3 100644
--- a/Kernel/KernelKit/ThreadLocalStorage.inl
+++ b/Kernel/KernelKit/ThreadLocalStorage.inl
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/Timer.hpp b/Kernel/KernelKit/Timer.hpp
index 8b4990d2..acfb9be5 100644
--- a/Kernel/KernelKit/Timer.hpp
+++ b/Kernel/KernelKit/Timer.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/UserHeap.hpp b/Kernel/KernelKit/UserHeap.hpp
index 871a5cf6..681896a8 100644
--- a/Kernel/KernelKit/UserHeap.hpp
+++ b/Kernel/KernelKit/UserHeap.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/KernelKit/XCOFF.hxx b/Kernel/KernelKit/XCOFF.hxx
index 55e37bfd..4574fcf7 100644
--- a/Kernel/KernelKit/XCOFF.hxx
+++ b/Kernel/KernelKit/XCOFF.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: XCOFF.hpp
Purpose: XCOFF for NewOS.
diff --git a/Kernel/KernelRsrc.rsrc b/Kernel/KernelRsrc.rsrc
index 56c94a06..d4cb366f 100644
--- a/Kernel/KernelRsrc.rsrc
+++ b/Kernel/KernelRsrc.rsrc
@@ -1,4 +1,4 @@
-1 ICON "Root/Boot/Icons/kernel-logo.ico"
+1 ICON "../Icons/kernel-logo.ico"
#include "CompilerKit/Version.hxx"
@@ -10,11 +10,11 @@ BEGIN
BEGIN
BLOCK "080904E4"
BEGIN
- VALUE "CompanyName", "SoftwareLabs"
+ VALUE "CompanyName", "Zeta Electronics Corporation"
VALUE "FileDescription", "NuX/OS kernel."
VALUE "FileVersion", KERNEL_VERSION
VALUE "InternalName", "NeXUS"
- VALUE "LegalCopyright", "SoftwareLabs"
+ VALUE "LegalCopyright", "Zeta Electronics Corporation"
VALUE "OriginalFilename", "newoskrnl.exe"
VALUE "ProductName", "NewOSKrnl"
VALUE "ProductVersion", KERNEL_VERSION
diff --git a/Kernel/NetworkKit/GSM.hxx b/Kernel/NetworkKit/GSM.hxx
new file mode 100644
index 00000000..9a785344
--- /dev/null
+++ b/Kernel/NetworkKit/GSM.hxx
@@ -0,0 +1,16 @@
+/* -------------------------------------------
+
+ Copyright Zeta Electronics Corporation.
+
+ File: GSM.hxx.
+ Purpose: GSM protocol.
+
+------------------------------------------- */
+
+#ifndef _INC_NETWORK_GSM_HXX_
+#define _INC_NETWORK_GSM_HXX_
+
+#include <NewKit/Defines.hpp>
+#include <NewKit/String.hpp>
+
+#endif // ifndef _INC_NETWORK_GSM_HXX_
diff --git a/Kernel/NetworkKit/IP.hpp b/Kernel/NetworkKit/IP.hpp
index 0598c1de..63a35182 100644
--- a/Kernel/NetworkKit/IP.hpp
+++ b/Kernel/NetworkKit/IP.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NetworkKit/IPCEP.hxx b/Kernel/NetworkKit/IPCEP.hxx
index 6b30ec04..a00fa98e 100644
--- a/Kernel/NetworkKit/IPCEP.hxx
+++ b/Kernel/NetworkKit/IPCEP.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs.
+ Copyright Zeta Electronics Corporation.
File: IPCEP.hxx.
Purpose: IPC protocol.
@@ -50,8 +50,8 @@ namespace NewOS
IPCEPAddressType IpcFrom;
IPCEPAddressType IpcTo;
UInt32 IpcCRC32;
- SizeT IpcDataSize;
- Char IpcData[];
+ UInt32 IpcMsg;
+ UInt32 IpcMsgSz;
} PACKED IPCEPConnectionHeader;
} // namespace NewOS
diff --git a/Kernel/NetworkKit/MAC.hxx b/Kernel/NetworkKit/MAC.hxx
index cc76022a..725e3413 100644
--- a/Kernel/NetworkKit/MAC.hxx
+++ b/Kernel/NetworkKit/MAC.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NetworkKit/NetworkDevice.hpp b/Kernel/NetworkKit/NetworkDevice.hpp
index ecbc80b7..49b142d5 100644
--- a/Kernel/NetworkKit/NetworkDevice.hpp
+++ b/Kernel/NetworkKit/NetworkDevice.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NetworkKit/NetworkDevice.inl b/Kernel/NetworkKit/NetworkDevice.inl
index 750520ff..3182c9f3 100644
--- a/Kernel/NetworkKit/NetworkDevice.inl
+++ b/Kernel/NetworkKit/NetworkDevice.inl
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/ApplicationInterface.hxx b/Kernel/NewKit/ApplicationInterface.hxx
index d15194df..46d95095 100644
--- a/Kernel/NewKit/ApplicationInterface.hxx
+++ b/Kernel/NewKit/ApplicationInterface.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Array.hpp b/Kernel/NewKit/Array.hpp
index 0f7ee2bb..b8386c9a 100644
--- a/Kernel/NewKit/Array.hpp
+++ b/Kernel/NewKit/Array.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/NewKit/ArrayList.hpp b/Kernel/NewKit/ArrayList.hpp
index 6556a573..9afcfcbe 100644
--- a/Kernel/NewKit/ArrayList.hpp
+++ b/Kernel/NewKit/ArrayList.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Atom.hpp b/Kernel/NewKit/Atom.hpp
index 5f52b63b..f7e686cd 100644
--- a/Kernel/NewKit/Atom.hpp
+++ b/Kernel/NewKit/Atom.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/NewKit/Crc32.hpp b/Kernel/NewKit/Crc32.hpp
index e13aaad5..b32b92ff 100644
--- a/Kernel/NewKit/Crc32.hpp
+++ b/Kernel/NewKit/Crc32.hpp
@@ -2,7 +2,7 @@
* ========================================================
*
* NewOS Date Added: 13/02/2023
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
diff --git a/Kernel/NewKit/CxxAbi.hpp b/Kernel/NewKit/CxxAbi.hpp
index 1eab236e..3f858e21 100644
--- a/Kernel/NewKit/CxxAbi.hpp
+++ b/Kernel/NewKit/CxxAbi.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/NewKit/Defines.hpp b/Kernel/NewKit/Defines.hpp
index 75df318a..3210f1ef 100644
--- a/Kernel/NewKit/Defines.hpp
+++ b/Kernel/NewKit/Defines.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/ErrorOr.hpp b/Kernel/NewKit/ErrorOr.hpp
index 3aa2058d..343039b5 100644
--- a/Kernel/NewKit/ErrorOr.hpp
+++ b/Kernel/NewKit/ErrorOr.hpp
@@ -2,7 +2,7 @@
* ========================================================
*
* NewOS
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
diff --git a/Kernel/NewKit/Json.hpp b/Kernel/NewKit/Json.hpp
index 3aab902a..33431c57 100644
--- a/Kernel/NewKit/Json.hpp
+++ b/Kernel/NewKit/Json.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/KernelCheck.hpp b/Kernel/NewKit/KernelCheck.hpp
index 383e49f7..046cab3d 100644
--- a/Kernel/NewKit/KernelCheck.hpp
+++ b/Kernel/NewKit/KernelCheck.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Macros.hpp b/Kernel/NewKit/Macros.hpp
index 72ae5643..e267b523 100644
--- a/Kernel/NewKit/Macros.hpp
+++ b/Kernel/NewKit/Macros.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/MutableArray.hpp b/Kernel/NewKit/MutableArray.hpp
index ad2afdf4..f9c79301 100644
--- a/Kernel/NewKit/MutableArray.hpp
+++ b/Kernel/NewKit/MutableArray.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/NewKit/New.hpp b/Kernel/NewKit/New.hpp
index 379a92f3..33e5c163 100644
--- a/Kernel/NewKit/New.hpp
+++ b/Kernel/NewKit/New.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
#pragma once
diff --git a/Kernel/NewKit/NewKit.hpp b/Kernel/NewKit/NewKit.hpp
index a24c41a8..bf04eb0b 100644
--- a/Kernel/NewKit/NewKit.hpp
+++ b/Kernel/NewKit/NewKit.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/OwnPtr.hpp b/Kernel/NewKit/OwnPtr.hpp
index 0160572b..c07f5119 100644
--- a/Kernel/NewKit/OwnPtr.hpp
+++ b/Kernel/NewKit/OwnPtr.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/PageAllocator.hpp b/Kernel/NewKit/PageAllocator.hpp
index 2a57b090..a0df473f 100644
--- a/Kernel/NewKit/PageAllocator.hpp
+++ b/Kernel/NewKit/PageAllocator.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/PageManager.hpp b/Kernel/NewKit/PageManager.hpp
index 22e6701e..030d839f 100644
--- a/Kernel/NewKit/PageManager.hpp
+++ b/Kernel/NewKit/PageManager.hpp
@@ -3,7 +3,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Pair.hpp b/Kernel/NewKit/Pair.hpp
index 1046feb6..058a579d 100644
--- a/Kernel/NewKit/Pair.hpp
+++ b/Kernel/NewKit/Pair.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Pmm.hpp b/Kernel/NewKit/Pmm.hpp
index 8663bbad..b6b22382 100644
--- a/Kernel/NewKit/Pmm.hpp
+++ b/Kernel/NewKit/Pmm.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Ref.hpp b/Kernel/NewKit/Ref.hpp
index 8b1e4e9e..5f942baf 100644
--- a/Kernel/NewKit/Ref.hpp
+++ b/Kernel/NewKit/Ref.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Stream.hpp b/Kernel/NewKit/Stream.hpp
index a77d60a1..11dfec63 100644
--- a/Kernel/NewKit/Stream.hpp
+++ b/Kernel/NewKit/Stream.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/String.hpp b/Kernel/NewKit/String.hpp
index 59214571..644a1394 100644
--- a/Kernel/NewKit/String.hpp
+++ b/Kernel/NewKit/String.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Utils.hpp b/Kernel/NewKit/Utils.hpp
index 0b238daf..d162c25c 100644
--- a/Kernel/NewKit/Utils.hpp
+++ b/Kernel/NewKit/Utils.hpp
@@ -1,7 +1,7 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/NewKit/Variant.hpp b/Kernel/NewKit/Variant.hpp
index 45f97d0d..2e097b9d 100644
--- a/Kernel/NewKit/Variant.hpp
+++ b/Kernel/NewKit/Variant.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Root/System/FileExplorerHome.html b/Kernel/Root/System/FileExplorerHome.html
deleted file mode 100644
index f37e6d64..00000000
--- a/Kernel/Root/System/FileExplorerHome.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>NewOS WebTraveler</title>
-
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
-
-</head>
-<body>
- <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
-
- <nav class="navbar navbar-expand-lg bg-body-tertiary">
- <div class="container-fluid">
- <a class="navbar-brand" href="#">NewOS</a>
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <form action="https://www.google.com/search" method="get" name="searchform" target="_blank" class="d-flex" role="search">
- <input name="q" autocomplete="on" id="searchQuery" class="form-control me-2" type="text" required="required" placeholder="Search the web..." aria-label="Search"/>
- </form>
- </div>
- </div>
- </nav>
-
- <br>
- <br>
-</body>
-</html>
-
diff --git a/Kernel/Root/System/SystemTheme.css b/Kernel/Root/System/SystemTheme.css
deleted file mode 100644
index 44e38465..00000000
--- a/Kernel/Root/System/SystemTheme.css
+++ /dev/null
@@ -1,46 +0,0 @@
-@layer base {
- :root {
- --background: 0 0% 100%;
- --foreground: 240 10% 3.9%;
- --card: 0 0% 100%;
- --card-foreground: 240 10% 3.9%;
- --popover: 0 0% 100%;
- --popover-foreground: 240 10% 3.9%;
- --primary: 240 5.9% 10%;
- --primary-foreground: 0 0% 98%;
- --secondary: 240 4.8% 95.9%;
- --secondary-foreground: 240 5.9% 10%;
- --muted: 240 4.8% 95.9%;
- --muted-foreground: 240 3.8% 46.1%;
- --accent: 240 4.8% 95.9%;
- --accent-foreground: 240 5.9% 10%;
- --destructive: 0 84.2% 60.2%;
- --destructive-foreground: 0 0% 98%;
- --border: 240 5.9% 90%;
- --input: 240 5.9% 90%;
- --ring: 240 5.9% 10%;
- --radius: 0.5rem;
- }
-
- .dark {
- --background: 240 10% 3.9%;
- --foreground: 0 0% 98%;
- --card: 240 10% 3.9%;
- --card-foreground: 0 0% 98%;
- --popover: 240 10% 3.9%;
- --popover-foreground: 0 0% 98%;
- --primary: 0 0% 98%;
- --primary-foreground: 240 5.9% 10%;
- --secondary: 240 3.7% 15.9%;
- --secondary-foreground: 0 0% 98%;
- --muted: 240 3.7% 15.9%;
- --muted-foreground: 240 5% 64.9%;
- --accent: 240 3.7% 15.9%;
- --accent-foreground: 0 0% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 0 0% 98%;
- --border: 240 3.7% 15.9%;
- --input: 240 3.7% 15.9%;
- --ring: 240 4.9% 83.9%;
- }
-}
diff --git a/Kernel/Root/Users/.gitkeep b/Kernel/Root/Users/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/Kernel/Root/Users/.gitkeep
+++ /dev/null
diff --git a/Kernel/Root/Users/Shared/.gitkeep b/Kernel/Root/Users/Shared/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/Kernel/Root/Users/Shared/.gitkeep
+++ /dev/null
diff --git a/Kernel/Sources/Array.cxx b/Kernel/Sources/Array.cxx
index f1df0abe..2b1cb7db 100644
--- a/Kernel/Sources/Array.cxx
+++ b/Kernel/Sources/Array.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/ArrayList.cxx b/Kernel/Sources/ArrayList.cxx
index e96e993c..1e12e714 100644
--- a/Kernel/Sources/ArrayList.cxx
+++ b/Kernel/Sources/ArrayList.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Atom.cxx b/Kernel/Sources/Atom.cxx
index 0619e4ad..b79c1122 100644
--- a/Kernel/Sources/Atom.cxx
+++ b/Kernel/Sources/Atom.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/CodeManager.cxx b/Kernel/Sources/CodeManager.cxx
index 10de3512..33121edf 100644
--- a/Kernel/Sources/CodeManager.cxx
+++ b/Kernel/Sources/CodeManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Crc32.cxx b/Kernel/Sources/Crc32.cxx
index 2fd273e0..f46ceaa8 100644
--- a/Kernel/Sources/Crc32.cxx
+++ b/Kernel/Sources/Crc32.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/CxxAbi.cxx b/Kernel/Sources/CxxAbi.cxx
index 0b01928a..1e585a50 100644
--- a/Kernel/Sources/CxxAbi.cxx
+++ b/Kernel/Sources/CxxAbi.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Defines.cxx b/Kernel/Sources/Defines.cxx
index 919d0fe4..aa39adef 100644
--- a/Kernel/Sources/Defines.cxx
+++ b/Kernel/Sources/Defines.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/DeviceManager.cxx b/Kernel/Sources/DeviceManager.cxx
index 5679b2af..f729c419 100644
--- a/Kernel/Sources/DeviceManager.cxx
+++ b/Kernel/Sources/DeviceManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/DriveManager.cxx b/Kernel/Sources/DriveManager.cxx
index 62195b99..b2266121 100644
--- a/Kernel/Sources/DriveManager.cxx
+++ b/Kernel/Sources/DriveManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/ErrorOr.cxx b/Kernel/Sources/ErrorOr.cxx
index 10d6cc8f..94366447 100644
--- a/Kernel/Sources/ErrorOr.cxx
+++ b/Kernel/Sources/ErrorOr.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/FS/NewFS.cxx b/Kernel/Sources/FS/NewFS.cxx
index a60fc228..f015673d 100644
--- a/Kernel/Sources/FS/NewFS.cxx
+++ b/Kernel/Sources/FS/NewFS.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -73,7 +73,7 @@ _Output NewFork* NewFSParser::CreateFork(_Input NewCatalog* catalog,
drv->fInput(&drv->fPacket);
- kcout << "newoskrnl: Next-Fork: " << hex_number(curFork.NextSibling) << endl;
+ kcout << "newoskrnl: next fork: " << hex_number(curFork.NextSibling) << endl;
if (curFork.Flags == kNewFSFlagCreated)
{
@@ -84,7 +84,7 @@ _Output NewFork* NewFSParser::CreateFork(_Input NewCatalog* catalog,
StringBuilder::Equals(curFork.CatalogName, catalog->Name))
return nullptr;
- kcout << "Next-Fork: " << hex_number(curFork.NextSibling) << endl;
+ kcout << "newoskrnl: next fork: " << hex_number(curFork.NextSibling) << endl;
lbaOfPreviousFork = lba;
lba = curFork.NextSibling;
diff --git a/Kernel/Sources/FileManager.cxx b/Kernel/Sources/FileManager.cxx
index 1aeae426..6e61a65d 100644
--- a/Kernel/Sources/FileManager.cxx
+++ b/Kernel/Sources/FileManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -163,7 +163,7 @@ namespace NewOS
/// @brief Returns the filesystem parser.
/// @return the Filesystem parser class.
- NewFSParser* NewFilesystemManager::GetImpl() noexcept
+ NewFSParser* NewFilesystemManager::GetParser() noexcept
{
return fImpl;
}
diff --git a/Kernel/Sources/Framebuffer.cxx b/Kernel/Sources/Framebuffer.cxx
index 5428ca91..d6a4e124 100644
--- a/Kernel/Sources/Framebuffer.cxx
+++ b/Kernel/Sources/Framebuffer.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Framebuffer.cxx
Purpose: Framebuffer object
diff --git a/Kernel/Sources/GUIDWizard.cxx b/Kernel/Sources/GUIDWizard.cxx
index d434e497..9347f022 100644
--- a/Kernel/Sources/GUIDWizard.cxx
+++ b/Kernel/Sources/GUIDWizard.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: GUIDWizard.cxx
Purpose: GUID helper code
diff --git a/Kernel/Sources/GUIDWrapper.cxx b/Kernel/Sources/GUIDWrapper.cxx
index b1f1d3cf..e453227b 100644
--- a/Kernel/Sources/GUIDWrapper.cxx
+++ b/Kernel/Sources/GUIDWrapper.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/HError.cxx b/Kernel/Sources/HError.cxx
index 8527a683..937e983a 100644
--- a/Kernel/Sources/HError.cxx
+++ b/Kernel/Sources/HError.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/IndexableProperty.cxx b/Kernel/Sources/IndexableProperty.cxx
index 6c773b9a..a687e0ec 100644
--- a/Kernel/Sources/IndexableProperty.cxx
+++ b/Kernel/Sources/IndexableProperty.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Json.cxx b/Kernel/Sources/Json.cxx
index b0e4050f..48e215b8 100644
--- a/Kernel/Sources/Json.cxx
+++ b/Kernel/Sources/Json.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/AppMain.cxx b/Kernel/Sources/KeMain.cxx
index 62795893..f4f9f44c 100644
--- a/Kernel/Sources/AppMain.cxx
+++ b/Kernel/Sources/KeMain.cxx
@@ -1,14 +1,14 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
- File: AppMain.cxx
+ File: KeMain.cxx
Purpose: Kernel main loop.
------------------------------------------- */
#include <ArchKit/ArchKit.hpp>
-#include <Builtins/Toolbox/Toolbox.hxx>
+#include <Builtins/GX/GX>
#include <CompilerKit/Detail.hxx>
#include <FirmwareKit/Handover.hxx>
#include <KernelKit/FileManager.hpp>
@@ -49,7 +49,7 @@ namespace NewOS::Detail
NewOS::FilesystemManagerInterface::Mount(fNewFS);
- if (fNewFS->GetImpl())
+ if (fNewFS->GetParser())
{
constexpr auto cFolderInfo = "Metadata";
const auto cDirCount = 8;
@@ -59,7 +59,7 @@ namespace NewOS::Detail
for (NewOS::SizeT dirIndx = 0UL; dirIndx < cDirCount; ++dirIndx)
{
- auto catalogDir = fNewFS->GetImpl()->GetCatalog(cDirStr[dirIndx]);
+ auto catalogDir = fNewFS->GetParser()->GetCatalog(cDirStr[dirIndx]);
if (catalogDir)
{
@@ -67,7 +67,7 @@ namespace NewOS::Detail
continue;
}
- catalogDir = fNewFS->GetImpl()->CreateCatalog(cDirStr[dirIndx], 0,
+ catalogDir = fNewFS->GetParser()->CreateCatalog(cDirStr[dirIndx], 0,
kNewFSCatalogKindDir);
NewFork theFork{0};
@@ -100,11 +100,11 @@ namespace NewOS::Detail
const NewOS::SizeT metadataSz = kNewFSSectorSz;
- auto catalogSystem = fNewFS->GetImpl()->GetCatalog(cDirStr[dirIndx]);
+ auto catalogSystem = fNewFS->GetParser()->GetCatalog(cDirStr[dirIndx]);
- fNewFS->GetImpl()->CreateFork(catalogSystem, theFork);
+ fNewFS->GetParser()->CreateFork(catalogSystem, theFork);
- fNewFS->GetImpl()->WriteCatalog(
+ fNewFS->GetParser()->WriteCatalog(
catalogSystem, (NewOS::VoidPtr)(metadataFolder.CData()),
metadataSz, cFolderInfo);
@@ -113,13 +113,13 @@ namespace NewOS::Detail
}
NewCatalog* catalogDisk =
- this->fNewFS->GetImpl()->GetCatalog("/Mount/This Disk");
+ this->fNewFS->GetParser()->GetCatalog("/Mount/This Disk");
const NewOS::Char* cSrcName = "DiskInfo";
if (catalogDisk)
{
- auto bufferInfoDisk = (NewOS::Char*)this->fNewFS->GetImpl()->ReadCatalog(catalogDisk, kNewFSSectorSz, cSrcName);
+ auto bufferInfoDisk = (NewOS::Char*)this->fNewFS->GetParser()->ReadCatalog(catalogDisk, kNewFSSectorSz, cSrcName);
NewOS::kcout << bufferInfoDisk << NewOS::end_line();
delete bufferInfoDisk;
@@ -155,8 +155,8 @@ namespace NewOS::Detail
theDiskFork.ResourceKind = NewOS::kNewFSRsrcForkKind;
theDiskFork.Kind = NewOS::kNewFSDataForkKind;
- fNewFS->GetImpl()->CreateFork(catalogDisk, theDiskFork);
- fNewFS->GetImpl()->WriteCatalog(catalogDisk,
+ fNewFS->GetParser()->CreateFork(catalogDisk, theDiskFork);
+ fNewFS->GetParser()->WriteCatalog(catalogDisk,
(NewOS::VoidPtr)diskFolder.CData(),
kNewFSSectorSz, cSrcName);
@@ -182,29 +182,29 @@ namespace NewOS::Detail
/// @brief System loader entrypoint.
/// @param void no parameters.
/// @return void no return value.
- STATIC NewOS::Void AppSystem(NewOS::Void)
+ STATIC NewOS::Void SystemLauncher_Main(NewOS::Void)
{
- NewOS::PEFLoader wndServer("/System/WindowServer");
+ NewOS::PEFLoader lockScreen("/System/LockScreen");
- if (!wndServer.IsLoaded())
+ if (!lockScreen.IsLoaded())
{
NewOS::ke_stop(RUNTIME_CHECK_FAILED);
}
- NewOS::Utils::execute_from_image(wndServer,
+ NewOS::Utils::execute_from_image(lockScreen,
NewOS::ProcessHeader::kAppKind);
- NewOS::PEFLoader launchServer("/System/Launcher");
+ NewOS::PEFLoader stageBoard("/System/StageBoard");
- if (!launchServer.IsLoaded())
+ if (!stageBoard.IsLoaded())
{
NewOS::ke_stop(RUNTIME_CHECK_FAILED);
}
- NewOS::Utils::execute_from_image(launchServer,
+ NewOS::Utils::execute_from_image(stageBoard,
NewOS::ProcessHeader::kAppKind);
- NewOS::kcout << "System: done, sleeping...";
+ NewOS::kcout << "SystemLauncher: done, sleeping...";
while (true) {}
}
@@ -213,13 +213,16 @@ namespace NewOS::Detail
/// @brief Application entrypoint.
/// @param Void
/// @return Void
-EXTERN_C NewOS::Void AppMain(NewOS::Void)
+EXTERN_C NewOS::Void KeMain(NewOS::Void)
{
/// Now run kernel loop, until no process are running.
NewOS::Detail::FilesystemWizard wizard; // automatic.
- auto cLoaderName = "System";
- NewOS::execute_from_image(NewOS::Detail::AppSystem, cLoaderName);
+ auto cLoaderName = "SystemLauncher";
+ NewOS::execute_from_image(NewOS::Detail::SystemLauncher_Main, cLoaderName);
- while (NewOS::ProcessScheduler::The().Leak().Run() > 0) {}
+ while (true)
+ {
+ NewOS::ProcessScheduler::The().Leak().Run();
+ }
}
diff --git a/Kernel/Sources/KernelCheck.cxx b/Kernel/Sources/KernelCheck.cxx
index 6b355011..10c263b8 100644
--- a/Kernel/Sources/KernelCheck.cxx
+++ b/Kernel/Sources/KernelCheck.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/KernelHeap.cxx b/Kernel/Sources/KernelHeap.cxx
index 93f0c164..00dfce8c 100644
--- a/Kernel/Sources/KernelHeap.cxx
+++ b/Kernel/Sources/KernelHeap.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/LockDelegate.cxx b/Kernel/Sources/LockDelegate.cxx
index c7e6234b..e2134f60 100644
--- a/Kernel/Sources/LockDelegate.cxx
+++ b/Kernel/Sources/LockDelegate.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/MutableArray.cxx b/Kernel/Sources/MutableArray.cxx
index 195ca6d9..2099c01a 100644
--- a/Kernel/Sources/MutableArray.cxx
+++ b/Kernel/Sources/MutableArray.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Network/IP.cxx b/Kernel/Sources/Network/IP.cxx
index 1e438766..46cdc662 100644
--- a/Kernel/Sources/Network/IP.cxx
+++ b/Kernel/Sources/Network/IP.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Network/IPCEP.cxx b/Kernel/Sources/Network/IPCEP.cxx
index ba537e95..e3a40fb9 100644
--- a/Kernel/Sources/Network/IPCEP.cxx
+++ b/Kernel/Sources/Network/IPCEP.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Network/NetworkDevice.cxx b/Kernel/Sources/Network/NetworkDevice.cxx
index 54d24b07..511246c7 100644
--- a/Kernel/Sources/Network/NetworkDevice.cxx
+++ b/Kernel/Sources/Network/NetworkDevice.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/New+Delete.cxx b/Kernel/Sources/New+Delete.cxx
index d709aaee..66912fb8 100644
--- a/Kernel/Sources/New+Delete.cxx
+++ b/Kernel/Sources/New+Delete.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/NewFS+FileManager.cxx b/Kernel/Sources/NewFS+FileManager.cxx
index 3434edea..724175b8 100644
--- a/Kernel/Sources/NewFS+FileManager.cxx
+++ b/Kernel/Sources/NewFS+FileManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/NewFS+IO.cxx b/Kernel/Sources/NewFS+IO.cxx
index 5dfd77b0..fc2a3842 100644
--- a/Kernel/Sources/NewFS+IO.cxx
+++ b/Kernel/Sources/NewFS+IO.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -13,7 +13,7 @@
* Purpose: Filesystem to mountpoint interface.
* Date: 3/26/24
*
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
*************************************************************/
diff --git a/Kernel/Sources/NewFS+Journal.cxx b/Kernel/Sources/NewFS+Journal.cxx
index 57f76fd4..83f2fe66 100644
--- a/Kernel/Sources/NewFS+Journal.cxx
+++ b/Kernel/Sources/NewFS+Journal.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/OwnPtr.cxx b/Kernel/Sources/OwnPtr.cxx
index cfbdf3b9..ca129740 100644
--- a/Kernel/Sources/OwnPtr.cxx
+++ b/Kernel/Sources/OwnPtr.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/PEFCodeManager.cxx b/Kernel/Sources/PEFCodeManager.cxx
index a84730e9..e259885b 100644
--- a/Kernel/Sources/PEFCodeManager.cxx
+++ b/Kernel/Sources/PEFCodeManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/PEFSharedObject.cxx b/Kernel/Sources/PEFSharedObject.cxx
index 06825a3c..5103e075 100644
--- a/Kernel/Sources/PEFSharedObject.cxx
+++ b/Kernel/Sources/PEFSharedObject.cxx
@@ -2,7 +2,7 @@
* ========================================================
*
* NewOS
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
diff --git a/Kernel/Sources/PRDT.cxx b/Kernel/Sources/PRDT.cxx
index 11165a40..57b57d40 100644
--- a/Kernel/Sources/PRDT.cxx
+++ b/Kernel/Sources/PRDT.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/PageAllocator.cxx b/Kernel/Sources/PageAllocator.cxx
index d3a4d4e2..11e21c4d 100644
--- a/Kernel/Sources/PageAllocator.cxx
+++ b/Kernel/Sources/PageAllocator.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/PageManager.cxx b/Kernel/Sources/PageManager.cxx
index 990b2546..118fbe53 100644
--- a/Kernel/Sources/PageManager.cxx
+++ b/Kernel/Sources/PageManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/PermissionSelector.cxx b/Kernel/Sources/PermissionSelector.cxx
index cb44b237..939a9648 100644
--- a/Kernel/Sources/PermissionSelector.cxx
+++ b/Kernel/Sources/PermissionSelector.cxx
@@ -2,7 +2,7 @@
* ========================================================
*
* NewOS
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* File: PermissionSelector.cpp
* Purpose: Permission selectors.
diff --git a/Kernel/Sources/Pmm.cxx b/Kernel/Sources/Pmm.cxx
index 0641f457..e794b57b 100644
--- a/Kernel/Sources/Pmm.cxx
+++ b/Kernel/Sources/Pmm.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/ProcessScheduler.cxx b/Kernel/Sources/ProcessScheduler.cxx
index bf088cc6..08a7971e 100644
--- a/Kernel/Sources/ProcessScheduler.cxx
+++ b/Kernel/Sources/ProcessScheduler.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -215,9 +215,6 @@ namespace NewOS
if (!mTeam.AsArray().Count() > kSchedProcessLimitPerTeam)
return -kErrorOutOfTeamSlot;
- if (process.Leak().Ring != (Int32)ProcessSelector::kRingKernel)
- return -1;
-
kcout << "ProcessScheduler::Add(Ref<ProcessHeader>& process)\r";
/// Create heap according to type of process.
diff --git a/Kernel/Sources/ProcessTeam.cxx b/Kernel/Sources/ProcessTeam.cxx
index 068e0dbb..30c791b2 100644
--- a/Kernel/Sources/ProcessTeam.cxx
+++ b/Kernel/Sources/ProcessTeam.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Property.cxx b/Kernel/Sources/Property.cxx
index 0c5c5fab..dca34429 100644
--- a/Kernel/Sources/Property.cxx
+++ b/Kernel/Sources/Property.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Ref.cxx b/Kernel/Sources/Ref.cxx
index 01883e07..7661104e 100644
--- a/Kernel/Sources/Ref.cxx
+++ b/Kernel/Sources/Ref.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/SMPManager.cxx b/Kernel/Sources/SMPManager.cxx
index 29e0fa26..f0b680ce 100644
--- a/Kernel/Sources/SMPManager.cxx
+++ b/Kernel/Sources/SMPManager.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -99,6 +99,21 @@ namespace NewOS
fStack->Rsp = stack->Rsp;
fStack->Fs = stack->Fs;
fStack->Gs = stack->Gs;
+
+ // save global registers.
+
+ fStack->R15 = stack->R15;
+ fStack->R14 = stack->R14;
+
+ fStack->R13 = stack->R13;
+ fStack->R12 = stack->R12;
+ fStack->R11 = stack->R11;
+
+ fStack->R10 = stack->R10;
+ fStack->R9 = stack->R9;
+ fStack->R8 = stack->R8;
+
+ fStack->Exception = this->fID;
}
rt_do_context_switch(fStack);
diff --git a/Kernel/Sources/Semaphore.cxx b/Kernel/Sources/Semaphore.cxx
index e2e135d0..d52cf447 100644
--- a/Kernel/Sources/Semaphore.cxx
+++ b/Kernel/Sources/Semaphore.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Storage/AHCIDeviceInterface.cxx b/Kernel/Sources/Storage/AHCIDeviceInterface.cxx
index b0431cb1..3d5632db 100644
--- a/Kernel/Sources/Storage/AHCIDeviceInterface.cxx
+++ b/Kernel/Sources/Storage/AHCIDeviceInterface.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Storage/ATADeviceInterface.cxx b/Kernel/Sources/Storage/ATADeviceInterface.cxx
index 0f7d22c1..95aded72 100644
--- a/Kernel/Sources/Storage/ATADeviceInterface.cxx
+++ b/Kernel/Sources/Storage/ATADeviceInterface.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Storage/NVMEDeviceInterface.cxx b/Kernel/Sources/Storage/NVMEDeviceInterface.cxx
index 22c9c9d0..1b85392e 100644
--- a/Kernel/Sources/Storage/NVMEDeviceInterface.cxx
+++ b/Kernel/Sources/Storage/NVMEDeviceInterface.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Storage/SCSIDeviceInterface.cxx b/Kernel/Sources/Storage/SCSIDeviceInterface.cxx
index b64681d3..9ec5e4c9 100644
--- a/Kernel/Sources/Storage/SCSIDeviceInterface.cxx
+++ b/Kernel/Sources/Storage/SCSIDeviceInterface.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Stream.cxx b/Kernel/Sources/Stream.cxx
index f21ef4d7..c83b6184 100644
--- a/Kernel/Sources/Stream.cxx
+++ b/Kernel/Sources/Stream.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
File: Stream.cxx
Purpose: Stream object
diff --git a/Kernel/Sources/String.cxx b/Kernel/Sources/String.cxx
index 4b6ea365..08ca1036 100644
--- a/Kernel/Sources/String.cxx
+++ b/Kernel/Sources/String.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/ThreadLocalStorage.cxx b/Kernel/Sources/ThreadLocalStorage.cxx
index f72bab67..c292d078 100644
--- a/Kernel/Sources/ThreadLocalStorage.cxx
+++ b/Kernel/Sources/ThreadLocalStorage.cxx
@@ -2,7 +2,7 @@
* ========================================================
*
* NewOS
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
diff --git a/Kernel/Sources/Timer.cxx b/Kernel/Sources/Timer.cxx
index 0495677c..8a26e50c 100644
--- a/Kernel/Sources/Timer.cxx
+++ b/Kernel/Sources/Timer.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/URL.cxx b/Kernel/Sources/URL.cxx
index 1b223938..80f4d9d5 100644
--- a/Kernel/Sources/URL.cxx
+++ b/Kernel/Sources/URL.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/UserHeap.cxx b/Kernel/Sources/UserHeap.cxx
index 64b75641..ad3c4aa4 100644
--- a/Kernel/Sources/UserHeap.cxx
+++ b/Kernel/Sources/UserHeap.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Utils.cxx b/Kernel/Sources/Utils.cxx
index 1814c72e..66d7582b 100644
--- a/Kernel/Sources/Utils.cxx
+++ b/Kernel/Sources/Utils.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Sources/Variant.cxx b/Kernel/Sources/Variant.cxx
index 94f1991e..fa74029d 100644
--- a/Kernel/Sources/Variant.cxx
+++ b/Kernel/Sources/Variant.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/StorageKit/AHCI.hpp b/Kernel/StorageKit/AHCI.hpp
index f7b5b58c..3ccdce7a 100644
--- a/Kernel/StorageKit/AHCI.hpp
+++ b/Kernel/StorageKit/AHCI.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/StorageKit/ATA.hpp b/Kernel/StorageKit/ATA.hpp
index 5cbec313..cfbe0da4 100644
--- a/Kernel/StorageKit/ATA.hpp
+++ b/Kernel/StorageKit/ATA.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/StorageKit/NVME.hpp b/Kernel/StorageKit/NVME.hpp
index 5d50f8bb..eda71b8d 100644
--- a/Kernel/StorageKit/NVME.hpp
+++ b/Kernel/StorageKit/NVME.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/StorageKit/PRDT.hpp b/Kernel/StorageKit/PRDT.hpp
index 617a74de..f7ed9013 100644
--- a/Kernel/StorageKit/PRDT.hpp
+++ b/Kernel/StorageKit/PRDT.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/StorageKit/SCSI.hxx b/Kernel/StorageKit/SCSI.hxx
index ed24d022..cc526b75 100644
--- a/Kernel/StorageKit/SCSI.hxx
+++ b/Kernel/StorageKit/SCSI.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/StorageKit/Storage.hpp b/Kernel/StorageKit/Storage.hpp
index 8af8c465..a374c6e1 100644
--- a/Kernel/StorageKit/Storage.hpp
+++ b/Kernel/StorageKit/Storage.hpp
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/makefile b/Kernel/makefile
index c550956a..97804c20 100644
--- a/Kernel/makefile
+++ b/Kernel/makefile
@@ -1,5 +1,5 @@
##################################################
-# (C) SoftwareLabs, all rights reserved.
+# (C) Zeta Electronics Corporation, all rights reserved.
# This is the microkernel makefile.
##################################################
diff --git a/ReadMe.md b/ReadMe.md
index e6c727e8..df4685a9 100644
--- a/ReadMe.md
+++ b/ReadMe.md
@@ -25,4 +25,4 @@ make all
for the default target (AMD64 EPM)
-##### Copyright, SoftwareLabs, all rights reserved.
+##### Copyright, Zeta Electronics Corporation, all rights reserved.
diff --git a/SDK/.gitkeep b/SDK/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/.gitkeep
+++ /dev/null
diff --git a/SDK/Dist/.gitkeep b/SDK/Dist/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/Dist/.gitkeep
+++ /dev/null
diff --git a/SDK/Libraries/.gitkeep b/SDK/Libraries/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/Libraries/.gitkeep
+++ /dev/null
diff --git a/SDK/Libraries/CoreCxxRuntime/.gitkeep b/SDK/Libraries/CoreCxxRuntime/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/Libraries/CoreCxxRuntime/.gitkeep
+++ /dev/null
diff --git a/SDK/Libraries/CorePEFRuntime/.gitkeep b/SDK/Libraries/CorePEFRuntime/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/Libraries/CorePEFRuntime/.gitkeep
+++ /dev/null
diff --git a/SDK/Libraries/CoreSystem/.gitkeep b/SDK/Libraries/CoreSystem/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/Libraries/CoreSystem/.gitkeep
+++ /dev/null
diff --git a/SDK/Libraries/CoreSystem/ARM64/.gitkeep b/SDK/Libraries/CoreSystem/ARM64/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/Libraries/CoreSystem/ARM64/.gitkeep
+++ /dev/null
diff --git a/SDK/Libraries/CoreSystem/RISCV/.gitkeep b/SDK/Libraries/CoreSystem/RISCV/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/SDK/Libraries/CoreSystem/RISCV/.gitkeep
+++ /dev/null
diff --git a/Kernel/Root/.gitkeep b/Usr/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/.gitkeep
+++ b/Usr/.gitkeep
diff --git a/Kernel/Root/Applications/.gitkeep b/Usr/Dist/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/Applications/.gitkeep
+++ b/Usr/Dist/.gitkeep
diff --git a/Kernel/Root/Assistants/.gitkeep b/Usr/Sys/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/Assistants/.gitkeep
+++ b/Usr/Sys/.gitkeep
diff --git a/Kernel/Root/Boot/.gitkeep b/Usr/Sys/CoreCxxRuntime/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/Boot/.gitkeep
+++ b/Usr/Sys/CoreCxxRuntime/.gitkeep
diff --git a/SDK/Libraries/CoreCxxRuntime/Private.xml b/Usr/Sys/CoreCxxRuntime/Private.xml
index 7ee426c0..7ee426c0 100644
--- a/SDK/Libraries/CoreCxxRuntime/Private.xml
+++ b/Usr/Sys/CoreCxxRuntime/Private.xml
diff --git a/SDK/Libraries/CoreCxxRuntime/Sources/New+Delete.cxx b/Usr/Sys/CoreCxxRuntime/Sources/New+Delete.cxx
index cc59586f..cd864c70 100644
--- a/SDK/Libraries/CoreCxxRuntime/Sources/New+Delete.cxx
+++ b/Usr/Sys/CoreCxxRuntime/Sources/New+Delete.cxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Root/Library/.gitkeep b/Usr/Sys/CorePEFRuntime/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/Library/.gitkeep
+++ b/Usr/Sys/CorePEFRuntime/.gitkeep
diff --git a/SDK/Libraries/CorePEFRuntime/Private.xml b/Usr/Sys/CorePEFRuntime/Private.xml
index 7ee426c0..7ee426c0 100644
--- a/SDK/Libraries/CorePEFRuntime/Private.xml
+++ b/Usr/Sys/CorePEFRuntime/Private.xml
diff --git a/SDK/Libraries/CorePEFRuntime/Sources/PEFStart.c b/Usr/Sys/CorePEFRuntime/Sources/PEFStart.c
index e9a45f09..7c7fbe2e 100644
--- a/SDK/Libraries/CorePEFRuntime/Sources/PEFStart.c
+++ b/Usr/Sys/CorePEFRuntime/Sources/PEFStart.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/Kernel/Root/Mount/.gitkeep b/Usr/Sys/CoreSystem/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/Mount/.gitkeep
+++ b/Usr/Sys/CoreSystem/.gitkeep
diff --git a/SDK/Libraries/CoreSystem/AMD64/CoreAssembly.s b/Usr/Sys/CoreSystem/AMD64/CoreAssembly.s
index 5d1484cf..a2cf12f1 100644
--- a/SDK/Libraries/CoreSystem/AMD64/CoreAssembly.s
+++ b/Usr/Sys/CoreSystem/AMD64/CoreAssembly.s
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
Purpose: AMD64 low level I/O
diff --git a/Kernel/Root/Support/.gitkeep b/Usr/Sys/CoreSystem/ARM64/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/Support/.gitkeep
+++ b/Usr/Sys/CoreSystem/ARM64/.gitkeep
diff --git a/SDK/Libraries/CoreSystem/Headers/Alert.h b/Usr/Sys/CoreSystem/Headers/Alert.h
index 7decd4ca..3b2922d2 100644
--- a/SDK/Libraries/CoreSystem/Headers/Alert.h
+++ b/Usr/Sys/CoreSystem/Headers/Alert.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -10,7 +10,7 @@
* Purpose: New OS alert dialog.
* Date: 3/26/24
*
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
*************************************************************/
diff --git a/SDK/Libraries/CoreSystem/Headers/Defines.h b/Usr/Sys/CoreSystem/Headers/Defines.h
index 713d6df8..2c04c3f1 100644
--- a/SDK/Libraries/CoreSystem/Headers/Defines.h
+++ b/Usr/Sys/CoreSystem/Headers/Defines.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -124,7 +124,7 @@ typedef CharacterTypeUTF8 BooleanType;
#define CS_CONSTEXPR
#endif // __cplusplus
-enum RtProcessCall
+enum
{
kCallAllocPtr = 1,
kCallFreePtr,
@@ -152,7 +152,7 @@ enum RtProcessCall
kCallDeviceExists,
kCallDriveExists,
/// @brief Number of process calls.
- kCallsCount,
+ kCallCount,
};
/**
@@ -173,7 +173,8 @@ typedef struct ApplicationInterface
{
VoidType (*Release)(struct ApplicationInterface* Self, DWordType ExitCode);
IntPtrType (*Invoke)(struct ApplicationInterface* Self, DWordType Sel, ...);
- VoidType (*Query)(struct ApplicationInterface* Self, PtrVoidType* Dst, SizeType SzDst, struct GUID* GuidOf);
+ VoidType (*Query)(struct ApplicationInterface* Self, PtrVoidType* Dst,
+ SizeType SzDst, struct GUID* GuidOf);
} ApplicationInterface, *ApplicationInterfaceRef;
#ifdef __cplusplus
@@ -201,7 +202,7 @@ using StrType = CharacterTypeUTF8[N];
#else
-#define app_cast (ApplicationInterfaceRef)
+#define app_cast(X) (ApplicationInterfaceRef)(X)
#endif // ifdef C++
@@ -213,15 +214,17 @@ CS_EXTERN_C ApplicationInterfaceRef RtGetAppPointer(VoidType);
/// @brief Get argument count
/// @param
/// @return
-CS_EXTERN_C SizeType RtGetAppArgumentsCount(VoidType);
+CS_EXTERN_C SizeType RtGetAppArgumentsCount(VoidType);
/// @brief Get argument pointer.
/// @param
/// @return
-CS_EXTERN_C CharacterTypeUTF8** RtGetAppArgumentsPtr(VoidType);
+CS_EXTERN_C CharacterTypeUTF8** RtGetAppArgumentsPtr(VoidType);
+/// @brief Shared application interface.
CS_EXTERN_C ApplicationInterfaceRef kSharedApplication;
+/// @brief 255 length string type.
typedef CharacterTypeUTF8 StrType255[255];
#define True 1
@@ -233,3 +236,6 @@ typedef CharacterTypeUTF8 StrType255[255];
#ifndef kInvalidRef
#define kInvalidRef 0
#endif
+
+/// @brief Result type.
+typedef UInt64Type ResultType;
diff --git a/SDK/Libraries/CoreSystem/Headers/File.h b/Usr/Sys/CoreSystem/Headers/File.h
index cfd9ee30..66bc6549 100644
--- a/SDK/Libraries/CoreSystem/Headers/File.h
+++ b/Usr/Sys/CoreSystem/Headers/File.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Headers/Heap.h b/Usr/Sys/CoreSystem/Headers/Heap.h
index b2ad6e74..afb8e6e4 100644
--- a/SDK/Libraries/CoreSystem/Headers/Heap.h
+++ b/Usr/Sys/CoreSystem/Headers/Heap.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Headers/Hint.h b/Usr/Sys/CoreSystem/Headers/Hint.h
index ee14711d..db582035 100644
--- a/SDK/Libraries/CoreSystem/Headers/Hint.h
+++ b/Usr/Sys/CoreSystem/Headers/Hint.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Headers/Intl.h b/Usr/Sys/CoreSystem/Headers/Intl.h
index b868adca..c9eae306 100644
--- a/SDK/Libraries/CoreSystem/Headers/Intl.h
+++ b/Usr/Sys/CoreSystem/Headers/Intl.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Headers/Math.h b/Usr/Sys/CoreSystem/Headers/Math.h
index 0079803e..e3a203dc 100644
--- a/SDK/Libraries/CoreSystem/Headers/Math.h
+++ b/Usr/Sys/CoreSystem/Headers/Math.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Headers/Rsrc.h b/Usr/Sys/CoreSystem/Headers/Rsrc.h
index 7fe52910..fafdcc7c 100644
--- a/SDK/Libraries/CoreSystem/Headers/Rsrc.h
+++ b/Usr/Sys/CoreSystem/Headers/Rsrc.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Headers/Thread.h b/Usr/Sys/CoreSystem/Headers/Thread.h
index 15b40df3..26b6477f 100644
--- a/SDK/Libraries/CoreSystem/Headers/Thread.h
+++ b/Usr/Sys/CoreSystem/Headers/Thread.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Headers/Transport.h b/Usr/Sys/CoreSystem/Headers/Transport.h
index 3f6db3f1..671621c8 100644
--- a/SDK/Libraries/CoreSystem/Headers/Transport.h
+++ b/Usr/Sys/CoreSystem/Headers/Transport.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
@@ -16,7 +16,7 @@
#include <Headers/Defines.h>
-typedef QWordType TrStreamType;
+typedef QWordType TptStreamType;
/// @brief Opens a new socket
/// @param afType address family
@@ -24,12 +24,12 @@ typedef QWordType TrStreamType;
/// @param sockProto socket protocol.
/// @return The STREAMS socket.
/// @note return is const.
-CS_EXTERN_C CS_CONST TrStreamType CSOpenSocket(UInt32Type afType, UInt32Type sockType, UInt32Type sockProto);
+CS_EXTERN_C CS_CONST TptStreamType CSOpenSocket(UInt32Type afType, UInt32Type sockType, UInt32Type sockProto);
/// @brief Close a STREAMS socket.
/// @param streams The streams socket.
/// @return
-CS_EXTERN_C VoidType CSCloseSocket(CS_CONST TrStreamType streams);
+CS_EXTERN_C VoidType CSCloseSocket(CS_CONST TptStreamType streams);
/// @brief Get OpenTransport version.
/// @param void
diff --git a/SDK/Libraries/CoreSystem/POWER/CoreAssembly.s b/Usr/Sys/CoreSystem/POWER/CoreAssembly.s
index e7919f23..3262cbb4 100644
--- a/SDK/Libraries/CoreSystem/POWER/CoreAssembly.s
+++ b/Usr/Sys/CoreSystem/POWER/CoreAssembly.s
@@ -1,6 +1,6 @@
; /* -------------------------------------------
;
-; Copyright SoftwareLabs
+; Copyright Zeta Electronics Corporation
;
; Purpose: POWER low level I/O
;
diff --git a/SDK/Libraries/CoreSystem/Private.xml b/Usr/Sys/CoreSystem/Private.xml
index 4be6c388..4be6c388 100644
--- a/SDK/Libraries/CoreSystem/Private.xml
+++ b/Usr/Sys/CoreSystem/Private.xml
diff --git a/Kernel/Root/System/.gitkeep b/Usr/Sys/CoreSystem/RISCV/.gitkeep
index e69de29b..e69de29b 100644
--- a/Kernel/Root/System/.gitkeep
+++ b/Usr/Sys/CoreSystem/RISCV/.gitkeep
diff --git a/SDK/Libraries/CoreSystem/ReadMe.md b/Usr/Sys/CoreSystem/ReadMe.md
index ae5df339..ae5df339 100644
--- a/SDK/Libraries/CoreSystem/ReadMe.md
+++ b/Usr/Sys/CoreSystem/ReadMe.md
diff --git a/SDK/Libraries/CoreSystem/Sources/App.c b/Usr/Sys/CoreSystem/Sources/App.c
index 42ea19c6..3334dad4 100644
--- a/SDK/Libraries/CoreSystem/Sources/App.c
+++ b/Usr/Sys/CoreSystem/Sources/App.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Sources/CRTStartup.c b/Usr/Sys/CoreSystem/Sources/CRTStartup.c
index 1cfad65d..faefe9b7 100644
--- a/SDK/Libraries/CoreSystem/Sources/CRTStartup.c
+++ b/Usr/Sys/CoreSystem/Sources/CRTStartup.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Sources/File.c b/Usr/Sys/CoreSystem/Sources/File.c
index 6e0e810a..9f6b3b35 100644
--- a/SDK/Libraries/CoreSystem/Sources/File.c
+++ b/Usr/Sys/CoreSystem/Sources/File.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Sources/Heap.c b/Usr/Sys/CoreSystem/Sources/Heap.c
index e7a77ba5..1f96648d 100644
--- a/SDK/Libraries/CoreSystem/Sources/Heap.c
+++ b/Usr/Sys/CoreSystem/Sources/Heap.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Sources/Math.c b/Usr/Sys/CoreSystem/Sources/Math.c
index 19df42f3..2d9536f6 100644
--- a/SDK/Libraries/CoreSystem/Sources/Math.c
+++ b/Usr/Sys/CoreSystem/Sources/Math.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/Sources/Thread.c b/Usr/Sys/CoreSystem/Sources/Thread.c
index 7d00bf9e..630787e1 100644
--- a/SDK/Libraries/CoreSystem/Sources/Thread.c
+++ b/Usr/Sys/CoreSystem/Sources/Thread.c
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
diff --git a/SDK/Libraries/CoreSystem/amd64.mk b/Usr/Sys/CoreSystem/amd64.mk
index e64de90f..65642c2e 100644
--- a/SDK/Libraries/CoreSystem/amd64.mk
+++ b/Usr/Sys/CoreSystem/amd64.mk
@@ -1,5 +1,5 @@
##################################################
-# (C) SoftwareLabs, all rights reserved.
+# (C) Zeta Electronics Corporation, all rights reserved.
# This is the CoreSystem Makefile.
##################################################
diff --git a/SDK/Libraries/CoreSystem/compile_flags.txt b/Usr/Sys/CoreSystem/compile_flags.txt
index 749a500e..749a500e 100644
--- a/SDK/Libraries/CoreSystem/compile_flags.txt
+++ b/Usr/Sys/CoreSystem/compile_flags.txt
diff --git a/newoskrnl.10x b/newoskrnl.10x
new file mode 100644
index 00000000..d232f112
--- /dev/null
+++ b/newoskrnl.10x
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<N10X>
+ <Workspace>
+ <IncludeFilter>*.c,*.cc,*.cpp,*.c++,*.cp,*.cxx,*.h,*.hh,*.hpp,*.h++,*.hp,*.hxx,*.inl,*.cs,*.rs,*.java,*.jav,*.js,*.jsc,*.jsx,*.json,*.cls,*.py,*.rpy,*.php,*.php3,*.phl,*.phtml,*.rhtml,*.tpl,*.phps,*.lua,*.html,*.html5,*.htm,*.xml,*.xaml,*.css,*.ssi,*.haml,*.yaml,*.bat,*.wbf,*.wbt,*.txt,*.cmake,*.make,*.makefile,*.mak,*.mk,*.sh,*.bash,*.csv,*.asp,*.pl,*.mac,*.ws,*.vbs,*.perl,*.src,*.rss,*.inc,*.f,*.go,*.prl,*.plx,*.rb,*.lsp,*.lpx,*.ps1,*.command,*.cbl,*.cob,*.qs,*.wxs,*.ph,*.msc,*.glsl,*.hlsl,*.fx,*.vert,*.tesc,*.tese,*.geom,*.frag,*.comp,*.pssl,*.scons,*.cu,*.jai,</IncludeFilter>
+ <ExcludeFilter></ExcludeFilter>
+ <SyncFiles>true</SyncFiles>
+ <Recursive>true</Recursive>
+ <ShowEmptyFolders>true</ShowEmptyFolders>
+ <IncludeFilesWithoutExt>false</IncludeFilesWithoutExt>
+ <IsVirtual>false</IsVirtual>
+ <IsFolder>false</IsFolder>
+ <BuildCommand></BuildCommand>
+ <RebuildCommand></RebuildCommand>
+ <BuildFileCommand></BuildFileCommand>
+ <CleanCommand></CleanCommand>
+ <BuildWorkingDirectory></BuildWorkingDirectory>
+ <CancelBuild></CancelBuild>
+ <RunCommand></RunCommand>
+ <RunCommandWorkingDirectory></RunCommandWorkingDirectory>
+ <DebugCommand></DebugCommand>
+ <DebugArguments></DebugArguments>
+ <ExePathCommand></ExePathCommand>
+ <DebugSln></DebugSln>
+ <UseVisualStudioEnvBat>false</UseVisualStudioEnvBat>
+ <Configurations>
+ <Configuration>Debug</Configuration>
+ <Configuration>Release</Configuration>
+ </Configurations>
+ <Platforms>
+ <Platform>x64</Platform>
+ <Platform>Win32</Platform>
+ </Platforms>
+ <AdditionalIncludePaths>
+ <AdditionalIncludePath>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\ATLMFC\include</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt</AdditionalIncludePath>
+ <AdditionalIncludePath>C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um</AdditionalIncludePath>
+ </AdditionalIncludePaths>
+ <Defines></Defines>
+ <ConfigProperties></ConfigProperties>
+ <Children></Children>
+ </Workspace>
+</N10X>