diff options
Diffstat (limited to 'Kernel/HALKit/AMD64/HalInstallTIB.asm')
| -rw-r--r-- | Kernel/HALKit/AMD64/HalInstallTIB.asm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Kernel/HALKit/AMD64/HalInstallTIB.asm b/Kernel/HALKit/AMD64/HalInstallTIB.asm new file mode 100644 index 00000000..a5f3ef73 --- /dev/null +++ b/Kernel/HALKit/AMD64/HalInstallTIB.asm @@ -0,0 +1,22 @@ +;; /* +;; * ======================================================== +;; * +;; * NewOS +;; * Copyright SoftwareLabs, 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 + +;; //////////////////////////////////////////////////// ;; |
