Up to [cvs.NetBSD.org] / src / sys / arch / xen / x86
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.2.20.1 / (download) - annotate - [select for diffs], Thu Mar 30 11:45:34 2023 UTC (2 months, 1 week ago) by martin
Branch: netbsd-10
Changes since 1.2: +22 -7
lines
Diff to previous 1.2 (colored) next main 1.3 (colored)
Pull up following revision(s) (requested by bouyer in ticket #131): sys/arch/x86/x86/consinit.c: revision 1.36 sys/arch/xen/x86/pvh_consinit.c: revision 1.3 sys/arch/xen/include/xen.h: revision 1.48 Allow a PVH dom0 to use VGA as console: make xen_pvh_consinit() return 1 if it handles the console and 0 otherwise (especially when console=tty0 or console=pc is present on the command line). In consinit() fallback to native console selection if xen_pvh_consinit() returns 0.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 24 12:28:42 2023 UTC (2 months, 2 weeks ago) by bouyer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +22 -7
lines
Diff to previous 1.2 (colored)
Allow a PVH dom0 to use VGA as console: make xen_pvh_consinit() return 1 if it handles the console and 0 otherwise (especially when console=tty0 or console=pc is present on the command line). In consinit() fallback to native console selection if xen_pvh_consinit() returns 0.
Revision 1.2 / (download) - annotate - [select for diffs], Sun May 3 17:23:14 2020 UTC (3 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
netbsd-10-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.1: +9 -3
lines
Diff to previous 1.1 (colored)
Hanble dom0 console. This one doesn't need a ring to be mapped, and can be used earlier.
Revision 1.1 / (download) - annotate - [select for diffs], Sat May 2 16:44:36 2020 UTC (3 years, 1 month ago) by bouyer
Branch: MAIN
Introduce Xen PVH support in GENERIC. This is compiled in with options XENPVHVM x86 changes: - add Xen section and xen pvh entry points to locore.S. Set vm_guest to VM_GUEST_XENPVH in this entry point. Most of the boot procedure (especially page table setup and switch to paged mode) is shared with native. - change some x86_delay() to delay_func(), which points to x86_delay() for native/HVM, and xen_delay() for PVH Xen changes: - remove Xen bits from init_x86_64_ksyms() and init386_ksyms() and move to xen_init_ksyms(), used for both PV and PVH - set ISA no-legacy-devices property for PVH - factor out code from Xen's cpu_bootconf() to xen_bootconf() in xen_machdep.c - set up a specific pvh_consinit() which starts with printk() (which uses a simple hypercall that is available early) and switch to xencons when we can use pmap_kenter_pa().