summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Drv/SampleDriver/CheckStck.c11
-rw-r--r--Drv/SampleDriver/SampleDriver.c6
-rw-r--r--Kernel/HALKit/ARM64/Hart.hxx7
-rw-r--r--Kernel/makefile6
-rw-r--r--Meta/Zeta.pdfbin0 -> 34775 bytes
6 files changed, 24 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 13f452e4..c0f62932 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@ cmake_install.cmake
qtcsettings.cmake
*.exec
+*.rom
NvVars
diff --git a/Drv/SampleDriver/CheckStck.c b/Drv/SampleDriver/CheckStck.c
new file mode 100644
index 00000000..3eb157ba
--- /dev/null
+++ b/Drv/SampleDriver/CheckStck.c
@@ -0,0 +1,11 @@
+/* -------------------------------------------
+
+ Copyright Zeta Electronics Corporation
+
+------------------------------------------- */
+
+///! @brief Use this to check your stack, if using MinGW/MSVC/CodeTools.
+void ___chkstk_ms(void)
+{
+ (void)0;
+}
diff --git a/Drv/SampleDriver/SampleDriver.c b/Drv/SampleDriver/SampleDriver.c
index 94d5635b..85bd8d54 100644
--- a/Drv/SampleDriver/SampleDriver.c
+++ b/Drv/SampleDriver/SampleDriver.c
@@ -18,9 +18,3 @@ int __ImageEnd(void)
kernelPrintStr("SampleDriver: Shutting down...\r");
return 0;
}
-
-///! @brief Use this to check your stack, if using MinGW/MSVC.
-void ___chkstk_ms(void)
-{
- (void)0;
-}
diff --git a/Kernel/HALKit/ARM64/Hart.hxx b/Kernel/HALKit/ARM64/Hart.hxx
new file mode 100644
index 00000000..0146ad8c
--- /dev/null
+++ b/Kernel/HALKit/ARM64/Hart.hxx
@@ -0,0 +1,7 @@
+/* -------------------------------------------
+
+ Copyright Zeta Electronics Corporation
+
+------------------------------------------- */
+
+#pragma once
diff --git a/Kernel/makefile b/Kernel/makefile
index 97804c20..16a36013 100644
--- a/Kernel/makefile
+++ b/Kernel/makefile
@@ -11,6 +11,8 @@ CCFLAGS = -c -fPIC -ffreestanding -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fn
ASM = nasm
+DISKDRIVER = -D__ATA_PIO__
+
ifneq ($(ATA_PIO_SUPPORT), )
DISKDRIVER = -D__ATA_PIO__
endif
@@ -23,7 +25,7 @@ ifneq ($(AHCI_SUPPORT), )
DISKDRIVER = -D__AHCI__
endif
-ifneq ($(DEBUG_SUPPORT), )
+ifeq ($(RELEASE_SUPPORT), )
DEBUG = -D__DEBUG__
endif
@@ -69,6 +71,8 @@ link-amd64-epm:
.PHONY: all
all: newos-amd64-epm link-amd64-epm
+ qemu-img create -f raw newoskrnl.rom 512K
+ dd if=newoskrnl.exe of=newoskrnl.rom bs=1 seek=0 conv=notrunc
@echo "NewOSKrnl => OK."
.PHONY: help
diff --git a/Meta/Zeta.pdf b/Meta/Zeta.pdf
new file mode 100644
index 00000000..2a4adfb9
--- /dev/null
+++ b/Meta/Zeta.pdf
Binary files differ