一键导入
machina-code-explorer
Use when finding Machina definitions, call sites, crate boundaries, device models, target code, or QEMU-inspired subsystem mappings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when finding Machina definitions, call sites, crate boundaries, device models, target code, or QEMU-inspired subsystem mappings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when building Machina, running cargo check, debugging Rust build failures, or deciding which repository build command to run.
Use when reviewing Machina pull requests, local diffs, commits, or mailing-list patch series that may inform Machina changes.
Use when summarizing or preparing to debug Machina GitHub issues, bug reports, feature requests, or reproduction notes.
Use when comparing Machina behavior with QEMU, using difftest/oracle tooling, or debugging CPU, interrupt, memory, or device-model parity.
Use when choosing, adding, listing, or running Machina tests, including targeted Rust tests and workspace validation.
基于 SOC 职业分类
| name | machina-code-explorer |
| description | Use when finding Machina definitions, call sites, crate boundaries, device models, target code, or QEMU-inspired subsystem mappings. |
| license | MIT |
Machina is a Rust workspace that reimplements core QEMU concepts. Search with Rust crate boundaries in mind.
rg or rg --files from the repository root.cargo metadata --no-deps when crate ownership or package names matter.git log -- <path> for subsystem history before changing behavior.docs/en/ and docs/zh/ to confirm terminology.| Path | Purpose |
|---|---|
accel/ | Execution loop, DBT control, CPU run state |
core/ | Core traits and shared emulator interfaces |
decode/ | Guest instruction decoding |
disas/ | Disassembly helpers |
gdbstub/ | GDB remote protocol support |
guest/ | Guest architecture support code |
hw/ | Device models and machine-specific hardware |
memory/ | Address spaces, regions, and memory transactions |
monitor/ | QMP/HMP monitor handling |
softfloat/ | Floating-point helpers |
system/ | Machine assembly and CPU orchestration |
tests/ | Centralized machina-tests crate |
tools/ | Developer and oracle tooling |
util/ | Shared low-level utilities |
accel/, decode/,
guest/, and target-specific support.hw/, then crosses into memory/ and
system/.monitor/.tools/ and tests/.machina-tests.#[cfg(test)] test modules; use tests/.