aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Gerd Zellweger <mail@gerdzellweger.com> 2022-06-29 23:08:44 -0700
committerGravatar Gerd Zellweger <mail@gerdzellweger.com> 2022-06-29 23:08:44 -0700
commit78a3dc768eae00d08821fd2410782d8af358b7b8 (patch)
treef195612bf55476ea36a545d2f8b3eaed89c00a10 /src/lib.rs
parentf6c19b56c79c2f9c273d5cc4fd0358f058d6ac61 (diff)
downloadrust-x86-78a3dc768eae00d08821fd2410782d8af358b7b8.tar.gz
rust-x86-78a3dc768eae00d08821fd2410782d8af358b7b8.tar.zst
rust-x86-78a3dc768eae00d08821fd2410782d8af358b7b8.zip
Fixes #124.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b505446..0c35999 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -108,8 +108,11 @@ mod x86testing {
/// Read Processor ID
///
-/// Reads the value of the IA32_TSC_AUX MSR (address C0000103H)
-/// into the destination register.
+/// Reads the value of the IA32_TSC_AUX MSR (address C0000103H) into the
+/// destination register.
+///
+/// # See also
+/// `IA32_TSC_AUX` can also be read calling [`crate::time::rdtscp`].
///
/// # Safety
/// May fail with #UD if rdpid is not supported (check CPUID).