├── .cargo └── config ├── .gitignore ├── .travis.yml ├── Cargo.toml ├── LICENSE ├── README.md ├── libllama ├── Cargo.toml ├── build.rs ├── src │ ├── clock.rs │ ├── cpu │ │ ├── arm.decoder │ │ ├── caches.rs │ │ ├── coproc │ │ │ ├── mod.rs │ │ │ └── sys_control.rs │ │ ├── cpu.rs │ │ ├── instructions_arm │ │ │ ├── branch.rs │ │ │ ├── coprocessor.rs │ │ │ ├── data_processing.rs │ │ │ ├── load_store.rs │ │ │ ├── load_store_multiple.rs │ │ │ ├── media.rs │ │ │ ├── misc.rs │ │ │ ├── mod.rs │ │ │ └── program_status.rs │ │ ├── instructions_thumb │ │ │ ├── branch.rs │ │ │ ├── data_processing.rs │ │ │ ├── load_store.rs │ │ │ ├── media.rs │ │ │ ├── misc.rs │ │ │ └── mod.rs │ │ ├── interpreter_arm.rs │ │ ├── interpreter_thumb.rs │ │ ├── irq.rs │ │ ├── mod.rs │ │ ├── regs.rs │ │ └── thumb.decoder │ ├── dbgcore.rs │ ├── fs.rs │ ├── gdbstub.rs │ ├── hwcore.rs │ ├── io │ │ ├── aes.rs │ │ ├── config.rs │ │ ├── ctrcard.rs │ │ ├── dmac.decoder │ │ ├── emmc │ │ │ ├── card.rs │ │ │ ├── cmds.rs │ │ │ ├── mod.rs │ │ │ └── mode_sd.rs │ │ ├── gpu.rs │ │ ├── hid.rs │ │ ├── i2c.rs │ │ ├── irq.rs │ │ ├── mod.rs │ │ ├── ndma.rs │ │ ├── otp.rs │ │ ├── priv11.rs │ │ ├── pxi.rs │ │ ├── regs.rs │ │ ├── rsa.rs │ │ ├── sha.rs │ │ ├── timer.rs │ │ └── xdma.rs │ ├── ldr │ │ ├── ctr9.rs │ │ ├── firm.rs │ │ └── mod.rs │ ├── lib.rs │ ├── mem.rs │ ├── msgs.rs │ └── utils │ │ ├── bcast.rs │ │ ├── bytes.rs │ │ ├── cache.rs │ │ ├── fifo.rs │ │ ├── mod.rs │ │ ├── num.rs │ │ └── strutils.rs └── tools │ └── decoder-gen │ ├── _parser.py │ ├── decoder-gen.py │ ├── emitter.py │ └── lexer.py └── llama-ui ├── commands.rs ├── main.rs ├── qml ├── CMakeLists.txt ├── CommandLine.qml ├── DbgConsole.qml ├── ScreenView.qml ├── SideButton.qml ├── icons │ ├── cfg.svg │ ├── close.svg │ ├── debug.svg │ ├── fullscreen.svg │ ├── play.svg │ └── reload.svg ├── interop.h ├── main.cpp ├── main.qml ├── qml.qrc ├── screens.cpp └── screens.hpp └── uilog.rs /.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/.cargo/config -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/.travis.yml -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/README.md -------------------------------------------------------------------------------- /libllama/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/Cargo.toml -------------------------------------------------------------------------------- /libllama/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/build.rs -------------------------------------------------------------------------------- /libllama/src/clock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/clock.rs -------------------------------------------------------------------------------- /libllama/src/cpu/arm.decoder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/arm.decoder -------------------------------------------------------------------------------- /libllama/src/cpu/caches.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/caches.rs -------------------------------------------------------------------------------- /libllama/src/cpu/coproc/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/coproc/mod.rs -------------------------------------------------------------------------------- /libllama/src/cpu/coproc/sys_control.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/coproc/sys_control.rs -------------------------------------------------------------------------------- /libllama/src/cpu/cpu.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/cpu.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/branch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/branch.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/coprocessor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/coprocessor.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/data_processing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/data_processing.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/load_store.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/load_store.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/load_store_multiple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/load_store_multiple.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/media.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/media.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/misc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/misc.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/mod.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_arm/program_status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_arm/program_status.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_thumb/branch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_thumb/branch.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_thumb/data_processing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_thumb/data_processing.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_thumb/load_store.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_thumb/load_store.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_thumb/media.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_thumb/media.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_thumb/misc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_thumb/misc.rs -------------------------------------------------------------------------------- /libllama/src/cpu/instructions_thumb/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/instructions_thumb/mod.rs -------------------------------------------------------------------------------- /libllama/src/cpu/interpreter_arm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/interpreter_arm.rs -------------------------------------------------------------------------------- /libllama/src/cpu/interpreter_thumb.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/interpreter_thumb.rs -------------------------------------------------------------------------------- /libllama/src/cpu/irq.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/irq.rs -------------------------------------------------------------------------------- /libllama/src/cpu/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/mod.rs -------------------------------------------------------------------------------- /libllama/src/cpu/regs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/regs.rs -------------------------------------------------------------------------------- /libllama/src/cpu/thumb.decoder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/cpu/thumb.decoder -------------------------------------------------------------------------------- /libllama/src/dbgcore.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/dbgcore.rs -------------------------------------------------------------------------------- /libllama/src/fs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/fs.rs -------------------------------------------------------------------------------- /libllama/src/gdbstub.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/gdbstub.rs -------------------------------------------------------------------------------- /libllama/src/hwcore.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/hwcore.rs -------------------------------------------------------------------------------- /libllama/src/io/aes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/aes.rs -------------------------------------------------------------------------------- /libllama/src/io/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/config.rs -------------------------------------------------------------------------------- /libllama/src/io/ctrcard.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/ctrcard.rs -------------------------------------------------------------------------------- /libllama/src/io/dmac.decoder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/dmac.decoder -------------------------------------------------------------------------------- /libllama/src/io/emmc/card.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/emmc/card.rs -------------------------------------------------------------------------------- /libllama/src/io/emmc/cmds.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/emmc/cmds.rs -------------------------------------------------------------------------------- /libllama/src/io/emmc/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/emmc/mod.rs -------------------------------------------------------------------------------- /libllama/src/io/emmc/mode_sd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/emmc/mode_sd.rs -------------------------------------------------------------------------------- /libllama/src/io/gpu.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/gpu.rs -------------------------------------------------------------------------------- /libllama/src/io/hid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/hid.rs -------------------------------------------------------------------------------- /libllama/src/io/i2c.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/i2c.rs -------------------------------------------------------------------------------- /libllama/src/io/irq.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/irq.rs -------------------------------------------------------------------------------- /libllama/src/io/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/mod.rs -------------------------------------------------------------------------------- /libllama/src/io/ndma.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/ndma.rs -------------------------------------------------------------------------------- /libllama/src/io/otp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/otp.rs -------------------------------------------------------------------------------- /libllama/src/io/priv11.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/priv11.rs -------------------------------------------------------------------------------- /libllama/src/io/pxi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/pxi.rs -------------------------------------------------------------------------------- /libllama/src/io/regs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/regs.rs -------------------------------------------------------------------------------- /libllama/src/io/rsa.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/rsa.rs -------------------------------------------------------------------------------- /libllama/src/io/sha.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/sha.rs -------------------------------------------------------------------------------- /libllama/src/io/timer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/timer.rs -------------------------------------------------------------------------------- /libllama/src/io/xdma.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/io/xdma.rs -------------------------------------------------------------------------------- /libllama/src/ldr/ctr9.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/ldr/ctr9.rs -------------------------------------------------------------------------------- /libllama/src/ldr/firm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/ldr/firm.rs -------------------------------------------------------------------------------- /libllama/src/ldr/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/ldr/mod.rs -------------------------------------------------------------------------------- /libllama/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/lib.rs -------------------------------------------------------------------------------- /libllama/src/mem.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/mem.rs -------------------------------------------------------------------------------- /libllama/src/msgs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/msgs.rs -------------------------------------------------------------------------------- /libllama/src/utils/bcast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/utils/bcast.rs -------------------------------------------------------------------------------- /libllama/src/utils/bytes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/utils/bytes.rs -------------------------------------------------------------------------------- /libllama/src/utils/cache.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/utils/cache.rs -------------------------------------------------------------------------------- /libllama/src/utils/fifo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/utils/fifo.rs -------------------------------------------------------------------------------- /libllama/src/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/utils/mod.rs -------------------------------------------------------------------------------- /libllama/src/utils/num.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/utils/num.rs -------------------------------------------------------------------------------- /libllama/src/utils/strutils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/src/utils/strutils.rs -------------------------------------------------------------------------------- /libllama/tools/decoder-gen/_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/tools/decoder-gen/_parser.py -------------------------------------------------------------------------------- /libllama/tools/decoder-gen/decoder-gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/tools/decoder-gen/decoder-gen.py -------------------------------------------------------------------------------- /libllama/tools/decoder-gen/emitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/tools/decoder-gen/emitter.py -------------------------------------------------------------------------------- /libllama/tools/decoder-gen/lexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/libllama/tools/decoder-gen/lexer.py -------------------------------------------------------------------------------- /llama-ui/commands.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/commands.rs -------------------------------------------------------------------------------- /llama-ui/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/main.rs -------------------------------------------------------------------------------- /llama-ui/qml/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/CMakeLists.txt -------------------------------------------------------------------------------- /llama-ui/qml/CommandLine.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/CommandLine.qml -------------------------------------------------------------------------------- /llama-ui/qml/DbgConsole.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/DbgConsole.qml -------------------------------------------------------------------------------- /llama-ui/qml/ScreenView.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/ScreenView.qml -------------------------------------------------------------------------------- /llama-ui/qml/SideButton.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/SideButton.qml -------------------------------------------------------------------------------- /llama-ui/qml/icons/cfg.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/icons/cfg.svg -------------------------------------------------------------------------------- /llama-ui/qml/icons/close.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/icons/close.svg -------------------------------------------------------------------------------- /llama-ui/qml/icons/debug.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/icons/debug.svg -------------------------------------------------------------------------------- /llama-ui/qml/icons/fullscreen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/icons/fullscreen.svg -------------------------------------------------------------------------------- /llama-ui/qml/icons/play.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/icons/play.svg -------------------------------------------------------------------------------- /llama-ui/qml/icons/reload.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/icons/reload.svg -------------------------------------------------------------------------------- /llama-ui/qml/interop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/interop.h -------------------------------------------------------------------------------- /llama-ui/qml/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/main.cpp -------------------------------------------------------------------------------- /llama-ui/qml/main.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/main.qml -------------------------------------------------------------------------------- /llama-ui/qml/qml.qrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/qml.qrc -------------------------------------------------------------------------------- /llama-ui/qml/screens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/screens.cpp -------------------------------------------------------------------------------- /llama-ui/qml/screens.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/qml/screens.hpp -------------------------------------------------------------------------------- /llama-ui/uilog.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archshift/llama/HEAD/llama-ui/uilog.rs --------------------------------------------------------------------------------