aboutsummaryrefslogtreecommitdiffhomepage
path: root/kvm_rs/x86_64/index.html
blob: 7fc8ac29bc303392a7adbb024c8502315ce52b67 (plain) (blame)
1
2
<!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><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-46132b98.css"><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.85.0 (4d91de4e4 2025-02-17)" data-channel="1.85.0" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../kvm_rs/index.html">kvm_rs</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module x86_64</a></h2><h3><a href="#constants">Module Items</a></h3><ul class="block"><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate kvm_<wbr>rs</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">kvm_rs</a></span><h1>Module <span>x86_64</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/kvm_rs/x86_64.rs.html#1-162">Source</a> </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="section-header">Constants<a href="#constants" class="anchor">§</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_<wbr>PAGE_<wbr>BASE_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>ENTRY_<wbr>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_<wbr>ENTRY_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>SELECTOR_<wbr>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_<wbr>SELECTOR_<wbr>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_<wbr>SELECTOR_<wbr>TI</a></div><div class="desc docblock-short">Table indicator.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>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_<wbr>selector_<wbr>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_<wbr>selector_<wbr>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_<wbr>selector_<wbr>ti</a></div></li></ul></section></div></main></body></html>