Changeset 6aea2e00 in mainline
- 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
- Files:
-
- 4 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 ); -
kernel/arch/ia32/include/asm.h
rec5b3204 r6aea2e00 60 60 static inline void cpu_halt(void) 61 61 { 62 asm ("hlt\n");62 asm volatile ("hlt\n"); 63 63 }; 64 64 65 65 static inline void cpu_sleep(void) 66 66 { 67 asm ("hlt\n");67 asm volatile ("hlt\n"); 68 68 }; 69 69 -
kernel/arch/ia32/src/pm.c
rec5b3204 r6aea2e00 249 249 asm volatile ( 250 250 "int $0x03\n" 251 "cli\n" 251 252 "hlt\n" 252 253 );
Note:
See TracChangeset
for help on using the changeset viewer.