nx_toner_store.nx
buildroot/runtime/nx_toner_store.nx
about
nx_toner_store.nx -- tiny persistent store for the real-toner ledger (survives across runs, on /mnt/c).
16-byte little-endian file: [0..7]=yield_pages, [8..15]=consumed_ppm. Sovereign sys calls only; it writes
a small DATA file (not firmware) -> never-brick (#26). license_tier: ORIGINAL
genealogy_id: project-printer-management-ipp-sclass-2026-06-20
dependencies 1 imports · 4 importers
imports: nx_syscalls.nx
imported by: nx_doc_print.nxnx_img_print.nxnx_printers_page.nxnx_toner_track.nx
structs
| none |
consts
| none |
functions
| 8 | func nx_tstore_rd_le64(b: *u8, off: i64) -> i64 called by 1: nx_tstore_load |
| 14 | func nx_tstore_wr_le64(b: *u8, off: i64, v: i64) -> i64 called by 1: nx_tstore_save |
| 21 | func nx_tstore_load(path: *u8, out_yield: *i64, out_consumed: *i64) -> i64 |
| 31 | func nx_tstore_save(path: *u8, yield_pages: i64, consumed: i64) -> i64 |