21 lines
604 B
Plaintext
21 lines
604 B
Plaintext
include "device.fbs";
|
|
include "mem_config.fbs";
|
|
include "clock.fbs";
|
|
|
|
namespace hmmmm.config;
|
|
|
|
// Top-level emulator / system configuration.
|
|
// Equivalent to glob.toml — describes a full composite device tree.
|
|
//
|
|
// File use: flatcc -a config/config.fbs → binary system config files
|
|
// WS use: embed in ConfigCtrlMessage when config-change protocol is ready
|
|
table SystemConfig {
|
|
devices: [DeviceEntry]; // ordered list; id must be unique
|
|
clock: ClockConfig;
|
|
projections: [Projection];
|
|
intercepts: [Intercept];
|
|
mem_setup: [MemSetup];
|
|
}
|
|
|
|
root_type SystemConfig;
|