HomeFreeBSD

hyperv: Fix boot-up after malloc() returns memory of NX by default now

Description

hyperv: Fix boot-up after malloc() returns memory of NX by default now

FreeBSD VM can't boot up on Hyper-V after the recent malloc change in
r335068: Make UMA and malloc(9) return non-executable memory in most cases.

The hypercall page here must be executable.
Fix the boot-up issue by adding M_EXEC.

PR: 229167
Sponsored by: Microsoft

Details

Provenance
dexuanAuthored on
Parents
rS336053: Export a breakpoint() function to userland for arm and arm64.
Branches
Unknown
Tags
Unknown