HomeFreeBSD

amd64 wakeup: rework trampoline page allocation

Description

amd64 wakeup: rework trampoline page allocation

There is no need to restrict trampoline page table to low 1M, it
should work with any pages below 4G. Only wakeup code itself should
be below 1M.

Do not waste level 5 page when LA48 mode is used.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D31931

Details

Provenance
kibAuthored on Sep 12 2021, 7:41 PM
Reviewer
markj
Differential Revision
D31931: x86: duplicate acpi_wakeup.c per i386 and amd64
Parents
rG2b6eec531a1b: x86: duplicate acpi_wakeup.c per i386 and amd64
Branches
Unknown
Tags
Unknown