Changeset 46 for trunk/hal/x86_64/hal_internal.h
- Timestamp:
- Jun 23, 2017, 1:31:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/hal_internal.h
r45 r46 20 20 */ 21 21 22 #define offsetof(type, member) __builtin_offsetof(type, member) 22 23 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) 23 24 #define rounddown(x,y) (((x)/(y))*(y)) … … 30 31 /* hal_cpu.S */ 31 32 void invlpg(vaddr_t va); 33 uint64_t rdmsr(uint32_t); 34 void wrmsr(uint32_t, uint64_t); 32 35 33 36 /* hal_gpt.c */ … … 41 44 void hal_gpt_init(paddr_t firstpa); 42 45 46 /* hal_special.c */ 47 void hal_tls_init_cpu0(); 48 43 49 /* x86_printf.c */ 44 50 void x86_panic(char *msg);
Note: See TracChangeset
for help on using the changeset viewer.