flatbuffer base

This commit is contained in:
2026-03-30 16:18:21 +03:00
parent 9a4b78f272
commit d83cb7fe7b
41 changed files with 1553 additions and 491 deletions

View File

@@ -0,0 +1,20 @@
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;