[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:
@@ -8,5 +8,5 @@ bp = module("bootproto",
|
||||
|
||||
from os.path import join
|
||||
|
||||
layout = join(source_root, "definitions/memory_layout.csv")
|
||||
layout = join(source_root, "definitions/memory_layout.yaml")
|
||||
bp.add_input("include/bootproto/memory.h.cog", deps=[layout])
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace mem {
|
||||
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"))
|
||||
|
||||
for region in layout.regions:
|
||||
if region.shared:
|
||||
|
||||
Reference in New Issue
Block a user