Changeset d6f9fff in mainline for kernel/arch/ia32/include/arch/asm.h
- Timestamp:
- 2016-04-27T12:39:14Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a5eca4
- Parents:
- 8a36bc1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/arch/asm.h
r8a36bc1e rd6f9fff 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.