Changeset eb522e8 in mainline for kernel/arch/ia32/include/asm.h
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/asm.h
r9e2e715 reb522e8 64 64 } 65 65 66 #define GEN_READ_REG(reg) NO_TRACE static inline unative_t read_ ##reg (void) \66 #define GEN_READ_REG(reg) NO_TRACE static inline sysarg_t read_ ##reg (void) \ 67 67 { \ 68 unative_t res; \68 sysarg_t res; \ 69 69 asm volatile ( \ 70 70 "movl %%" #reg ", %[res]" \ … … 74 74 } 75 75 76 #define GEN_WRITE_REG(reg) NO_TRACE static inline void write_ ##reg ( unative_t regn) \76 #define GEN_WRITE_REG(reg) NO_TRACE static inline void write_ ##reg (sysarg_t regn) \ 77 77 { \ 78 78 asm volatile ( \ … … 366 366 asm volatile ( 367 367 "invlpg %[addr]\n" 368 :: [addr] "m" (*( unative_t *) addr)368 :: [addr] "m" (*(sysarg_t *) addr) 369 369 ); 370 370 }
Note:
See TracChangeset
for help on using the changeset viewer.