summaryrefslogtreecommitdiff
path: root/kern/asm_instr.S
blob: e096302a3948b5a9b6f2865bcdd0d9288c24041e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/** @file asm_instr.c
 *
 *  @brief assembly stubs.
 *
 *  @author Hanjie Wu (hanjiew)
 *  @bug No functional bugs
 */

.text

.global invlpg
.type invlpg, %function
invlpg:
    mov 0x4(%esp), %eax
    invlpg (%eax)
    ret

.global hlt
.type hlt, %function
hlt:
    hlt
    ret /* keep it for other platforms that do not respond to hlt */