Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/amd64/include
Module Name: src
Committed By: kre
Date: Thu Apr 24 09:58:26 UTC 2025
Modified Files:
src/sys/arch/amd64/include: param.h
Log Message:
Skip __CTASSERT() when _STANDALONE
Unbreak the amd64 build (the assembler did not like those things!).
These __CTASSERT()'s aren't really useful in any case, and
should probably just be deleted - they simply check that the
arithmetic in the previous few lines produces the answers
expected.
If those answers were critical, then we shouldn't be computing
them in the first place, and should simply
#define UPAGES 8
(conditionally, replacing all the previous computation which
generates UPAGES, and the 3 __CTASSERT()'s.)
But I suspect that they're not critical, they just happen to be
the answers currently expected to be achieved. That's not something
that should be asserted to be true, it isn't a required fact, it
could easily be altered in one of the cases if needed, and everything
else should cope with that.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amd64/include/param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index