blob: 1d361621133db57b6dafe82c87354b7645460975 (
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
|
/** ===========================================
(C) Mahrouss Logic
===========================================*/
.section .text
.globl RtGetApp
.globl RtAssertTriggerInterrupt
/* @brief Application getter */
/* @throws: ApptError: appartement error. */
RtGetApp:
mov $0x10, %rcx /* sysGetProcessObject */
int $0x21
/* rax gets saved and returned. */
ret
RtAssertTriggerInterrupt:
mov $0x11, %rcx /* sysTerminateCurrentProcess */
int $0x21
ret
|