Commit Graph

2407 Commits

Author SHA1 Message Date
matt
0e582fedb6 Fix SCN?FAST{8,16} formats to match reality (int) in gcc4.8.3 2014-08-14 14:21:03 +00:00
martin
9842fff13a Revert previous changes, gcc configuration will be adapted instead. 2014-08-14 11:28:13 +00:00
martin
b209a3f1b9 intptr_t and uintptr_t are not long any more. 2014-08-14 09:17:32 +00:00
martin
66ee8b8898 Previously we used unsigned long int as __uintptr_t, but gcc prefers
__UINTPTR_TYPE__ as unsigned int, and now we use that for __uintptr_t
as well, so adapt MUTEX_CAS() accordingly.
2014-08-14 09:02:18 +00:00
matt
82a12988ef Include <sys/common_int_types.h> if __UINTPTR_TYPE__ is defined. 2014-08-13 22:56:56 +00:00
matt
0b2cac531b Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined. 2014-08-13 22:51:58 +00:00
matt
7c5094c243 Include <sys/common_init_limits.h> if __SIG_ATOMIC_MAX__ is defined. 2014-08-13 22:31:06 +00:00
matt
2534797f07 include <sys/common_int_mwgwtypes.h> if __UINT_FAST64_TYPE__ is defined. 2014-08-13 22:25:39 +00:00
matt
efe99ca41d include <sys/common_int_fmtio.h> if __INTPTR_FMTd__ is defined 2014-08-13 19:48:17 +00:00
martin
cc0e5017b6 Remove atoi() prototype 2014-08-10 16:53:22 +00:00
joerg
eb6cc7528a Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
2014-08-06 21:57:48 +00:00
dholland
f9228f4225 Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
dholland
8c70ef39af Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.
2014-07-25 08:02:18 +00:00
mrg
ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
matt
c5a433948d Modify compiler HACK to be for GCC 4.1 only 2014-06-04 21:24:54 +00:00
martin
c93b05fd84 Force -O1 when compiling this, it doesn't work with -O2 (need to investigate
later)
2014-05-24 07:38:42 +00:00
martin
02d91c9194 #ifdef a variable like its only use 2014-05-23 19:05:35 +00:00
martin
fc1c9b2cfa Recognize racd* as boot device. 2014-05-20 16:02:37 +00:00
rmind
8011b285c0 Implement MI IPI interface with cross-call support. 2014-05-19 22:47:53 +00:00
christos
3ff79dba35 adjust to new signature; return consistent stuff. 0 is ok -1 is error 2014-04-05 18:44:32 +00:00
ozaki-r
046f996cf0 Use snprintf instead of sprintf 2014-03-28 13:26:24 +00:00
christos
e929f0f23e fix printf issues 2014-03-26 08:01:21 +00:00
christos
b2543b9136 use cpu_{g,s}etmodel 2014-03-24 20:06:31 +00:00
joerg
8512c71356 Bump INSTALL ramdisk size slightly to allow building with DBG=-g. 2014-03-16 13:37:36 +00:00
dholland
a68f9396b6 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.
2014-03-16 05:20:22 +00:00
christos
bef5516826 don't re-specify the defaults 2014-01-26 03:18:39 +00:00
christos
b07f3fe235 delete VM_DEFAULT_ADDRESS; some of those should be GC'ed because they match
the default definition.
2014-01-25 15:16:49 +00:00
jklos
72da815343 Removed MAXBSIZE. Cleared with Anders Magnusson and tested myself. 2014-01-23 21:37:09 +00:00
dsl
be74e0a9c9 Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.
2014-01-01 18:57:15 +00:00
wiz
d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
christos
abc81f7c5e use __unused instead of __USE and void cast to mark iterator variable unused
where needed (from phone)
2013-11-10 00:50:13 +00:00
christos
25dc998745 fix unused variable warnings 2013-11-09 21:41:03 +00:00
christos
abff20964c bump md image size 2013-11-09 21:32:55 +00:00
christos
7500b90ae1 __USE cii 2013-11-09 20:32:59 +00:00
christos
d0dae2300a remove unused 2013-11-09 18:31:53 +00:00
martin
7c79fd6cfc Mark a diagnostic-only variable 2013-10-25 16:23:46 +00:00
martin
5a6d54e60d Simplify (and remove now unused variable) 2013-10-25 14:44:25 +00:00
martin
1faf8b0f37 Mark a potentially unused variable 2013-10-24 13:16:33 +00:00
christos
86b6b2fef2 make cpu_need_resched() macros consistent; __USE flags 2013-10-19 19:20:59 +00:00
martin
6f0493943e Bump MAXTSIZ to 32 MB (it is an arbitrary limit anyway) 2013-09-18 13:31:39 +00:00
martin
8d16ae7d3d Change __isinf and __isnan from macros to inline functions. The macros do
collide with newer gcc libstdc++.
2013-09-16 15:56:24 +00:00
matt
74c41226fe add #define __HAVE_MD_SOFTINT_TRIGGER to <vax/types.h>
Only define a function prototype for softint_trigger
if __HAVE_MD_SOFTINT_TRIGGER is undefined.
2013-08-25 03:08:56 +00:00
matt
77ab2cf35d Use <bsd.klinks.mk> 2013-08-21 06:15:41 +00:00
joerg
8dce5128ed Explicitly disable unwind tables for the boot loader. 2013-07-18 12:15:15 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
matt
9d2720c820 ufs -> ffsv1 (ffsv2 is commentout due to size limitations) 2013-06-28 01:13:40 +00:00
matt
8b42139220 Use sy_invoke 2013-06-26 06:31:53 +00:00
christos
e46f5f0078 remove obsolete networking options 2013-06-05 23:07:59 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00