// ---
// tags: nox, metal, rust
// crystal-type: source
// crystal-domain: comp
// ---
//! nox-metal โ bare metal nox evaluator
//!
//! boots via UEFI, runs nox formulas with direct hardware access.
//! no OS. no kernel. no drivers except nox formulas.
//!
//! metal boundary: physical_read / physical_write
//! everything else is nox.
extern crate alloc;
use *;
use println;
use Goldilocks;
use ;
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// metal boundary โ the irreducible interface
// between mathematics and physics.
// two functions. everything above is nox.
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
/// read a value from a physical memory address.
unsafe
/// write a value to a physical memory address.
unsafe
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// everything below is nox computation.
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
const ORDER_SIZE: usize = 1024;
nox/metal/src/main.rs
ฯ 0.0%