mirror of
https://github.com/drasko/codezero.git
synced 2026-01-11 18:33:16 +01:00
198 lines
8.3 KiB
Plaintext
198 lines
8.3 KiB
Plaintext
symbols
|
|
CONT%(cn)d_TYPE_LINUX 'Linux Container'
|
|
CONT%(cn)d_TYPE_BARE 'Bare Container'
|
|
CONT%(cn)d_TYPE_POSIX 'Codezero POSIX Services'
|
|
CONT%(cn)d_OPT_NAME 'Container Name'
|
|
|
|
CONT%(cn)d_PHYSMEM_REGIONS 'Container %(cn)d Number of Physical Regions'
|
|
CONT%(cn)d_PHYS0_START 'Container %(cn)d Physical Region 0 Start Address'
|
|
CONT%(cn)d_PHYS0_END 'Container %(cn)d Physical Region 0 End Address'
|
|
CONT%(cn)d_PHYS1_START 'Container %(cn)d Physical Region 1 Start Address'
|
|
CONT%(cn)d_PHYS1_END 'Container %(cn)d Physical Region 1 End Address'
|
|
CONT%(cn)d_PHYS2_START 'Container %(cn)d Physical Region 2 Start Address'
|
|
CONT%(cn)d_PHYS2_END 'Container %(cn)d Physical Region 2 End Address'
|
|
CONT%(cn)d_PHYS3_START 'Container %(cn)d Physical Region 3 Start Address'
|
|
CONT%(cn)d_PHYS3_END 'Container %(cn)d Physical Region 3 End Address'
|
|
|
|
symbols
|
|
|
|
CONT%(cn)d_VIRTMEM_REGIONS 'Container %(cn)d Number of Virtual Regions'
|
|
CONT%(cn)d_VIRT0_START 'Container %(cn)d Virtual Region 0 Start Address'
|
|
CONT%(cn)d_VIRT0_END 'Container %(cn)d Virtual Region 0 End Address'
|
|
CONT%(cn)d_VIRT1_START 'Container %(cn)d Virtual Region 1 Start Address'
|
|
CONT%(cn)d_VIRT1_END 'Container %(cn)d Virtual Region 1 End Address'
|
|
CONT%(cn)d_VIRT2_START 'Container %(cn)d Virtual Region 2 Start Address'
|
|
CONT%(cn)d_VIRT2_END 'Container %(cn)d Virtual Region 2 End Address'
|
|
CONT%(cn)d_VIRT3_START 'Container %(cn)d Virtual Region 3 Start Address'
|
|
CONT%(cn)d_VIRT3_END 'Container %(cn)d Virtual Region 3 End Address'
|
|
CONT%(cn)d_VIRT4_START 'Container %(cn)d Virtual Region 4 Start Address'
|
|
CONT%(cn)d_VIRT4_END 'Container %(cn)d Virtual Region 4 End Address'
|
|
CONT%(cn)d_VIRT5_START 'Container %(cn)d Virtual Region 5 Start Address'
|
|
CONT%(cn)d_VIRT5_END 'Container %(cn)d Virtual Region 5 End Address'
|
|
|
|
CONT%(cn)d_PAGER_LMA 'Container %(cn)d Pager LMA'
|
|
CONT%(cn)d_PAGER_VMA 'Container %(cn)d Pager VMA'
|
|
CONT%(cn)d_PAGER_SIZE 'Container %(cn)d Pager Initial Map Size (Optional)'
|
|
CONT%(cn)d_PAGER_SHM_START 'Container %(cn)d Shared Mappings Region Start'
|
|
CONT%(cn)d_PAGER_SHM_END 'Container %(cn)d Shared Mappings Region End'
|
|
CONT%(cn)d_PAGER_TASK_START 'Container %(cn)d Task Address Space Region Start'
|
|
CONT%(cn)d_PAGER_TASK_END 'Container %(cn)d Task Address Space Region End'
|
|
CONT%(cn)d_PAGER_UTCB_START 'Container %(cn)d UTCB Mappings Region Start'
|
|
CONT%(cn)d_PAGER_UTCB_END 'Container %(cn)d UTCB Mappings Region End'
|
|
CONT%(cn)d_LINUX_ZRELADDR 'Container %(cn)d Linux ZRELADDR parameter'
|
|
CONT%(cn)d_LINUX_PAGE_OFFSET 'Container %(cn)d Linux PAGE_OFFSET Parameter'
|
|
CONT%(cn)d_LINUX_PHYS_OFFSET 'Container %(cn)d Linux PHYS_OFFSET Parameter'
|
|
CONT%(cn)d_LINUX_MAPSIZE 'Container %(cn)d Linux Initial Kernel Map Size Parameter'
|
|
|
|
default CONT%(cn)d_PAGER_LMA from 0x0
|
|
default CONT%(cn)d_PAGER_VMA from 0x0
|
|
default CONT%(cn)d_PAGER_SIZE from 0x0
|
|
default CONT%(cn)d_PAGER_SHM_START from 0x0
|
|
default CONT%(cn)d_PAGER_SHM_END from 0x0
|
|
default CONT%(cn)d_PAGER_TASK_START from 0x0
|
|
default CONT%(cn)d_PAGER_TASK_END from 0x0
|
|
default CONT%(cn)d_PAGER_UTCB_START from 0x0
|
|
default CONT%(cn)d_PAGER_UTCB_END from 0x0
|
|
default CONT%(cn)d_LINUX_ZRELADDR from 0x0
|
|
default CONT%(cn)d_LINUX_PAGE_OFFSET from 0x0
|
|
default CONT%(cn)d_LINUX_PHYS_OFFSET from 0x0
|
|
default CONT%(cn)d_LINUX_MAPSIZE from 0x0
|
|
|
|
default CONT%(cn)d_VIRTMEM_REGIONS from 1
|
|
default CONT%(cn)d_PHYSMEM_REGIONS from 1
|
|
|
|
# Define limits on virtual and physical memory regions of a _single_ container 0. Too much code!
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 2 suppress CONT%(cn)d_VIRT1_START CONT%(cn)d_VIRT1_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 2 suppress CONT%(cn)d_VIRT2_START CONT%(cn)d_VIRT2_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 2 suppress CONT%(cn)d_VIRT3_START CONT%(cn)d_VIRT3_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 2 suppress CONT%(cn)d_VIRT4_START CONT%(cn)d_VIRT4_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 2 suppress CONT%(cn)d_VIRT5_START CONT%(cn)d_VIRT5_END
|
|
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 3 suppress CONT%(cn)d_VIRT2_START CONT%(cn)d_VIRT2_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 3 suppress CONT%(cn)d_VIRT3_START CONT%(cn)d_VIRT3_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 3 suppress CONT%(cn)d_VIRT4_START CONT%(cn)d_VIRT4_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 3 suppress CONT%(cn)d_VIRT5_START CONT%(cn)d_VIRT5_END
|
|
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 4 suppress CONT%(cn)d_VIRT3_START CONT%(cn)d_VIRT3_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 4 suppress CONT%(cn)d_VIRT4_START CONT%(cn)d_VIRT4_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 4 suppress CONT%(cn)d_VIRT5_START CONT%(cn)d_VIRT5_END
|
|
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 5 suppress CONT%(cn)d_VIRT4_START CONT%(cn)d_VIRT4_END
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 5 suppress CONT%(cn)d_VIRT5_START CONT%(cn)d_VIRT5_END
|
|
|
|
when CONT%(cn)d_VIRTMEM_REGIONS < 6 suppress CONT%(cn)d_VIRT5_START CONT%(cn)d_VIRT5_END
|
|
|
|
|
|
when CONT%(cn)d_PHYSMEM_REGIONS < 2 suppress CONT%(cn)d_PHYS1_START CONT%(cn)d_PHYS1_END
|
|
when CONT%(cn)d_PHYSMEM_REGIONS < 2 suppress CONT%(cn)d_PHYS2_START CONT%(cn)d_PHYS2_END
|
|
when CONT%(cn)d_PHYSMEM_REGIONS < 2 suppress CONT%(cn)d_PHYS3_START CONT%(cn)d_PHYS3_END
|
|
|
|
when CONT%(cn)d_PHYSMEM_REGIONS < 3 suppress CONT%(cn)d_PHYS2_START CONT%(cn)d_PHYS2_END
|
|
when CONT%(cn)d_PHYSMEM_REGIONS < 3 suppress CONT%(cn)d_PHYS3_START CONT%(cn)d_PHYS3_END
|
|
|
|
when CONT%(cn)d_PHYSMEM_REGIONS < 4 suppress CONT%(cn)d_PHYS3_START CONT%(cn)d_PHYS3_END
|
|
|
|
default CONT%(cn)d_PHYS0_START from 0x0
|
|
default CONT%(cn)d_PHYS0_END from 0x0
|
|
default CONT%(cn)d_PHYS1_START from 0x0
|
|
default CONT%(cn)d_PHYS1_END from 0x0
|
|
default CONT%(cn)d_PHYS2_START from 0x0
|
|
default CONT%(cn)d_PHYS2_END from 0x0
|
|
default CONT%(cn)d_PHYS3_START from 0x0
|
|
default CONT%(cn)d_PHYS3_END from 0x0
|
|
|
|
default CONT%(cn)d_VIRT0_START from 0x0
|
|
default CONT%(cn)d_VIRT0_END from 0x0
|
|
default CONT%(cn)d_VIRT1_START from 0x0
|
|
default CONT%(cn)d_VIRT1_END from 0x0
|
|
default CONT%(cn)d_VIRT2_START from 0x0
|
|
default CONT%(cn)d_VIRT2_END from 0x0
|
|
default CONT%(cn)d_VIRT3_START from 0x0
|
|
default CONT%(cn)d_VIRT3_END from 0x0
|
|
default CONT%(cn)d_VIRT4_START from 0x0
|
|
default CONT%(cn)d_VIRT4_END from 0x0
|
|
default CONT%(cn)d_VIRT5_START from 0x0
|
|
default CONT%(cn)d_VIRT5_END from 0x0
|
|
|
|
default CONT%(cn)d_OPT_NAME from (CONT%(cn)d_TYPE_LINUX==y) ? "linux%(cn)d" : ((CONT%(cn)d_TYPE_BARE==y) ? "bare%(cn)d" : "posix%(cn)d")
|
|
|
|
when CONT%(cn)d_TYPE_LINUX==y suppress cont%(cn)d_bare_pager_params cont%(cn)d_posix_pager_params
|
|
when CONT%(cn)d_TYPE_BARE==y suppress cont%(cn)d_linux_pager_params cont%(cn)d_posix_pager_params
|
|
when CONT%(cn)d_TYPE_POSIX==y suppress cont%(cn)d_linux_pager_params
|
|
|
|
symbols
|
|
cont%(cn)d_menu 'Container %(cn)d Parameters'
|
|
cont%(cn)d_physmem_list 'Container %(cn)d Physical Memory Regions'
|
|
cont%(cn)d_virtmem_list 'Container %(cn)d Virtual Memory Regions'
|
|
container%(cn)d_type 'Container %(cn)d Type'
|
|
container%(cn)d_options 'Container %(cn)d Options'
|
|
|
|
cont%(cn)d_linux_pager_params 'Container %(cn)d Linux Pager Parameters'
|
|
cont%(cn)d_bare_pager_params 'Container %(cn)d Default Pager Parameters'
|
|
cont%(cn)d_posix_pager_params 'Container %(cn)d POSIX Pager Parameters'
|
|
|
|
menu cont%(cn)d_bare_pager_params
|
|
CONT%(cn)d_PAGER_LMA@
|
|
CONT%(cn)d_PAGER_VMA@
|
|
CONT%(cn)d_PAGER_SIZE@
|
|
|
|
menu cont%(cn)d_posix_pager_params
|
|
CONT%(cn)d_PAGER_SHM_START@
|
|
CONT%(cn)d_PAGER_SHM_END@
|
|
CONT%(cn)d_PAGER_TASK_START@
|
|
CONT%(cn)d_PAGER_TASK_END@
|
|
CONT%(cn)d_PAGER_UTCB_START@
|
|
CONT%(cn)d_PAGER_UTCB_END@
|
|
|
|
|
|
menu cont%(cn)d_linux_pager_params
|
|
CONT%(cn)d_LINUX_ZRELADDR@
|
|
CONT%(cn)d_LINUX_PAGE_OFFSET@
|
|
CONT%(cn)d_LINUX_PHYS_OFFSET@
|
|
CONT%(cn)d_LINUX_MAPSIZE@
|
|
|
|
menu cont%(cn)d_virtmem_list
|
|
CONT%(cn)d_VIRTMEM_REGIONS%
|
|
CONT%(cn)d_VIRT0_START@
|
|
CONT%(cn)d_VIRT0_END@
|
|
CONT%(cn)d_VIRT1_START@
|
|
CONT%(cn)d_VIRT1_END@
|
|
CONT%(cn)d_VIRT2_START@
|
|
CONT%(cn)d_VIRT2_END@
|
|
CONT%(cn)d_VIRT3_START@
|
|
CONT%(cn)d_VIRT3_END@
|
|
CONT%(cn)d_VIRT4_START@
|
|
CONT%(cn)d_VIRT4_END@
|
|
CONT%(cn)d_VIRT5_START@
|
|
CONT%(cn)d_VIRT5_END@
|
|
|
|
menu cont%(cn)d_physmem_list
|
|
CONT%(cn)d_PHYSMEM_REGIONS%
|
|
CONT%(cn)d_PHYS0_START@
|
|
CONT%(cn)d_PHYS0_END@
|
|
CONT%(cn)d_PHYS1_START@
|
|
CONT%(cn)d_PHYS1_END@
|
|
CONT%(cn)d_PHYS2_START@
|
|
CONT%(cn)d_PHYS2_END@
|
|
CONT%(cn)d_PHYS3_START@
|
|
CONT%(cn)d_PHYS3_END@
|
|
|
|
menu container%(cn)d_options
|
|
CONT%(cn)d_OPT_NAME$
|
|
cont%(cn)d_linux_pager_params
|
|
cont%(cn)d_bare_pager_params
|
|
cont%(cn)d_posix_pager_params
|
|
cont%(cn)d_physmem_list
|
|
cont%(cn)d_virtmem_list
|
|
|
|
choices container%(cn)d_type
|
|
CONT%(cn)d_TYPE_LINUX
|
|
CONT%(cn)d_TYPE_BARE
|
|
CONT%(cn)d_TYPE_POSIX
|
|
default CONT%(cn)d_TYPE_BARE
|
|
|
|
menu cont%(cn)d_menu
|
|
container%(cn)d_type
|
|
container%(cn)d_options
|
|
|