Changeset 6aea2e00 in mainline for kernel/arch/amd64
- Timestamp:
- 2007-04-09T21:06:22Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ddee708
- Parents:
- ec5b3204
- Location:
- kernel/arch/amd64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/asm.h
rec5b3204 r6aea2e00 56 56 } 57 57 58 static inline void cpu_sleep(void) { __asm__ volatile ("hlt\n"); }; 59 static inline void cpu_halt(void) { __asm__ volatile ("hlt\n"); }; 58 static inline void cpu_sleep(void) 59 { 60 asm volatile ("hlt\n"); 61 }; 62 63 static inline void cpu_halt(void) 64 { 65 asm volatile ("hlt\n"); 66 }; 60 67 61 68 -
kernel/arch/amd64/src/pm.c
rec5b3204 r6aea2e00 243 243 asm volatile ( 244 244 "int $0x03\n" 245 "cli\n" 245 246 "hlt\n" 246 247 );
Note:
See TracChangeset
for help on using the changeset viewer.