blob: e7f18fa69335552f83a7a60ac4e9970bfbffadcd (
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
|
<!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="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="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></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="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../kvm_rs/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module x86_64</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></div><p class="location"><a href="../index.html">kvm_rs</a></p><div id="sidebar-vars" data-name="x86_64" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><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)">⎘</button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/kvm_rs/x86_64.rs.html#1-154" title="goto source code">[src]</a></span></h1><div class="docblock"><p><code>x86_64</code> flags and bitfields.</p>
</div><h2 id="constants" class="section-header"><a href="#constants">Constants</a></h2>
<table><tr class="module-item"><td><a class="constant" href="constant.CR0_AM.html" title="kvm_rs::x86_64::CR0_AM constant">CR0_AM</a></td><td class="docblock-short"><p>Alignment Mask.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_CD.html" title="kvm_rs::x86_64::CR0_CD constant">CR0_CD</a></td><td class="docblock-short"><p>Cachine disable.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_EM.html" title="kvm_rs::x86_64::CR0_EM constant">CR0_EM</a></td><td class="docblock-short"><p>Emulation.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_ET.html" title="kvm_rs::x86_64::CR0_ET constant">CR0_ET</a></td><td class="docblock-short"><p>Extension Type.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_MP.html" title="kvm_rs::x86_64::CR0_MP constant">CR0_MP</a></td><td class="docblock-short"><p>Monitor Coprocessor.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_NE.html" title="kvm_rs::x86_64::CR0_NE constant">CR0_NE</a></td><td class="docblock-short"><p>Numeric Error.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_NW.html" title="kvm_rs::x86_64::CR0_NW constant">CR0_NW</a></td><td class="docblock-short"><p>Not Write-Torugh.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_PE.html" title="kvm_rs::x86_64::CR0_PE constant">CR0_PE</a></td><td class="docblock-short"><p>Protection Enable.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_PG.html" title="kvm_rs::x86_64::CR0_PG constant">CR0_PG</a></td><td class="docblock-short"><p>Paging.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_TS.html" title="kvm_rs::x86_64::CR0_TS constant">CR0_TS</a></td><td class="docblock-short"><p>Task Switched.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR0_WP.html" title="kvm_rs::x86_64::CR0_WP constant">CR0_WP</a></td><td class="docblock-short"><p>Write Protect.</p>
</td></tr><tr class="module-item"><td><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></td><td class="docblock-short"><p>Mask for physical base address of paging structure.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR3_PCD.html" title="kvm_rs::x86_64::CR3_PCD constant">CR3_PCD</a></td><td class="docblock-short"><p>Page-level Cache Disable.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR3_PWT.html" title="kvm_rs::x86_64::CR3_PWT constant">CR3_PWT</a></td><td class="docblock-short"><p>Page-level Write-Through.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR4_LA57.html" title="kvm_rs::x86_64::CR4_LA57 constant">CR4_LA57</a></td><td class="docblock-short"><p>57-bit Linear Addresses.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.CR4_PAE.html" title="kvm_rs::x86_64::CR4_PAE constant">CR4_PAE</a></td><td class="docblock-short"><p>Physical Address Extenstion.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.EFER_LMA.html" title="kvm_rs::x86_64::EFER_LMA constant">EFER_LMA</a></td><td class="docblock-short"><p>Long Mode Active (readonly).</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.EFER_LME.html" title="kvm_rs::x86_64::EFER_LME constant">EFER_LME</a></td><td class="docblock-short"><p>Long Mode Enable.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.MSR_EFER.html" title="kvm_rs::x86_64::MSR_EFER constant">MSR_EFER</a></td><td class="docblock-short"><p>Extended Feature Enable Register MSR number.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.PAGE_ENTRY_PRESENT.html" title="kvm_rs::x86_64::PAGE_ENTRY_PRESENT constant">PAGE_ENTRY_PRESENT</a></td><td class="docblock-short"><p>Page entry present.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.PAGE_RENTRY_RW.html" title="kvm_rs::x86_64::PAGE_RENTRY_RW constant">PAGE_RENTRY_RW</a></td><td class="docblock-short"><p>Page region read/write.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_AC.html" title="kvm_rs::x86_64::RFLAGS_AC constant">RFLAGS_AC</a></td><td class="docblock-short"><p>Alignment check.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_AF.html" title="kvm_rs::x86_64::RFLAGS_AF constant">RFLAGS_AF</a></td><td class="docblock-short"><p>Adjust flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_CF.html" title="kvm_rs::x86_64::RFLAGS_CF constant">RFLAGS_CF</a></td><td class="docblock-short"><p>Carry flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_DF.html" title="kvm_rs::x86_64::RFLAGS_DF constant">RFLAGS_DF</a></td><td class="docblock-short"><p>Direction flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_IF.html" title="kvm_rs::x86_64::RFLAGS_IF constant">RFLAGS_IF</a></td><td class="docblock-short"><p>Sign flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_IOPL.html" title="kvm_rs::x86_64::RFLAGS_IOPL constant">RFLAGS_IOPL</a></td><td class="docblock-short"><p>I/O privilege level.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_OF.html" title="kvm_rs::x86_64::RFLAGS_OF constant">RFLAGS_OF</a></td><td class="docblock-short"><p>Overflow flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_PF.html" title="kvm_rs::x86_64::RFLAGS_PF constant">RFLAGS_PF</a></td><td class="docblock-short"><p>Parity flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_SF.html" title="kvm_rs::x86_64::RFLAGS_SF constant">RFLAGS_SF</a></td><td class="docblock-short"><p>Sign flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.RFLAGS_ZF.html" title="kvm_rs::x86_64::RFLAGS_ZF constant">RFLAGS_ZF</a></td><td class="docblock-short"><p>Zero flag.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.SEG_SELECTOR_INDEX.html" title="kvm_rs::x86_64::SEG_SELECTOR_INDEX constant">SEG_SELECTOR_INDEX</a></td><td class="docblock-short"><p>Table index.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.SEG_SELECTOR_RPL.html" title="kvm_rs::x86_64::SEG_SELECTOR_RPL constant">SEG_SELECTOR_RPL</a></td><td class="docblock-short"><p>Requested privilege level.</p>
</td></tr><tr class="module-item"><td><a class="constant" href="constant.SEG_SELECTOR_TI.html" title="kvm_rs::x86_64::SEG_SELECTOR_TI constant">SEG_SELECTOR_TI</a></td><td class="docblock-short"><p>Table indicator.</p>
</td></tr></table><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
<table><tr class="module-item"><td><a class="fn" href="fn.rflags_ac.html" title="kvm_rs::x86_64::rflags_ac fn">rflags_ac</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_af.html" title="kvm_rs::x86_64::rflags_af fn">rflags_af</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_cf.html" title="kvm_rs::x86_64::rflags_cf fn">rflags_cf</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_df.html" title="kvm_rs::x86_64::rflags_df fn">rflags_df</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_if.html" title="kvm_rs::x86_64::rflags_if fn">rflags_if</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_iopl.html" title="kvm_rs::x86_64::rflags_iopl fn">rflags_iopl</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_of.html" title="kvm_rs::x86_64::rflags_of fn">rflags_of</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_pf.html" title="kvm_rs::x86_64::rflags_pf fn">rflags_pf</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_sf.html" title="kvm_rs::x86_64::rflags_sf fn">rflags_sf</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rflags_zf.html" title="kvm_rs::x86_64::rflags_zf fn">rflags_zf</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.seg_selector_index.html" title="kvm_rs::x86_64::seg_selector_index fn">seg_selector_index</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.seg_selector_rpl.html" title="kvm_rs::x86_64::seg_selector_rpl fn">seg_selector_rpl</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.seg_selector_ti.html" title="kvm_rs::x86_64::seg_selector_ti fn">seg_selector_ti</a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kvm_rs" data-search-index-js="../../search-index.js" data-search-js="../../search.js"></div>
<script src="../../main.js"></script></body></html>
|