-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15adaac
commit ec28169
Showing
9 changed files
with
84 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
# Architecture identifier. | ||
arch = "x86_64" | ||
arch = "x86_64" # str | ||
# Platform identifier. | ||
plat = "x86_64-qemu-q35" | ||
plat = "x86_64-qemu-q35" # str | ||
# Number of CPUs. | ||
smp = 1 | ||
smp = 1 # uint | ||
|
||
# | ||
# Device specifications | ||
# | ||
[device] | ||
[devices] | ||
# MMIO regions with format (`base_paddr`, `size`). | ||
mmio-regions = [ | ||
["0xb000_0000", "0x1000_0000"], | ||
["0xfe00_0000", "0xc0_0000"], | ||
["0xfec0_0000", "0x1000"], | ||
["0xfed0_0000", "0x1000"], | ||
["0xfee0_0000", "0x1000"] | ||
] | ||
] # [(uint, uint)] | ||
# End PCI bus number. | ||
pci-bus-end = 0 | ||
pci-bus-end = 0 # uint | ||
# Base physical address of the PCIe ECAM space (should read from ACPI 'MCFG' table). | ||
pci-ecam-base = 0 | ||
pci-ecam-base = 0 # uint | ||
# PCI device memory ranges (not used on x86). | ||
pci-ranges = [] | ||
pci-ranges = [] # [(uint, uint)] | ||
# VirtIO MMIO regions with format (`base_paddr`, `size`). | ||
virtio-mmio-regions = [] | ||
virtio-mmio-regions = [] # [(uint, uint)] | ||
|
||
# | ||
# Kernel configs | ||
# | ||
[kernel] | ||
# Stack size of each task. | ||
task-stack-size = 0 | ||
task-stack-size = 0 # uint | ||
# Number of timer ticks per second (Hz). A timer tick may contain several timer | ||
# interrupts. | ||
ticks-per-sec = 0 | ||
ticks-per-sec = 0 # uint | ||
|
||
# | ||
# Platform configs | ||
# | ||
[platform] | ||
# Kernel address space base. | ||
kernel-aspace-base = "0xffff_ff80_0000_0000" | ||
kernel-aspace-base = "0xffff_ff80_0000_0000" # uint | ||
# Kernel address space size. | ||
kernel-aspace-size = "0x0000_007f_ffff_f000" | ||
kernel-aspace-size = "0x0000_007f_ffff_f000" # uint | ||
# Base physical address of the kernel image. | ||
kernel-base-paddr = 0x20_0000 | ||
kernel-base-paddr = 0x20_0000 # uint | ||
# Base virtual address of the kernel image. | ||
kernel-base-vaddr = "0xffff_ff80_0020_0000" | ||
kernel-base-vaddr = "0xffff_ff80_0020_0000" # uint | ||
# Offset of bus address and phys address. some boards, the bus address is | ||
# different from the physical address. | ||
phys-bus-offset = 0 | ||
phys-bus-offset = 0 # uint | ||
# Base address of the whole physical memory. | ||
phys-memory-base = 0 | ||
phys-memory-base = 0 # uint | ||
# Size of the whole physical memory. | ||
phys-memory-size = 0x800_0000 | ||
phys-memory-size = 0x800_0000 # uint | ||
# Linear mapping offset, for quick conversions between physical and virtual | ||
# addresses. | ||
phys-virt-offset = "0xffff_ff80_0000_0000" | ||
phys-virt-offset = "0xffff_ff80_0000_0000" # uint | ||
# Timer interrupt frequencyin Hz. | ||
timer-frequency = 0 | ||
timer-frequency = 0 # uint |