Commit Graph

2388 Commits

Author SHA1 Message Date
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
christos
caafbf4e1b add missing SSIZE_MIN 2013-04-11 00:57:34 +00:00
martin
35d9a96a44 Drop MAXPARTITIONS down to 12 - we do not have more space to store a
larger disklabel in the bootblocks at least on some supported machines.
Keep the extended major/minor sheme compatible with the 6.0 release and
note that we had a bigger MAXPARTITIONS in between.
2013-04-04 12:50:03 +00:00
martin
b59d36a97c Rearrange primary bootstrap slightly to free up all space between the disk
label and the uVAX rom boot parameter block.
2013-04-04 12:48:07 +00:00
martin
f1a3f8c095 Minor cosmetic tweaks for cpu attach messages 2013-03-26 20:52:29 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
martin
5cd4dadf69 Make this compile with TRAPDEBUG enabled.
Pointed out by Holm Tiffe.
2013-01-15 10:18:38 +00:00
chs
0e005595b8 fix compile problems. 2012-10-29 12:55:41 +00:00
chs
cbab9cadce split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
2012-10-27 17:17:22 +00:00
apb
f3929b106b Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
martin
607e109c16 Kernel crash dumps are not properly implemented - so do not pretend they
would exist and set dumplo to 0 if dumpsize is 0. This makes savecore
happy.
XXX - implement real dumps, most of the needed code seems to be in place
already.
2012-08-27 22:25:09 +00:00
abs
3267a6b9fe Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
  and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
2012-08-17 20:11:37 +00:00
matt
333fcdec75 Supress print fatal traps if the process is being debugged of it the signal
will be caught by a signal handler.
2012-08-02 14:03:22 +00:00
mlelstv
8ce4433821 Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
2012-07-29 18:05:39 +00:00
abs
9560c9d7a4 Sync devices with GENERIC, and include bpfilter to allow dhcpcd to work 2012-07-03 22:42:47 +00:00
abs
bd1c4855ff All apply to vax only:
- Drop KERNFS from INSTALL kernel
- Add dmesg to sysinst ramdisk
- Add 'ramdisk' target to MAKEDEV and use
- Add dhcpcd to sysinst ramdisk
- Drop old install.md script
- Misc install image cleanup (reduce diff to zaurus of all things)
2012-07-03 21:49:55 +00:00
abs
36d6d3048d - Increase MAXPARTITIONS for vax from 8 to 16, using the standard NetBSD
mechanism to ensure all existing /dev nodes continue to work
- Adjust boot block layout to fit additional partitions
- Adjust number of inodes on install media
2012-07-02 22:42:18 +00:00
abs
927d767b2b drop some blank lines - no functional change 2012-06-28 13:59:55 +00:00
abs
d58ef031eb dependent not dependend 2012-06-28 13:59:25 +00:00