Changeset d767cb1 in mainline for kernel/arch/ia32/include
- Timestamp:
- 2011-08-19T11:59:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7beb220
- Parents:
- c2cf033 (diff), ac7f81d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/ia32/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/asm.h
rc2cf033 rd767cb1 311 311 } 312 312 313 #ifndef PROCESSOR_i486 313 314 /** Write to MSR */ 314 315 NO_TRACE static inline void write_msr(uint32_t msr, uint64_t value) … … 335 336 return ((uint64_t) dx << 32) | ax; 336 337 } 338 #endif 337 339 338 340 -
kernel/arch/ia32/include/atomic.h
rc2cf033 rd767cb1 121 121 asm volatile ( 122 122 "0:\n" 123 #ifndef PROCESSOR_i486 123 124 "pause\n" /* Pentium 4's HT love this instruction */ 125 #endif 124 126 "mov %[count], %[tmp]\n" 125 127 "testl %[tmp], %[tmp]\n" -
kernel/arch/ia32/include/cycle.h
rc2cf033 rd767cb1 40 40 NO_TRACE static inline uint64_t get_cycle(void) 41 41 { 42 #ifdef PROCESSOR_i486 43 return 0; 44 #else 42 45 uint64_t v; 43 46 … … 48 51 49 52 return v; 53 #endif 50 54 } 51 55
Note:
See TracChangeset
for help on using the changeset viewer.
