Dhall formatting
This commit is contained in:
parent
3494b589ec
commit
8beebf2ae1
|
@ -1,11 +1,6 @@
|
||||||
-- SPDX-License-Identifier: CC0-1.0
|
-- SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
let Genode = env:DHALL_GENODE
|
let Genode = env:DHALL_GENODE
|
||||||
|
|
||||||
let baseLinux = env:BASE_LINUX_MANIFEST
|
|
||||||
|
|
||||||
let os = env:OS_MANIFEST
|
|
||||||
|
|
||||||
let Args =
|
let Args =
|
||||||
{ config : Genode.Init.Type, rom : Genode.Prelude.Map.Type Text Text }
|
{ config : Genode.Init.Type, rom : Genode.Prelude.Map.Type Text Text }
|
||||||
: Type
|
: Type
|
||||||
|
@ -30,12 +25,16 @@ in λ(args : Args)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
, rom =
|
, rom =
|
||||||
[ { mapKey = "ld.lib.so"
|
let baseLinux = env:BASE_LINUX_MANIFEST
|
||||||
, mapValue = baseLinux.bin.ld-linux.mapValue
|
|
||||||
}
|
let os = env:OS_MANIFEST
|
||||||
, baseLinux.bin.linux_timer_drv
|
|
||||||
, os.bin.init
|
in [ { mapKey = "ld.lib.so"
|
||||||
, baseLinux.bin.core-linux
|
, mapValue = baseLinux.bin.ld-linux.mapValue
|
||||||
]
|
}
|
||||||
# args.rom
|
, baseLinux.bin.linux_timer_drv
|
||||||
|
, os.bin.init
|
||||||
|
, baseLinux.bin.core-linux
|
||||||
|
]
|
||||||
|
# args.rom
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
let Genode = env:DHALL_GENODE
|
let Genode = env:DHALL_GENODE
|
||||||
|
|
||||||
let os = env:OS_MANIFEST
|
|
||||||
|
|
||||||
in { config =
|
in { config =
|
||||||
Genode.Init::{
|
Genode.Init::{
|
||||||
, verbose = True
|
, verbose = True
|
||||||
|
@ -38,7 +36,8 @@ in { config =
|
||||||
, binary = "fs_report"
|
, binary = "fs_report"
|
||||||
, resources = { caps = 96, ram = Genode.units.MiB 4 }
|
, resources = { caps = 96, ram = Genode.units.MiB 4 }
|
||||||
, provides = [ "Report" ]
|
, provides = [ "Report" ]
|
||||||
, routes = [ Genode.ServiceRoute.child "File_system" "ram_fs" ]
|
, routes =
|
||||||
|
[ Genode.ServiceRoute.child "File_system" "ram_fs" ]
|
||||||
, config =
|
, config =
|
||||||
Some
|
Some
|
||||||
( Genode.Prelude.XML.text
|
( Genode.Prelude.XML.text
|
||||||
|
@ -50,11 +49,13 @@ in { config =
|
||||||
, binary = "fs_rom"
|
, binary = "fs_rom"
|
||||||
, resources = { caps = 96, ram = Genode.units.MiB 4 }
|
, resources = { caps = 96, ram = Genode.units.MiB 4 }
|
||||||
, provides = [ "ROM" ]
|
, provides = [ "ROM" ]
|
||||||
, routes = [ Genode.ServiceRoute.child "File_system" "ram_fs" ]
|
, routes =
|
||||||
|
[ Genode.ServiceRoute.child "File_system" "ram_fs" ]
|
||||||
}
|
}
|
||||||
, test-fs_report =
|
, test-fs_report =
|
||||||
Genode.Init.Start::{
|
Genode.Init.Start::{
|
||||||
, binary = "test-fs_report"
|
, binary = "test-fs_report"
|
||||||
|
, exitPropagate = True
|
||||||
, resources = { caps = 96, ram = Genode.units.MiB 4 }
|
, resources = { caps = 96, ram = Genode.units.MiB 4 }
|
||||||
, provides = [ "Report" ]
|
, provides = [ "Report" ]
|
||||||
, config =
|
, config =
|
||||||
|
@ -73,19 +74,19 @@ in { config =
|
||||||
"fs_rom"
|
"fs_rom"
|
||||||
(Some "focus")
|
(Some "focus")
|
||||||
(None Text)
|
(None Text)
|
||||||
, Genode.ServiceRoute.child
|
, Genode.ServiceRoute.child "Report" "fs_report"
|
||||||
"Report"
|
|
||||||
"fs_report"
|
|
||||||
, Genode.ServiceRoute.parent "Timer"
|
, Genode.ServiceRoute.parent "Timer"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
, rom =
|
, rom =
|
||||||
[ os.bin.fs_report
|
let os = env:OS_MANIFEST
|
||||||
, os.bin.fs_rom
|
|
||||||
, os.bin.ram_fs
|
in [ os.bin.fs_report
|
||||||
, os.bin.test-fs_report
|
, os.bin.fs_rom
|
||||||
, os.lib.vfs
|
, os.bin.ram_fs
|
||||||
]
|
, os.bin.test-fs_report
|
||||||
|
, os.lib.vfs
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
let Genode = env:DHALL_GENODE
|
let Genode = env:DHALL_GENODE
|
||||||
|
|
||||||
let base = env:BASE_MANIFEST
|
|
||||||
|
|
||||||
in { config =
|
in { config =
|
||||||
Genode.Init::{
|
Genode.Init::{
|
||||||
, verbose = True
|
, verbose = True
|
||||||
|
@ -18,5 +16,5 @@ in { config =
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
, rom = [ base.bin.test-log ]
|
, rom = let base = env:BASE_MANIFEST in [ base.bin.test-log ]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
let Genode = env:DHALL_GENODE
|
let Genode = env:DHALL_GENODE
|
||||||
|
|
||||||
let os = env:OS_MANIFEST
|
|
||||||
|
|
||||||
in { config =
|
in { config =
|
||||||
Genode.Init::{
|
Genode.Init::{
|
||||||
, verbose = True
|
, verbose = True
|
||||||
|
@ -76,9 +74,11 @@ in { config =
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
, rom =
|
, rom =
|
||||||
[ os.bin.acpi_drv
|
let os = env:OS_MANIFEST
|
||||||
, os.bin.platform_drv
|
|
||||||
, os.bin.report_rom
|
in [ os.bin.acpi_drv
|
||||||
, os.bin.test-pci
|
, os.bin.platform_drv
|
||||||
]
|
, os.bin.report_rom
|
||||||
|
, os.bin.test-pci
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
let Genode = env:DHALL_GENODE
|
let Genode = env:DHALL_GENODE
|
||||||
|
|
||||||
let os = env:OS_MANIFEST
|
|
||||||
|
|
||||||
in { config =
|
in { config =
|
||||||
Genode.Init::{
|
Genode.Init::{
|
||||||
, verbose = True
|
, verbose = True
|
||||||
|
@ -18,5 +16,5 @@ in { config =
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
, rom = [ os.bin.test-signal ]
|
, rom = let os = env:OS_MANIFEST in [ os.bin.test-signal ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user