summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/SystemLib/PowerPC
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-05 21:40:26 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-05 21:40:34 +0200
commit5152c2282a1a680a272322f0bd3275fdf43e1530 (patch)
tree9cb1272d1eb8e34212148408aba0bc2bc45c58d4 /Public/Developer/SystemLib/PowerPC
parent21fe8d0b7d48e92ba0d45c084bf868c94bb67cd7 (diff)
WiP: Bump.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Developer/SystemLib/PowerPC')
-rw-r--r--Public/Developer/SystemLib/PowerPC/CoreAssembly.s25
1 files changed, 11 insertions, 14 deletions
diff --git a/Public/Developer/SystemLib/PowerPC/CoreAssembly.s b/Public/Developer/SystemLib/PowerPC/CoreAssembly.s
index 7fef98e3..98fbcca9 100644
--- a/Public/Developer/SystemLib/PowerPC/CoreAssembly.s
+++ b/Public/Developer/SystemLib/PowerPC/CoreAssembly.s
@@ -1,25 +1,22 @@
-/** ===========================================
- (C) Mahrouss Logic
- Purpose: PowerPC low-level routines.
- ===========================================*/
+; /* -------------------------------------------
+;
+; Copyright Mahrouss Logic
+;
+; Purpose: PowerPC low level I/O
+;
+; ------------------------------------------- */
-.section .text
-
-.globl RtGetApp
-.globl RtAssertTriggerInterrupt
-.balign 4
/* @brief Application getter */
/* @throws: ApptError: appartement error. */
-RtGetApp:
- stw 0x10, 0(3) /* sysGetProcessObject */
+export .code64 RtGetApp:
+ stw 0x10, 0(r3) /* sysGetProcessObject */
sc
blr
-RtAssertTriggerInterrupt:
- stw 0x11, 0(3) /* sysTerminateCurrentProcess */
- stw 0x3, 0(4)
+export .code64 RtAssertTriggerInterrupt:
+ stw 0x11, 0(r3) /* sysTerminateCurrentProcess */
sc
blr