Changeset 94 for trunk/hal/x86_64/core/hal_internal.h
- Timestamp:
- Jun 29, 2017, 1:27:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_internal.h
r91 r94 35 35 void sti(); 36 36 void cli(); 37 uint64_t rdtsc(); 37 38 uint8_t in8(uint32_t port); 38 39 void out8(uint32_t port, uint8_t val); 39 40 uint64_t rdmsr(uint32_t); 40 41 void wrmsr(uint32_t, uint64_t); 42 43 uint32_t atomic_cas_32(volatile uint32_t *ptr, uint32_t exp, uint32_t new); 44 void atomic_add_32(volatile uint32_t *ptr, int32_t incr); 41 45 42 46 /* hal_gpt.c */ … … 55 59 /* x86_printf.c */ 56 60 void x86_panic(char *msg); 61 void x86_putc(char c); 57 62 void x86_printf(char *s, ...); 58 63
Note: See TracChangeset
for help on using the changeset viewer.