|
| 1 | +choice |
| 2 | + prompt "Platform" |
| 3 | + default PLATFORM_UEFI |
| 4 | + |
| 5 | +config PLATFORM_UEFI |
| 6 | + bool "UEFI" |
| 7 | + select EFI_STUB |
| 8 | + |
| 9 | +config PLATFORM_SBL |
| 10 | + bool "SBL" |
| 11 | + |
| 12 | +endchoice |
| 13 | + |
| 14 | +config NR_IOAPICS |
| 15 | + int "Maximum number of IOAPICs supported" |
| 16 | + default 1 |
| 17 | + |
| 18 | +config STACK_SIZE |
| 19 | + hex "Capacity of each stack used in the hypervisor" |
| 20 | + default 0x2000 |
| 21 | + |
| 22 | +config LOG_BUF_SIZE |
| 23 | + hex "Capacity of logbuf" |
| 24 | + default 0x100000 |
| 25 | + |
| 26 | +config LOG_DESTINATION |
| 27 | + int "Bitmap of consoles where logs are printed" |
| 28 | + default 3 |
| 29 | + |
| 30 | +config CPU_UP_TIMEOUT |
| 31 | + int "Timeout in ms when bringing up secondary CPUs" |
| 32 | + default 100 |
| 33 | + |
| 34 | +choice |
| 35 | + prompt "serial IO type" |
| 36 | + default SERIAL_MMIO if PLATFORM_SBL |
| 37 | + default SERIAL_PIO if PLATFORM_UEFI |
| 38 | + |
| 39 | +config SERIAL_MMIO |
| 40 | + bool "MMIO" |
| 41 | + |
| 42 | +config SERIAL_PIO |
| 43 | + bool "PIO" |
| 44 | + |
| 45 | +endchoice |
| 46 | + |
| 47 | +config SERIAL_MMIO_BASE |
| 48 | + hex "Base address of serial MMIO region" |
| 49 | + depends on SERIAL_MMIO |
| 50 | + default 0xfc000000 |
| 51 | + |
| 52 | +config SERIAL_PIO_BASE |
| 53 | + hex "Base address of serial PIO region" |
| 54 | + depends on SERIAL_PIO |
| 55 | + default 0x3f8 |
| 56 | + |
| 57 | +config MALLOC_ALIGN |
| 58 | + int "Block size in the heap for malloc()" |
| 59 | + default 16 |
| 60 | + |
| 61 | +config NUM_ALLOC_PAGES |
| 62 | + hex "Capacity in pages of the heap for page_alloc()" |
| 63 | + default 0x1000 |
| 64 | + |
| 65 | +config HEAP_SIZE |
| 66 | + hex "Capacity of the heap for malloc()" |
| 67 | + default 0x100000 |
| 68 | + |
| 69 | +config CONSOLE_LOGLEVEL_DEFAULT |
| 70 | + int "Default loglevel on the serial console" |
| 71 | + default 2 |
| 72 | + |
| 73 | +config MEM_LOGLEVEL_DEFAULT |
| 74 | + int "Default loglevel in memory" |
| 75 | + default 4 |
| 76 | + |
| 77 | +config LOW_RAM_START |
| 78 | + hex "Address of the beginning of low RAM region" |
| 79 | + default 0x00001000 if PLATFORM_SBL |
| 80 | + default 0x00008000 if PLATFORM_UEFI |
| 81 | + |
| 82 | +config LOW_RAM_SIZE |
| 83 | + hex "Size of the low RAM region" |
| 84 | + default 0x000cf000 if PLATFORM_SBL |
| 85 | + default 0x00010000 if PLATFORM_UEFI |
| 86 | + |
| 87 | +config RAM_START |
| 88 | + hex "Address of the RAM region assigned to the hypervisor" |
| 89 | + default 0x6e000000 if PLATFORM_SBL |
| 90 | + default 0x20000000 if PLATFORM_UEFI |
| 91 | + |
| 92 | +config RAM_SIZE |
| 93 | + hex "Size of the RAM region assigned to the hypervisor" |
| 94 | + default 0x02000000 |
| 95 | + |
| 96 | +config DMAR_PARSE_ENABLED |
| 97 | + bool |
| 98 | + default n if PLATFORM_SBL |
| 99 | + default y if PLATFORM_UEFI |
| 100 | + |
| 101 | +config GPU_SBDF |
| 102 | + hex |
| 103 | + depends on DMAR_PARSE_ENABLED |
| 104 | + default 0x00000010 |
| 105 | + |
| 106 | +config EFI_STUB |
| 107 | + bool |
| 108 | + depends on PLATFORM_UEFI |
| 109 | + default y |
| 110 | + |
| 111 | +config UEFI_OS_LOADER_NAME |
| 112 | + string "UEFI OS loader name" |
| 113 | + depends on PLATFORM_UEFI |
| 114 | + default "\\EFI\\org.clearlinux\\bootloaderx64.efi" |
0 commit comments