-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefconfig.toml
62 lines (59 loc) · 2.06 KB
/
defconfig.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Architecture identifier.
arch = "x86_64" # str
# Platform identifier.
plat = "x86_64-qemu-q35" # str
# Number of CPUs.
smp = 1 # uint
#
# Kernel configs
#
[kernel]
# Stack size of each task.
task-stack-size = 0 # uint
# Number of timer ticks per second (Hz). A timer tick may contain several timer
# interrupts.
ticks-per-sec = 0 # uint
#
# Platform configs
#
[platform]
# Base address of the whole physical memory.
phys-memory-base = 0 # uint
# Size of the whole physical memory.
phys-memory-size = 0x800_0000 # uint
# Base physical address of the kernel image.
kernel-base-paddr = 0x20_0000 # uint
# Base virtual address of the kernel image.
kernel-base-vaddr = "0xffff_ff80_0020_0000" # uint
# Linear mapping offset, for quick conversions between physical and virtual
# addresses.
phys-virt-offset = "0xffff_ff80_0000_0000" # uint
# Offset of bus address and phys address. some boards, the bus address is
# different from the physical address.
phys-bus-offset = 0 # uint
# Kernel address space base.
kernel-aspace-base = "0xffff_ff80_0000_0000" # uint
# Kernel address space size.
kernel-aspace-size = "0x0000_007f_ffff_f000" # uint
# Timer interrupt frequencyin Hz.
timer-frequency = 0 # uint
#
# Device specifications
#
[devices]
# MMIO regions with format (`base_paddr`, `size`).
mmio-regions = [
["0xb000_0000", "0x1000_0000"], # PCI config space
["0xfe00_0000", "0xc0_0000"], # PCI devices
["0xfec0_0000", "0x1000"], # IO APIC
["0xfed0_0000", "0x1000"], # HPET
["0xfee0_0000", "0x1000"], # Local APIC
] # [(uint, uint)]
# VirtIO MMIO regions with format (`base_paddr`, `size`).
virtio-mmio-regions = [] # [(uint, uint)]
# Base physical address of the PCIe ECAM space (should read from ACPI 'MCFG' table).
pci-ecam-base = 0 # uint
# End PCI bus number.
pci-bus-end = 0 # uint
# PCI device memory ranges (not used on x86).
pci-ranges = [] # [(uint, uint)]