blob: 65f147c50bf86071780a8f618fc56f9e7379fad6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="`x86_64` flags and bitfields."><meta name="keywords" content="rust, rustlang, rust-lang, x86_64"><title>kvm_rs::x86_64 - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../../kvm_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"></h2>
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../kvm_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module x86_64</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kvm_rs/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><div id="settings-menu" tabindex="-1">
<a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div>
</div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">kvm_rs</a>::<wbr><a class="mod" href="#">x86_64</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kvm_rs/x86_64.rs.html#1-162">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>x86_64</code> flags and bitfields.</p>
</div></details><h2 id="constants" class="small-section-header"><a href="#constants">Constants</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_AM.html" title="kvm_rs::x86_64::CR0_AM constant">CR0_AM</a></div><div class="item-right docblock-short"><p>Alignment Mask.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_CD.html" title="kvm_rs::x86_64::CR0_CD constant">CR0_CD</a></div><div class="item-right docblock-short"><p>Cachine disable.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_EM.html" title="kvm_rs::x86_64::CR0_EM constant">CR0_EM</a></div><div class="item-right docblock-short"><p>Emulation.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_ET.html" title="kvm_rs::x86_64::CR0_ET constant">CR0_ET</a></div><div class="item-right docblock-short"><p>Extension Type.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_MP.html" title="kvm_rs::x86_64::CR0_MP constant">CR0_MP</a></div><div class="item-right docblock-short"><p>Monitor Coprocessor.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_NE.html" title="kvm_rs::x86_64::CR0_NE constant">CR0_NE</a></div><div class="item-right docblock-short"><p>Numeric Error.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_NW.html" title="kvm_rs::x86_64::CR0_NW constant">CR0_NW</a></div><div class="item-right docblock-short"><p>Not Write-Torugh.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_PE.html" title="kvm_rs::x86_64::CR0_PE constant">CR0_PE</a></div><div class="item-right docblock-short"><p>Protection Enable.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_PG.html" title="kvm_rs::x86_64::CR0_PG constant">CR0_PG</a></div><div class="item-right docblock-short"><p>Paging.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_TS.html" title="kvm_rs::x86_64::CR0_TS constant">CR0_TS</a></div><div class="item-right docblock-short"><p>Task Switched.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR0_WP.html" title="kvm_rs::x86_64::CR0_WP constant">CR0_WP</a></div><div class="item-right docblock-short"><p>Write Protect.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR3_PAGE_BASE_MASK.html" title="kvm_rs::x86_64::CR3_PAGE_BASE_MASK constant">CR3_PAGE_BASE_MASK</a></div><div class="item-right docblock-short"><p>Mask for physical base address of paging structure.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR3_PCD.html" title="kvm_rs::x86_64::CR3_PCD constant">CR3_PCD</a></div><div class="item-right docblock-short"><p>Page-level Cache Disable.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR3_PWT.html" title="kvm_rs::x86_64::CR3_PWT constant">CR3_PWT</a></div><div class="item-right docblock-short"><p>Page-level Write-Through.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR4_LA57.html" title="kvm_rs::x86_64::CR4_LA57 constant">CR4_LA57</a></div><div class="item-right docblock-short"><p>57-bit Linear Addresses.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.CR4_PAE.html" title="kvm_rs::x86_64::CR4_PAE constant">CR4_PAE</a></div><div class="item-right docblock-short"><p>Physical Address Extenstion.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.EFER_LMA.html" title="kvm_rs::x86_64::EFER_LMA constant">EFER_LMA</a></div><div class="item-right docblock-short"><p>Long Mode Active (readonly).</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.EFER_LME.html" title="kvm_rs::x86_64::EFER_LME constant">EFER_LME</a></div><div class="item-right docblock-short"><p>Long Mode Enable.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.MSR_EFER.html" title="kvm_rs::x86_64::MSR_EFER constant">MSR_EFER</a></div><div class="item-right docblock-short"><p>Extended Feature Enable Register MSR number.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.PAGE_ENTRY_PRESENT.html" title="kvm_rs::x86_64::PAGE_ENTRY_PRESENT constant">PAGE_ENTRY_PRESENT</a></div><div class="item-right docblock-short"><p>Page entry present.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.PAGE_ENTRY_RW.html" title="kvm_rs::x86_64::PAGE_ENTRY_RW constant">PAGE_ENTRY_RW</a></div><div class="item-right docblock-short"><p>Page region read/write.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_AC.html" title="kvm_rs::x86_64::RFLAGS_AC constant">RFLAGS_AC</a></div><div class="item-right docblock-short"><p>Alignment check.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_AF.html" title="kvm_rs::x86_64::RFLAGS_AF constant">RFLAGS_AF</a></div><div class="item-right docblock-short"><p>Adjust flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_CF.html" title="kvm_rs::x86_64::RFLAGS_CF constant">RFLAGS_CF</a></div><div class="item-right docblock-short"><p>Carry flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_DF.html" title="kvm_rs::x86_64::RFLAGS_DF constant">RFLAGS_DF</a></div><div class="item-right docblock-short"><p>Direction flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_IF.html" title="kvm_rs::x86_64::RFLAGS_IF constant">RFLAGS_IF</a></div><div class="item-right docblock-short"><p>Sign flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_IOPL.html" title="kvm_rs::x86_64::RFLAGS_IOPL constant">RFLAGS_IOPL</a></div><div class="item-right docblock-short"><p>I/O privilege level.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_OF.html" title="kvm_rs::x86_64::RFLAGS_OF constant">RFLAGS_OF</a></div><div class="item-right docblock-short"><p>Overflow flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_PF.html" title="kvm_rs::x86_64::RFLAGS_PF constant">RFLAGS_PF</a></div><div class="item-right docblock-short"><p>Parity flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_SF.html" title="kvm_rs::x86_64::RFLAGS_SF constant">RFLAGS_SF</a></div><div class="item-right docblock-short"><p>Sign flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_TF.html" title="kvm_rs::x86_64::RFLAGS_TF constant">RFLAGS_TF</a></div><div class="item-right docblock-short"><p>Trap flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.RFLAGS_ZF.html" title="kvm_rs::x86_64::RFLAGS_ZF constant">RFLAGS_ZF</a></div><div class="item-right docblock-short"><p>Zero flag.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.SEG_SELECTOR_INDEX.html" title="kvm_rs::x86_64::SEG_SELECTOR_INDEX constant">SEG_SELECTOR_INDEX</a></div><div class="item-right docblock-short"><p>Table index.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.SEG_SELECTOR_RPL.html" title="kvm_rs::x86_64::SEG_SELECTOR_RPL constant">SEG_SELECTOR_RPL</a></div><div class="item-right docblock-short"><p>Requested privilege level.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.SEG_SELECTOR_TI.html" title="kvm_rs::x86_64::SEG_SELECTOR_TI constant">SEG_SELECTOR_TI</a></div><div class="item-right docblock-short"><p>Table indicator.</p>
</div></div></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_ac.html" title="kvm_rs::x86_64::rflags_ac fn">rflags_ac</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_af.html" title="kvm_rs::x86_64::rflags_af fn">rflags_af</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_cf.html" title="kvm_rs::x86_64::rflags_cf fn">rflags_cf</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_df.html" title="kvm_rs::x86_64::rflags_df fn">rflags_df</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_if.html" title="kvm_rs::x86_64::rflags_if fn">rflags_if</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_iopl.html" title="kvm_rs::x86_64::rflags_iopl fn">rflags_iopl</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_of.html" title="kvm_rs::x86_64::rflags_of fn">rflags_of</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_pf.html" title="kvm_rs::x86_64::rflags_pf fn">rflags_pf</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_sf.html" title="kvm_rs::x86_64::rflags_sf fn">rflags_sf</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_tf.html" title="kvm_rs::x86_64::rflags_tf fn">rflags_tf</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.rflags_zf.html" title="kvm_rs::x86_64::rflags_zf fn">rflags_zf</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.seg_selector_index.html" title="kvm_rs::x86_64::seg_selector_index fn">seg_selector_index</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.seg_selector_rpl.html" title="kvm_rs::x86_64::seg_selector_rpl fn">seg_selector_rpl</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.seg_selector_ti.html" title="kvm_rs::x86_64::seg_selector_ti fn">seg_selector_ti</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kvm_rs" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.63.0 (4b91a6ea7 2022-08-08)" ></div>
</body></html>
|