--- - branch: MAIN date: Sat Dec 22 07:45:59 UTC 2018 files: - new: '1.3' old: '1.2' path: src/sys/arch/amd64/amd64/amd64_mainbus.c pathrev: src/sys/arch/amd64/amd64/amd64_mainbus.c@1.3 type: modified - new: '1.161' old: '1.160' path: src/sys/arch/amd64/conf/XEN3_DOM0 pathrev: src/sys/arch/amd64/conf/XEN3_DOM0@1.161 type: modified - new: '1.110' old: '1.109' path: src/sys/arch/amd64/conf/files.amd64 pathrev: src/sys/arch/amd64/conf/files.amd64@1.110 type: modified - new: '1.10' old: '1.9' path: src/sys/arch/i386/conf/XEN3PAE_DOM0 pathrev: src/sys/arch/i386/conf/XEN3PAE_DOM0@1.10 type: modified - new: '1.399' old: '1.398' path: src/sys/arch/i386/conf/files.i386 pathrev: src/sys/arch/i386/conf/files.i386@1.399 type: modified - new: '1.3' old: '1.2' path: src/sys/arch/i386/i386/i386_mainbus.c pathrev: src/sys/arch/i386/i386/i386_mainbus.c@1.3 type: modified - new: '1.5' old: '1.4' path: src/sys/arch/x86/include/autoconf.h pathrev: src/sys/arch/x86/include/autoconf.h@1.5 type: modified - new: '1.1' old: '0' path: src/sys/arch/x86/x86/mainbus.c pathrev: src/sys/arch/x86/x86/mainbus.c@1.1 type: added - new: '1.172' old: '1.171' path: src/sys/arch/xen/conf/files.xen pathrev: src/sys/arch/xen/conf/files.xen@1.172 type: modified - new: '1.21' old: '1.20' path: src/sys/arch/xen/x86/autoconf.c pathrev: src/sys/arch/xen/x86/autoconf.c@1.21 type: modified - new: '1.3' old: '1.2' path: src/sys/arch/xen/x86/xen_mainbus.c pathrev: src/sys/arch/xen/x86/xen_mainbus.c@1.3 type: modified id: 20181222T074559Z.e6e407934c942a23aa01f195f64e819a130a951d log: | This change modifies the mainbus(4) entry point for all x86 sub-archs in the following way: i) It provides a unified entry point in x86/x86/mainbus.c:mainbus_attach() ii) It carves out the preliminary bus attachment sequence that is common to all sub-archs into x86/x86/mainbus.c: x86_cpubus_attach() iii) It consolidates the remaining pathways as internal callee functions so that these may be called piecemeal if required. A special usecase of this is XEN PVHVM which may need to call the native configure path, the xen configure path, or both. iv) It moves the driver private data structures from i386/i386_mainbus.c to an x86/ level one. This allows for other sub-arch's to do similar, if needed. (They do not at the moment). v) For dom0 kernels, it enables 'acpi0 at mainbus?' and 'acpi0 at hypervisorbus'. This serves two purposes: a) To demonstrate the possibility of dynamic configuration tree traversal ordering changes. b) To allow for the common acpi_check(self, "acpibus") call in x86/mainbus.c to not barf when it is called from the dom0 attach path. We allow for the acpi0 device to be a child of mainbus with the changes to amd64/conf/XEN3_DOM0 and i386/conf/XEN3PAE_DOM0 without actually probing further in the code. This path will later be pursued in a PVHVM boot codepath. There should be no operative changes with this change. If there are, please complain loudly. module: src subject: 'CVS commit: src/sys/arch' unixtime: '1545464759' user: cherry