summaryrefslogtreecommitdiffhomepage
path: root/Kernel
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-14 15:56:45 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-14 15:56:45 +0200
commitf284646368823ffa88aa411d302f02421df2f5b2 (patch)
tree8ad1da4dcf856d1231a689a20a73cc32b9925572 /Kernel
parentdd7b72379108c10cd68853d2a8a0332784ebb8cb (diff)
MHR-31: Focusing on ARM support for upcoming product.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/HALKit/ARM64/Hart.hxx7
-rw-r--r--Kernel/makefile6
2 files changed, 12 insertions, 1 deletions
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