freebsd-dev/sys/amd64
Konstantin Belousov b27fe1c3ba amd64: stop doing special allocation for the AP startup trampoline
There is no reason now why do we need to allocate trampoline page very
early in the boot process.  The only requirement for the page is that
it is below 1M to be usable by the real mode during init.  This can be
handled by vm_alloc_contig() when we do the startup.

Also assert that startup trampoline fits into single page.  In principle
we can do multi-page allocation if needed, but it is not.

Move the alloc_ap_trampoline() function and the boot_address variable to
i386/mp_machdep.c.  Keep existing mechanism of early alloc on i386.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D31343
2021-07-30 01:20:45 +03:00
..
acpica acpi: Fix a repeated comment typo 2021-07-19 17:19:23 +01:00
amd64 amd64: stop doing special allocation for the AP startup trampoline 2021-07-30 01:20:45 +03:00
cloudabi32 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
cloudabi64 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
conf xen/timer: make xen timer optional 2021-07-28 17:27:03 +02:00
ia32 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
include amd64: rework AP startup 2021-07-27 20:11:15 +03:00
linux linux(4): Fix gcc buld. 2021-07-29 09:52:33 +03:00
linux32 linux(4): Fix gcc buld. 2021-07-29 09:52:33 +03:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm vmm: Fix AMD-vi using wrong rid range 2021-07-14 01:53:10 +08:00
Makefile