summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/SystemLib/PowerPC/CoreAssembly.s
blob: 7fef98e3ed7c19aa2661226082ce4a6c897745de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** ===========================================
 (C) Mahrouss Logic
 Purpose: PowerPC low-level routines.
    ===========================================*/

.section .text

.globl RtGetApp
.globl RtAssertTriggerInterrupt
.balign 4

/* @brief Application getter */
/* @throws: ApptError: appartement error. */
RtGetApp:
    stw 0x10, 0(3) /* sysGetProcessObject */
    sc

    blr

RtAssertTriggerInterrupt:
    stw 0x11, 0(3) /* sysTerminateCurrentProcess */
    stw 0x3, 0(4)
    sc

    blr