svn commit: r366768 - head/sys/amd64/include
Konstantin Belousov
kib at FreeBSD.org
Fri Oct 16 16:22:33 UTC 2020
Author: kib
Date: Fri Oct 16 16:22:32 2020
New Revision: 366768
URL: https://svnweb.freebsd.org/changeset/base/366768
Log:
amd64 pmap.h: explicitly provide constants values instead of relying
on some more advanced C features.
This fixes gcc-toolchain build of exception.S.
Reported and tested by: kevans
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/amd64/include/pmap.h
Modified: head/sys/amd64/include/pmap.h
==============================================================================
--- head/sys/amd64/include/pmap.h Fri Oct 16 15:55:06 2020 (r366767)
+++ head/sys/amd64/include/pmap.h Fri Oct 16 16:22:32 2020 (r366768)
@@ -259,8 +259,8 @@
#define PMAP_PCID_OVERMAX_KERN 0x800
#define PMAP_PCID_USER_PT 0x800
-#define PMAP_NO_CR3 (~0UL)
-#define PMAP_UCR3_NOMASK (~0UL)
+#define PMAP_NO_CR3 0xffffffffffffffff
+#define PMAP_UCR3_NOMASK 0xffffffffffffffff
#ifndef LOCORE
More information about the svn-src-all
mailing list