Rev 192 | Rev 348 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 192 | Rev 195 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | extern void outw(int port, __u16 w); |
50 | extern void outw(int port, __u16 w); |
51 | extern void outl(int port, __u32 l); |
51 | extern void outl(int port, __u32 l); |
52 | 52 | ||
53 | extern void enable_l_apic_in_msr(void); |
53 | extern void enable_l_apic_in_msr(void); |
54 | 54 | ||
- | 55 | ||
- | 56 | void asm_delay_loop(__u32 t); |
|
- | 57 | void asm_fake_loop(__u32 t); |
|
- | 58 | ||
- | 59 | ||
55 | /** Halt CPU |
60 | /** Halt CPU |
56 | * |
61 | * |
57 | * Halt the current CPU until interrupt event. |
62 | * Halt the current CPU until interrupt event. |
58 | */ |
63 | */ |
59 | static inline void cpu_halt(void) { __asm__("hlt"); }; |
64 | static inline void cpu_halt(void) { __asm__("hlt"); }; |