summaryrefslogtreecommitdiffhomepage
path: root/NewKernel/HALKit/AMD64/HalInstallTIB.asm
diff options
context:
space:
mode:
Diffstat (limited to 'NewKernel/HALKit/AMD64/HalInstallTIB.asm')
-rw-r--r--NewKernel/HALKit/AMD64/HalInstallTIB.asm22
1 files changed, 22 insertions, 0 deletions
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
+
+;; //////////////////////////////////////////////////// ;;