display works sortof
[rpikern] / src / sysctl.S
1         .text
2         .code 32
3
4 @ wait for interrupt
5 #define C7_CRM_WFI       c0
6 #define C7_OP2_WFI       4
7 @ clean/inval operations
8 #define C7_CRM_I_INVAL   c5             @ invalidate instruction cache
9 #define C7_CRM_D_INVAL   c6             @ invalidate data cache
10 #define C7_CRM_INVAL     c7             @ invalidate both (reg = 0)
11 #define C7_OP2_INVAL     0
12 #define C7_CRM_D_CLEAN   c10            @ clean data cache
13 #define C7_CRM_D_CLEAN_INVAL     c14    @ clean and invalidate data cache
14 @ OP2 for cache clean/inval operations
15 #define C7_OP2_ALL       0      @ reg = 0
16 #define C7_OP2_ADDR      1
17 #define C7_OP2_IDX       2
18 @ data synchronization barrier
19 #define C7_CRM_DSB       c10
20 #define C7_OP2_DSB       4
21 @ data memory barrier
22 #define C7_CRM_DMB       c10
23 #define C7_OP2_DMB       5
24
25 @ vi:set filetype=armasm: