From a65b375680f63f5d4621941f49834255b9a567fb Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 1 Sep 2024 19:23:36 +0200 Subject: [ IMP ] Bumping repository. Signed-off-by: Amlal El Mahrouss --- dev/INSTALL/Install.asm | 10 ---------- dev/INSTALL/ReadMe.txt | 3 +++ dev/INSTALL/X64/InstallAPI.asm | 33 +++++++++++++++++++++++++++++++++ dev/ZKA/HALKit/AMD64/Processor.hxx | 6 ------ dev/ZKA/HALKit/ARM64/Processor.hxx | 4 ---- 5 files changed, 36 insertions(+), 20 deletions(-) delete mode 100644 dev/INSTALL/Install.asm create mode 100644 dev/INSTALL/ReadMe.txt create mode 100644 dev/INSTALL/X64/InstallAPI.asm (limited to 'dev') diff --git a/dev/INSTALL/Install.asm b/dev/INSTALL/Install.asm deleted file mode 100644 index 3845316c..00000000 --- a/dev/INSTALL/Install.asm +++ /dev/null @@ -1,10 +0,0 @@ -;; /* -;; * --------------------------------------------------- -;; * -;; * Copyright ZKA Technologies., all rights reserved. -;; * -;; * File: Install.asm -;; * Purpose: ZKA installer program, runs at ring-0. -;; * -;; * --------------------------------------------------- -;; */ diff --git a/dev/INSTALL/ReadMe.txt b/dev/INSTALL/ReadMe.txt new file mode 100644 index 00000000..38a1817c --- /dev/null +++ b/dev/INSTALL/ReadMe.txt @@ -0,0 +1,3 @@ +ZKA installer ReadMe: + +- X64: x64 editions installer. diff --git a/dev/INSTALL/X64/InstallAPI.asm b/dev/INSTALL/X64/InstallAPI.asm new file mode 100644 index 00000000..2e2ba195 --- /dev/null +++ b/dev/INSTALL/X64/InstallAPI.asm @@ -0,0 +1,33 @@ +;; /* +;; * --------------------------------------------------- +;; * +;; * Copyright ZKA Technologies., all rights reserved. +;; * +;; * File: Install.asm +;; * Purpose: ZKA installer program, runs at ring-0. +;; * +;; * --------------------------------------------------- +;; */ + +[bits 64] + +[global kInstallTitle] +[global InstInstallToDir] + +section .data + +kInstallTitle: db "Install ZKA", 0 + +section .text + +;; @param r8 arg 1 +;; @param r9 arg 2 +;; @note PEF procedure. +InstInstallToDir: + mov rcx, r8 ; file + mov rdx, r9 ; dest dir + int 0x32 + ret + + + diff --git a/dev/ZKA/HALKit/AMD64/Processor.hxx b/dev/ZKA/HALKit/AMD64/Processor.hxx index dba5c625..ee68a7ed 100644 --- a/dev/ZKA/HALKit/AMD64/Processor.hxx +++ b/dev/ZKA/HALKit/AMD64/Processor.hxx @@ -24,12 +24,6 @@ EXTERN_C #include } -#ifdef kCPUBackendName -#undef kCPUBackendName -#endif // ifdef kCPUBackendName - -#define kCPUBackendName "AMD64" - #define kSyscallRoute (0x32) #define IsActiveLow(FLG) (FLG & 2) diff --git a/dev/ZKA/HALKit/ARM64/Processor.hxx b/dev/ZKA/HALKit/ARM64/Processor.hxx index 7660dd5b..2378daca 100644 --- a/dev/ZKA/HALKit/ARM64/Processor.hxx +++ b/dev/ZKA/HALKit/ARM64/Processor.hxx @@ -11,10 +11,6 @@ #include #include -#ifdef kCPUBackendName -#undef kCPUBackendName -#endif // ifdef kCPUBackendName - #define kPTESize 512 /* 64-bit PT */ #define kCPUBackendName "ARMv8" -- cgit v1.2.3