summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorStefan Kempf <stefan@cvs.openbsd.org>2016-03-13 13:11:48 +0000
committerStefan Kempf <stefan@cvs.openbsd.org>2016-03-13 13:11:48 +0000
commitab234763e456addd9b70ea0f591fb47441139cc9 (patch)
tree1759a5b5f20b9984477d28d86d53c282aaecc9da /sys/kern/tty_pty.c
parenta86f634604dfde15881604ce5782d2b2586e3452 (diff)
Introduce memory ranges to support VMs with >= 4G RAM
Kernel bits: - When creating a VM, a list of memory ranges has to be specified, similar to the BIOS memory map. This is necessary for VMs with RAM sizes approaching 4G because we'll need PCI MMIO space in the higher parts of the 32 bit address space. vmctl and vmd bits: - Construct appropriate memory ranges to create a VM with a given RAM size - Construct a corresponding BIOS memory map from the memory ranges and update the boot params page accordingly. - Make sure that all variables that represent guest physical addresses match the address width of the target CPU instead of using uint32_t. - Fix some integer promotion glitches that actually restricted VM RAM size to 2G. This changes the VM create ioctl interface, so update your kernel, vmd, and vmctl. ok mlarkin@
Diffstat (limited to 'sys/kern/tty_pty.c')
0 files changed, 0 insertions, 0 deletions