@@ -357,11 +357,11 @@ mod x86_64 {
357
357
///
358
358
/// # Returns
359
359
/// - Field 1 (SYSRET): The CS selector is set to this field + 16. SS.Sel is set to
360
- /// this field + 8. Because SYSRET always returns to CPL 3, the
361
- /// RPL bits 1:0 should be initialized to 11b.
360
+ /// this field + 8. Because SYSRET always returns to CPL 3, the
361
+ /// RPL bits 1:0 should be initialized to 11b.
362
362
/// - Field 2 (SYSCALL): This field is copied directly into CS.Sel. SS.Sel is set to
363
- /// this field + 8. Because SYSCALL always switches to CPL 0, the RPL bits
364
- /// 33:32 should be initialized to 00b.
363
+ /// this field + 8. Because SYSCALL always switches to CPL 0, the RPL bits
364
+ /// 33:32 should be initialized to 00b.
365
365
#[ inline]
366
366
pub fn read_raw ( ) -> ( u16 , u16 ) {
367
367
let msr_value = unsafe { Self :: MSR . read ( ) } ;
@@ -398,11 +398,11 @@ mod x86_64 {
398
398
///
399
399
/// # Parameters
400
400
/// - sysret: The CS selector is set to this field + 16. SS.Sel is set to
401
- /// this field + 8. Because SYSRET always returns to CPL 3, the
402
- /// RPL bits 1:0 should be initialized to 11b.
401
+ /// this field + 8. Because SYSRET always returns to CPL 3, the
402
+ /// RPL bits 1:0 should be initialized to 11b.
403
403
/// - syscall: This field is copied directly into CS.Sel. SS.Sel is set to
404
- /// this field + 8. Because SYSCALL always switches to CPL 0, the RPL bits
405
- /// 33:32 should be initialized to 00b.
404
+ /// this field + 8. Because SYSCALL always switches to CPL 0, the RPL bits
405
+ /// 33:32 should be initialized to 00b.
406
406
///
407
407
/// # Safety
408
408
///
0 commit comments