diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-06-20 00:36:51 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-06-20 00:36:51 +0200 |
commit | 2d83ae8fb215c12f56e860f04217d5117dc44b43 (patch) | |
tree | 0d49e5e6f6b0d5cbab67e06d1488052b7c2c3d76 | |
parent | a40364218d3155403bcaccce01c8a70523c2e29c (diff) | |
download | plan9front-2d83ae8fb215c12f56e860f04217d5117dc44b43.tar.xz |
pc64: actually fix it, what was i THINKING
-rw-r--r-- | sys/src/9/pc64/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc64/main.c b/sys/src/9/pc64/main.c index 479141637..e61840ea0 100644 --- a/sys/src/9/pc64/main.c +++ b/sys/src/9/pc64/main.c @@ -398,7 +398,7 @@ reboot(void *entry, void *code, ulong size) /* shutdown devices */ chandevshutdown(); - rebootjump((uintptr)entry & -0x10000000, PADDR(code), size); + rebootjump((uintptr)entry & (ulong)~0xF0000000UL, PADDR(code), size); } /* |