-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathentry.h
More file actions
42 lines (33 loc) · 1.09 KB
/
entry.h
File metadata and controls
42 lines (33 loc) · 1.09 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef _ENTRY_H
#define _ENTRY_H
#define S_FRAME_SIZE 272 // size of all saved registers
#define S_X0 0 // offset of x0 register in saved stack frame
#define SYNC_INVALID_EL1t 0
#define IRQ_INVALID_EL1t 1
#define FIQ_INVALID_EL1t 2
#define ERROR_INVALID_EL1t 3
#define SYNC_INVALID_EL1h 4
#define IRQ_INVALID_EL1h 5
#define FIQ_INVALID_EL1h 6
#define ERROR_INVALID_EL1h 7
#define SYNC_INVALID_EL0_64 8
#define IRQ_INVALID_EL0_64 9
#define FIQ_INVALID_EL0_64 10
#define ERROR_INVALID_EL0_64 11
#define SYNC_INVALID_EL0_32 12
#define IRQ_INVALID_EL0_32 13
#define FIQ_INVALID_EL0_32 14
#define ERROR_INVALID_EL0_32 15
#define SYNC_ERROR 16
#define SYSCALL_ERROR 17
#define DATA_ABORT_ERROR 18
#ifndef __ASSEMBLER__
extern void enable_irq_persist();
extern void disable_irq_persist();
extern void enable_irq();
extern void disable_irq();
extern void enable_interrupt();
extern void disable_interrupt();
extern void ret_from_fork();
#endif
#endif