Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

fs-log.dhall 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. let Genode = env:DHALL_GENODE
  2. let Init = Genode.Init
  3. let Child = Init.Child
  4. let ServiceRoute = Init.ServiceRoute
  5. let routeLogRom =
  6. λ(label : Text) → ServiceRoute.parentLabel "ROM" (Some "log") (Some label)
  7. in Init::{
  8. , verbose = True
  9. , children = toMap
  10. { fs_log =
  11. Child.flat
  12. Child.Attributes::{
  13. , binary = "fs_log"
  14. , config = Init.Config::{
  15. , defaultPolicy = Some Init.Config.DefaultPolicy::{
  16. , attributes = toMap { merge = "yes", truncate = "yes" }
  17. }
  18. }
  19. , exitPropagate = True
  20. , provides = [ "LOG" ]
  21. , routes = [ ServiceRoute.parent "File_system" ]
  22. }
  23. , log_core =
  24. Child.flat
  25. Child.Attributes::{
  26. , binary = "log_core"
  27. , routes =
  28. [ routeLogRom "core_log"
  29. , ServiceRoute.childLabel
  30. "LOG"
  31. "fs_log"
  32. (Some "log")
  33. (Some "core")
  34. ]
  35. }
  36. , log_kernel =
  37. Child.flat
  38. Child.Attributes::{
  39. , binary = "log_core"
  40. , routes =
  41. [ routeLogRom "kernel_log"
  42. , ServiceRoute.childLabel
  43. "LOG"
  44. "fs_log"
  45. (Some "log")
  46. (Some "kernel")
  47. ]
  48. }
  49. }
  50. , routes = [ ServiceRoute.parent "Timer" ]
  51. }