Changeset 32573ff in mainline for kernel/arch/ia32/include/arch/asm.h
- Timestamp:
- 2016-05-02T20:58:16Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (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/arch/asm.h
r6adb775f r32573ff 439 439 asm volatile ( 440 440 "ltr %[sel]" 441 :: [sel] "r" (sel) 442 ); 443 } 444 445 /** Load GS from descriptor table. 446 * 447 * @param sel Selector specifying descriptor of the GS segment. 448 * 449 */ 450 NO_TRACE static inline void gs_load(uint16_t sel) 451 { 452 asm volatile ( 453 "mov %[sel], %%gs" 441 454 :: [sel] "r" (sel) 442 455 );
Note:
See TracChangeset
for help on using the changeset viewer.