Changeset 7ce9284 in mainline for arch/ia32/include/asm.h
- Timestamp:
- 2005-08-30T17:41:19Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b45aa23
- Parents:
- 10caad0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/asm.h
r10caad0 r7ce9284 84 84 static inline __u32 read_cr3(void) { __u32 v; __asm__ volatile ("movl %%cr3,%0" : "=r" (v)); return v; } 85 85 86 /** Write DR087 *88 * Write value to DR0.89 *90 * @param v Value to be written.91 */92 static inline void write_dr0(__u32 v) { __asm__ volatile ("movl %0,%%dr0\n" : : "r" (v)); }93 94 /** Read DR095 *96 * Return value in DR097 *98 * @return Value read.99 */100 static inline __u32 read_dr0(void) { __u32 v; __asm__ volatile ("movl %%dr0,%0" : "=r" (v)); return v; }101 102 86 /** Set priority level low 103 87 *
Note:
See TracChangeset
for help on using the changeset viewer.