Changeset 3a1c048 in mainline
- Timestamp:
- 2009-03-12T17:55:26Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4a26e39
- Parents:
- 3c79afe
- Location:
- kernel/arch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/asm.h
r3c79afe r3a1c048 70 70 static inline void cpu_halt(void) 71 71 { 72 asm volatile ("hlt\n"); 72 asm volatile ( 73 "0:\n" 74 " hlt\n" 75 " jmp 0b\n" 76 ); 73 77 } 74 78 -
kernel/arch/ia32/include/asm.h
r3c79afe r3a1c048 57 57 /** Halt CPU 58 58 * 59 * Halt the current CPU until interrupt event.59 * Halt the current CPU. 60 60 * 61 61 */ 62 62 static inline void cpu_halt(void) 63 63 { 64 asm volatile ("hlt\n"); 64 asm volatile ( 65 "0:\n" 66 " hlt\n" 67 " jmp 0b\n" 68 ); 65 69 } 66 70
Note:
See TracChangeset
for help on using the changeset viewer.