ref: bea6dcd122455f77fa98f9f6c149ea302b6a8af2
parent: aa3c0e55f3bb5b3b014ecb6ab1e268fa217d56a7
author: aiju <devnull@localhost>
date: Mon Nov 27 04:30:15 EST 2017
vmx(1): fix openbsd 6.2 amd64 !entrystate bug
--- a/sys/src/cmd/vmx/ksetup.c
+++ b/sys/src/cmd/vmx/ksetup.c
@@ -721,7 +721,7 @@
assert(obsdarg0 == nil);
PUT32(v, 28, obsdarglen); /* bootargc */
rset(RSP, sp);
- rset(RPC, eh.entry);
+ rset(RPC, (u32int)eh.entry & 0x0fffffff);
return 1;
}