Subversion Repositories HelenOS-historic

Rev

Rev 581 | Rev 1074 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 581 Rev 597
Line 40... Line 40...
40
extern void interrupt_handlers(void);
40
extern void interrupt_handlers(void);
41
 
41
 
42
extern void enable_l_apic_in_msr(void);
42
extern void enable_l_apic_in_msr(void);
43
 
43
 
44
 
44
 
45
void asm_delay_loop(__u32 t);
45
extern void asm_delay_loop(__u32 t);
46
void asm_fake_loop(__u32 t);
46
extern void asm_fake_loop(__u32 t);
47
 
47
 
48
 
48
 
49
/** Halt CPU
49
/** Halt CPU
50
 *
50
 *
51
 * Halt the current CPU until interrupt event.
51
 * Halt the current CPU until interrupt event.
Line 233... Line 233...
233
        : "=r" (ip)
233
        : "=r" (ip)
234
        );
234
        );
235
    return ip;
235
    return ip;
236
}
236
}
237
 
237
 
-
 
238
/** Invalidate TLB Entry.
-
 
239
 *
-
 
240
 * @param addr Address on a page whose TLB entry is to be invalidated.
-
 
241
 */
-
 
242
static inline void invlpg(__address addr)
-
 
243
{
-
 
244
    __asm__ volatile ("invlpg %0\n" :: "m" (addr));
-
 
245
}
-
 
246
 
238
#endif
247
#endif