freebsd-dev/sys/i386
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
bios Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
cloudabi32 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
i386 amd64: stop doing special allocation for the AP startup trampoline 2021-07-30 01:20:45 +03:00
include Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
linux linux(4): Eliminating an accidental comment. 2021-07-29 12:51:56 +03:00
pci i386: clean up empty lines in .c and .h files 2020-09-01 21:19:39 +00:00
Makefile Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00