| History log of /src/sys/arch/hpcmips/vr/vr4181aiu.c |
| Revision | | Date | Author | Comments |
| 1.12 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
| 1.11 |
| 03-Sep-2018 |
riastradh | Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation.
To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
|
| 1.10 |
| 25-Jul-2014 |
dholland | branches: 1.10.26; 1.10.28; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
| 1.9 |
| 16-Mar-2014 |
dholland | branches: 1.9.2; Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
|
| 1.8 |
| 27-Oct-2012 |
chs | branches: 1.8.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.7 |
| 06-Jun-2010 |
dholland | branches: 1.7.8; 1.7.18; Add missing close-parenthesis; reported by Henning Petersen in PR 42526. (HI CEGGER!)
|
| 1.6 |
| 11-Jun-2008 |
cegger | branches: 1.6.16; 1.6.18; use device_lookup_private to get softc
|
| 1.5 |
| 28-Apr-2008 |
martin | branches: 1.5.2; 1.5.4; Remove clause 3 and 4 from TNF licenses
|
| 1.4 |
| 11-Dec-2005 |
christos | branches: 1.4.74; 1.4.76; 1.4.78; merge ktrace-lwp.
|
| 1.3 |
| 29-Dec-2003 |
igy | branches: 1.3.16; remove unused functions to make compile
|
| 1.2 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.1 |
| 01-May-2003 |
igy | branches: 1.1.2; Support for Laser5's L-Card+ Embedded CPU Board
|
| 1.1.2.4 |
| 24-Jan-2005 |
skrll | Adapt to branch.
|
| 1.1.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.3.16.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.4.78.3 |
| 11-Aug-2010 |
yamt | sync with head.
|
| 1.4.78.2 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.4.78.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.4.76.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
| 1.4.76.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.4.74.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.4.74.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.5.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
| 1.5.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.6.18.1 |
| 03-Jul-2010 |
rmind | sync with head
|
| 1.6.16.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.7.18.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.7.18.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.7.8.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.7.8.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.8.2.1 |
| 18-May-2014 |
rmind | sync with head
|
| 1.9.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.10.28.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.10.26.1 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|