aboutsummaryrefslogtreecommitdiff
path: root/src/generated/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2022-07-22 02:15:40 -0700
committeriximeow <me@iximeow.net>2023-01-02 08:50:22 -0800
commite6e7fabfc907eaf016520d9c2a2e128b0d28f019 (patch)
treec08280a4dc9cbd3d02926fd8e6476d514c10393d /src/generated/mod.rs
parent78b40bb12a265d866b01547924defb10aec283a8 (diff)
yax builds again with opcodes generated by type
Diffstat (limited to 'src/generated/mod.rs')
-rw-r--r--src/generated/mod.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/generated/mod.rs b/src/generated/mod.rs
new file mode 100644
index 0000000..6338309
--- /dev/null
+++ b/src/generated/mod.rs
@@ -0,0 +1,15 @@
+pub(crate) mod opcode;
+pub(crate) mod imp;
+
+pub(crate) mod real_mode {
+ pub(crate) use super::opcode::real_mode::Opcode as Opcode;
+ pub(crate) use super::imp::real_mode::revise_instruction as revise_instruction;
+}
+pub(crate) mod protected_mode {
+ pub(crate) use super::opcode::protected_mode::Opcode as Opcode;
+ pub(crate) use super::imp::protected_mode::revise_instruction as revise_instruction;
+}
+pub(crate) mod long_mode {
+ pub(crate) use super::opcode::long_mode::Opcode as Opcode;
+ pub(crate) use super::imp::long_mode::revise_instruction as revise_instruction;
+}