Add endbr64 instructions to most of the ENTRY() macros.
authorderaadt <deraadt@openbsd.org>
Mon, 17 Apr 2023 00:02:14 +0000 (00:02 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 17 Apr 2023 00:02:14 +0000 (00:02 +0000)
commite3e62cc7230685f7c589f35502d47551610b5047
tree8521e772bde8d8f7a09de1a2decac43c116b7f10
parentbc4845413b1871ad113f822a84b0ce143789f000
Add endbr64 instructions to most of the ENTRY() macros.
The IDTVEC() and KIDTVEC() macros also get a endbr64, and therefore we need
to change the way that vectors are aliased with a new IDTVEC_ALIAS() macro.
with guenther, jsg
sys/arch/amd64/amd64/vector.S
sys/arch/amd64/include/asm.h
sys/arch/amd64/include/frameasm.h