From 09dd11ddf800898c00ecb04a65fb5cd10fb481fa Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 8 May 2024 12:32:41 +0200 Subject: MHR-23: :boom: changes, reworked project tree. Signed-off-by: Amlal El Mahrouss --- NewKernel/HALKit/AMD64/HalInstallTIB.asm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 NewKernel/HALKit/AMD64/HalInstallTIB.asm (limited to 'NewKernel/HALKit/AMD64/HalInstallTIB.asm') diff --git a/NewKernel/HALKit/AMD64/HalInstallTIB.asm b/NewKernel/HALKit/AMD64/HalInstallTIB.asm new file mode 100644 index 00000000..ae3ead27 --- /dev/null +++ b/NewKernel/HALKit/AMD64/HalInstallTIB.asm @@ -0,0 +1,22 @@ +;; /* +;; * ======================================================== +;; * +;; * NewOS +;; * Copyright Mahrouss Logic, all rights reserved. +;; * +;; * ======================================================== +;; */ + +[bits 64] + +[global rt_install_tib] + +;; changed: rs, fs +;; expected: rcx, rdx + +rt_install_tib: + mov rcx, gs ;; TIB -> Thread Information Block + mov rdx, fs ;; PIB -> Process Information Block + ret + +;; //////////////////////////////////////////////////// ;; -- cgit v1.2.3