Crate megaton_hammer[][src]

Megaton Hammer

Welcome to the Fire Temple. I hope you're equipped with the Megaton Hammer. Because it's time to hit some Rusty Switches! (I'm so sorry.)

This crate's goal is to give the user all the low-level primitives needed to interact with the Switch OS. It provides primitives for IPC, TLS, syscalls.

Note that this crate does not contain actual IPC definitions. This is left for other crates (I'll be making one that uses SwIPC to create all the IPC).

Why another toolchain ?

Because I firmly believe that as much stuff as possible should be written in Rust. My first attempt at writing a rust toolchain reused libtransistor - however, that proved to be more of a hassle than simply reimplementing everything myself.

Modules

error
ipc

Core IPC primitives

ipcdefs
kernel
loader

Homebrew ABI Loader handling

log_impl
tls

Thread Local Storage