Changeset 39cea6a in mainline for arch/ia32/include/asm.h
- Timestamp:
- 2006-04-13T17:38:03Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e185136
- Parents:
- 897ad60
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/asm.h
r897ad60 r39cea6a 257 257 * @param gdtr_reg Address of memory from where to load GDTR. 258 258 */ 259 static inline void gdtr_load( struct ptr_16_32*gdtr_reg)259 static inline void gdtr_load(ptr_16_32_t *gdtr_reg) 260 260 { 261 261 __asm__ volatile ("lgdt %0\n" : : "m" (*gdtr_reg)); … … 266 266 * @param gdtr_reg Address of memory to where to load GDTR. 267 267 */ 268 static inline void gdtr_store( struct ptr_16_32*gdtr_reg)268 static inline void gdtr_store(ptr_16_32_t *gdtr_reg) 269 269 { 270 270 __asm__ volatile ("sgdt %0\n" : : "m" (*gdtr_reg)); … … 275 275 * @param idtr_reg Address of memory from where to load IDTR. 276 276 */ 277 static inline void idtr_load( struct ptr_16_32*idtr_reg)277 static inline void idtr_load(ptr_16_32_t *idtr_reg) 278 278 { 279 279 __asm__ volatile ("lidt %0\n" : : "m" (*idtr_reg));
Note:
See TracChangeset
for help on using the changeset viewer.