Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 806 → Rev 805

/kernel/trunk/arch/amd64/include/asm.h
72,9 → 72,6
*/
static inline void outb(__u16 port, __u8 val) { __asm__ volatile ("outb %b0, %w1\n" : : "a" (val), "d" (port) ); }
 
/** Swap Hidden part of GS register with visible one */
static inline void swapgs(void) { __asm__ volatile("swapgs"); }
 
/** Enable interrupts.
*
* Enable interrupts and return previous