pub struct Counts {
pub cbs: usize,
pub sc: usize,
pub nodes: usize,
pub arena: usize,
pub remaps: usize,
pub violations: usize,
pub alloc: bool,
pub params: usize,
pub param_home: usize,
}Expand description
How many of each region the image needs.
remaps and violations are fixed counts in nros-node rather than knobs;
they are parameters here so this crate states no policy.
Fields§
§cbs: usize§sc: usize§nodes: usize§arena: usize§remaps: usize§violations: usize§alloc: boolnros-node’s alloc feature — it adds the sporadic-atomic table, so it
changes the SIZE and cannot be inferred from the counts.
params: usizephase-382 W3’ — parameter-store slots carved from the backing. ZERO for
an image the build does not know to build a store, which is what keeps
the region off every image that merely links the declare path (issue
1702’s rejected .bss static was unconditional). Policy is
nros-params’; this crate only places the region.
param_home: usizeIssue 1812 — parameter-service homes carved from the backing: one when
the image carves a store, zero otherwise. nros-node decides; this
crate only places the region.