Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. menu "Sandbox architecture"
  2. depends on SANDBOX
  3. config SYS_ARCH
  4. default "sandbox"
  5. config SYS_BOARD
  6. default "sandbox"
  7. config SYS_CPU
  8. default "sandbox"
  9. config SANDBOX64
  10. bool "Use 64-bit addresses"
  11. select PHYS_64BIT
  12. depends on HOST_64BIT
  13. config SANDBOX_RAM_SIZE_MB
  14. int "RAM size in MiB"
  15. default 256
  16. range 64 4095 if !SANDBOX64
  17. range 64 268435456 if SANDBOX64
  18. help
  19. Memory size of the sandbox in MiB. The default value is 256 MiB.
  20. The minimum value is 64 MiB. The maximum value is 4095 MiB for the
  21. 32bit sandbox.
  22. config SANDBOX_SPL
  23. bool "Enable SPL for sandbox"
  24. select SUPPORT_SPL
  25. config SANDBOX_TPL
  26. bool "Enable TPL for sandbox"
  27. select SUPPORT_TPL
  28. config SANDBOX_VPL
  29. bool "Enable VPL for sandbox"
  30. select SUPPORT_VPL
  31. config SYS_CONFIG_NAME
  32. default "sandbox_spl" if SANDBOX_SPL
  33. default "sandbox" if !SANDBOX_SPL
  34. config HOST_32BIT
  35. def_bool ! $(cc-define,_LP64)
  36. config HOST_64BIT
  37. def_bool $(cc-define,_LP64)
  38. config HOST_HAS_SDL
  39. def_bool $(success,sdl2-config --version)
  40. config SANDBOX_SDL
  41. bool "Enable SDL2 support in sandbox"
  42. default HOST_HAS_SDL
  43. config SANDBOX_CRASH_RESET
  44. bool "Reset on crash"
  45. help
  46. If an illegal instruction or an illegal memory access occurs, the
  47. sandbox by default writes a crash dump and exits. If you set this
  48. flag, the sandbox is reset instead. This may be useful when running
  49. test suites like the UEFI self certification test which continue
  50. with the next test after a crash.
  51. config SANDBOX_BITS_PER_LONG
  52. int
  53. default 32 if HOST_32BIT
  54. default 64 if HOST_64BIT
  55. config SYS_FDT_LOAD_ADDR
  56. hex "Address at which to load devicetree"
  57. default 0x100
  58. help
  59. With sandbox the devicetree is loaded into the emulated RAM. This sets
  60. the address that is used. There must be enough space at this address
  61. to load the full devicetree without it overwriting anything else.
  62. See `doc/arch/sandbox.rst` for more information.
  63. endmenu
  64. config FWU_NUM_BANKS
  65. default 2
  66. config FWU_NUM_IMAGES_PER_BANK
  67. default 2