[build] Change memory_layout from csv to yaml

I realized we don't need yet another format for configuration. As a
bonus, yaml also allows for a more descriptive file.
This commit is contained in:
Justin C. Miller
2022-01-13 20:17:00 -08:00
parent 950360fddc
commit 939022bb5e
7 changed files with 39 additions and 25 deletions

View File

@@ -37,7 +37,7 @@ constexpr unsigned kernel_buffer_pages = 16;
from os.path import join
from memory import Layout
layout = Layout(join(definitions_path, "memory_layout.csv"))
layout = Layout(join(definitions_path, "memory_layout.yaml"))
l = max([len(r.name) for r in layout.regions])
for region in layout.regions: