From e6e7fabfc907eaf016520d9c2a2e128b0d28f019 Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 22 Jul 2022 02:15:40 -0700 Subject: yax builds again with opcodes generated by type --- src/generated/mod.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/generated/mod.rs (limited to 'src/generated/mod.rs') 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; +} -- cgit v1.1