blob: 7e6a41593fd3f1b55f197ef31af69d218e3388a4 (
plain) (
tree)
|
|
<!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."><title>kvm_rs::x86_64 - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="kvm_rs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../kvm_rs/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../kvm_rs/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module x86_64</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">kvm_rs</a>::<wbr><a class="mod" href="#">x86_64</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/kvm_rs/x86_64.rs.html#1-162">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="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><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.CR0_AM.html" title="constant kvm_rs::x86_64::CR0_AM">CR0_AM</a></div><div class="desc docblock-short">Alignment Mask.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_CD.html" title="constant kvm_rs::x86_64::CR0_CD">CR0_CD</a></div><div class="desc docblock-short">Cachine disable.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_EM.html" title="constant kvm_rs::x86_64::CR0_EM">CR0_EM</a></div><div class="desc docblock-short">Emulation.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_ET.html" title="constant kvm_rs::x86_64::CR0_ET">CR0_ET</a></div><div class="desc docblock-short">Extension Type.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_MP.html" title="constant kvm_rs::x86_64::CR0_MP">CR0_MP</a></div><div class="desc docblock-short">Monitor Coprocessor.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_NE.html" title="constant kvm_rs::x86_64::CR0_NE">CR0_NE</a></div><div class="desc docblock-short">Numeric Error.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_NW.html" title="constant kvm_rs::x86_64::CR0_NW">CR0_NW</a></div><div class="desc docblock-short">Not Write-Torugh.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_PE.html" title="constant kvm_rs::x86_64::CR0_PE">CR0_PE</a></div><div class="desc docblock-short">Protection Enable.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_PG.html" title="constant kvm_rs::x86_64::CR0_PG">CR0_PG</a></div><div class="desc docblock-short">Paging.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_TS.html" title="constant kvm_rs::x86_64::CR0_TS">CR0_TS</a></div><div class="desc docblock-short">Task Switched.</div></li><li><div class="item-name"><a class="constant" href="constant.CR0_WP.html" title="constant kvm_rs::x86_64::CR0_WP">CR0_WP</a></div><div class="desc docblock-short">Write Protect.</div></li><li><div class="item-name"><a class="constant" href="constant.CR3_PAGE_BASE_MASK.html" title="constant kvm_rs::x86_64::CR3_PAGE_BASE_MASK">CR3_PAGE_BASE_MASK</a></div><div class="desc docblock-short">Mask for physical base address of paging structure.</div></li><li><div class="item-name"><a class="constant" href="constant.CR3_PCD.html" title="constant kvm_rs::x86_64::CR3_PCD">CR3_PCD</a></div><div class="desc docblock-short">Page-level Cache Disable.</div></li><li><div class="item-name"><a class="constant" href="constant.CR3_PWT.html" title="constant kvm_rs::x86_64::CR3_PWT">CR3_PWT</a></div><div class="desc docblock-short">Page-level Write-Through.</div></li><li><div class="item-name"><a class="constant" href="constant.CR4_LA57.html" title="constant kvm_rs::x86_64::CR4_LA57">CR4_LA57</a></div><div class="desc docblock-short">57-bit Linear Addresses.</div></li><li><div class="item-name"><a class="constant" href="constant.CR4_PAE.html" title="constant kvm_rs::x86_64::CR4_PAE">CR4_PAE</a></div><div class="desc docblock-short">Physical Address Extenstion.</div></li><li><div class="item-name"><a class="constant" href="constant.EFER_LMA.html" title="constant kvm_rs::x86_64::EFER_LMA">EFER_LMA</a></div><div class="desc docblock-short">Long Mode Active (readonly).</div></li><li><div class="item-name"><a class="constant" href="constant.EFER_LME.html" title="constant kvm_rs::x86_64::EFER_LME">EFER_LME</a></div><div class="desc docblock-short">Long Mode Enable.</div></li><li><div class="item-name"><a class="constant" href="constant.MSR_EFER.html" title="constant kvm_rs::x86_64::MSR_EFER">MSR_EFER</a></div><div class="desc docblock-short">Extended Feature Enable Register MSR number.</div></li><li><div class="item-name"><a class="constant" href="constant.PAGE_ENTRY_PRESENT.html" title="constant kvm_rs::x86_64::PAGE_ENTRY_PRESENT">PAGE_ENTRY_PRESENT</a></div><div class="desc docblock-short">Page entry present.</div></li><li><div class="item-name"><a class="constant" href="constant.PAGE_ENTRY_RW.html" title="constant kvm_rs::x86_64::PAGE_ENTRY_RW">PAGE_ENTRY_RW</a></div><div class="desc docblock-short">Page region read/write.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_AC.html" title="constant kvm_rs::x86_64::RFLAGS_AC">RFLAGS_AC</a></div><div class="desc docblock-short">Alignment check.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_AF.html" title="constant kvm_rs::x86_64::RFLAGS_AF">RFLAGS_AF</a></div><div class="desc docblock-short">Adjust flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_CF.html" title="constant kvm_rs::x86_64::RFLAGS_CF">RFLAGS_CF</a></div><div class="desc docblock-short">Carry flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_DF.html" title="constant kvm_rs::x86_64::RFLAGS_DF">RFLAGS_DF</a></div><div class="desc docblock-short">Direction flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_IF.html" title="constant kvm_rs::x86_64::RFLAGS_IF">RFLAGS_IF</a></div><div class="desc docblock-short">Sign flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_IOPL.html" title="constant kvm_rs::x86_64::RFLAGS_IOPL">RFLAGS_IOPL</a></div><div class="desc docblock-short">I/O privilege level.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_OF.html" title="constant kvm_rs::x86_64::RFLAGS_OF">RFLAGS_OF</a></div><div class="desc docblock-short">Overflow flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_PF.html" title="constant kvm_rs::x86_64::RFLAGS_PF">RFLAGS_PF</a></div><div class="desc docblock-short">Parity flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_SF.html" title="constant kvm_rs::x86_64::RFLAGS_SF">RFLAGS_SF</a></div><div class="desc docblock-short">Sign flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_TF.html" title="constant kvm_rs::x86_64::RFLAGS_TF">RFLAGS_TF</a></div><div class="desc docblock-short">Trap flag.</div></li><li><div class="item-name"><a class="constant" href="constant.RFLAGS_ZF.html" title="constant kvm_rs::x86_64::RFLAGS_ZF">RFLAGS_ZF</a></div><div class="desc docblock-short">Zero flag.</div></li><li><div class="item-name"><a class="constant" href="constant.SEG_SELECTOR_INDEX.html" title="constant kvm_rs::x86_64::SEG_SELECTOR_INDEX">SEG_SELECTOR_INDEX</a></div><div class="desc docblock-short">Table index.</div></li><li><div class="item-name"><a class="constant" href="constant.SEG_SELECTOR_RPL.html" title="constant kvm_rs::x86_64::SEG_SELECTOR_RPL">SEG_SELECTOR_RPL</a></div><div class="desc docblock-short">Requested privilege level.</div></li><li><div class="item-name"><a class="constant" href="constant.SEG_SELECTOR_TI.html" title="constant kvm_rs::x86_64::SEG_SELECTOR_TI">SEG_SELECTOR_TI</a></div><div class="desc docblock-short">Table indicator.</div></li></ul><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.rflags_ac.html" title="fn kvm_rs::x86_64::rflags_ac">rflags_ac</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_af.html" title="fn kvm_rs::x86_64::rflags_af">rflags_af</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_cf.html" title="fn kvm_rs::x86_64::rflags_cf">rflags_cf</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_df.html" title="fn kvm_rs::x86_64::rflags_df">rflags_df</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_if.html" title="fn kvm_rs::x86_64::rflags_if">rflags_if</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_iopl.html" title="fn kvm_rs::x86_64::rflags_iopl">rflags_iopl</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_of.html" title="fn kvm_rs::x86_64::rflags_of">rflags_of</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_pf.html" title="fn kvm_rs::x86_64::rflags_pf">rflags_pf</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_sf.html" title="fn kvm_rs::x86_64::rflags_sf">rflags_sf</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_tf.html" title="fn kvm_rs::x86_64::rflags_tf">rflags_tf</a></div></li><li><div class="item-name"><a class="fn" href="fn.rflags_zf.html" title="fn kvm_rs::x86_64::rflags_zf">rflags_zf</a></div></li><li><div class="item-name"><a class="fn" href="fn.seg_selector_index.html" title="fn kvm_rs::x86_64::seg_selector_index">seg_selector_index</a></div></li><li><div class="item-name"><a class="fn" href="fn.seg_selector_rpl.html" title="fn kvm_rs::x86_64::seg_selector_rpl">seg_selector_rpl</a></div></li><li><div class="item-name"><a class="fn" href="fn.seg_selector_ti.html" title="fn kvm_rs::x86_64::seg_selector_ti">seg_selector_ti</a></div></li></ul></section></div></main></body></html>
|