Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 2284 → Rev 2227

/trunk/kernel/arch/amd64/src/pm.c
242,7 → 242,6
interrupts_restore(ipl);
asm volatile (
"int $0x03\n"
"cli\n"
"hlt\n"
);
}
/trunk/kernel/arch/amd64/include/asm.h
55,17 → 55,10
return v;
}
 
static inline void cpu_sleep(void)
{
asm volatile ("hlt\n");
};
static inline void cpu_sleep(void) { __asm__ volatile ("hlt\n"); };
static inline void cpu_halt(void) { __asm__ volatile ("hlt\n"); };
 
static inline void cpu_halt(void)
{
asm volatile ("hlt\n");
};
 
 
/** Byte from port
*
* Get byte from port