Commit Graph

269 Commits

Author SHA1 Message Date
nonaka
732816bd3f Reduced INSTALL kernel size. 2016-02-16 05:14:31 +00:00
chs
2f02870f3b zero the i2c_attach_args structure before filling it in.
fixes occasional crashes in iic_attach().
2016-02-14 19:54:19 +00:00
christos
fa11e0c528 include bsd.init.mk to get Makefile.inc 2016-01-31 15:32:12 +00:00
christos
0512edd781 revert previous, we'll do differently 2016-01-23 22:28:09 +00:00
christos
0d5ae2fd97 Add -D_KERNTYPES 2016-01-23 22:20:45 +00:00
maxv
d42b2b5ae7 Remove KMEMSTATS. Normally it's ok now. 2015-09-26 11:16:12 +00:00
uebayasi
ab48703252 Print a message when creating a temporary ldscript. 2015-08-25 02:38:15 +00:00
uebayasi
db0ac56ebf Define ${LINKSCRIPT} in one place. 2015-08-24 14:04:24 +00:00
uebayasi
3b60f8ec0c Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH. 2015-08-23 08:57:24 +00:00
uebayasi
6ecada7d3b .rel/.rela should not be generated in kernels. 2015-08-22 23:49:54 +00:00
uebayasi
bb3b67b090 According to matt@, .ARM.{extab,exidx} are no longer used. 2015-08-22 23:19:55 +00:00
uebayasi
8e8896ca6f Simplify this by deciding load address at one place. 2015-08-21 03:36:32 +00:00
uebayasi
185745d477 Indent with 2 spaces. 2015-08-20 07:00:48 +00:00
uebayasi
025c56a84f Kill trailing whitespaces. 2015-08-20 06:48:25 +00:00
uebayasi
6306aff332 Use ${KERNLDSCRIPT} so it is added to ${SYSTEM_DEP}. 2015-08-19 04:33:00 +00:00
nonaka
c9e00d7df0 armfpe is gone. 2015-08-11 13:12:25 +00:00
martin
61131c0e5d Backout previous, it does not work. 2015-07-19 09:26:50 +00:00
martin
b7974da6af Provide a bit more space for the ram disk image 2015-07-17 19:32:24 +00:00
matt
c525e41f98 Declare or #define avail_start and avail_end as appropriate 2015-06-11 15:11:13 +00:00
pgoyette
37202cb966 Update device dependency information - the sysmon major device now depends on the sysmon module itself, not on the individual components. 2015-04-23 23:22:51 +00:00
joerg
9642a6c30f Use default PAGER_MAP_DEFAULT_SIZE for ARM and PowerPC, exception
acorn26. This bumps the KVA reservation from 4MB to 16MB and avoids
long hangs on my Cubietruck under IO. acorn26 is kept as it does have a
ridiculous low 32MB KVA limit.
2015-02-23 20:34:37 +00:00
nonaka
fdb1288869 Added drvctl, putter and PUFFS. 2015-02-05 14:32:31 +00:00
christos
88e5019daf merge common information (fix build) 2015-01-08 01:52:42 +00:00
christos
c182898b0d We have three sets of DTYPE_ constants in the kernel:
altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
2015-01-02 19:42:05 +00:00
manu
239cf5506d Remove unused extended attributes kernel options
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
uebayasi
d4908ddcd5 Use LINKSCRIPT. 2014-11-15 13:34:30 +00:00
manu
2cab231d44 Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
2014-11-12 10:47:20 +00:00
nonaka
2fd9bc605b Avoid "unhandled relocation of type 3 for" error when load module.
"insmod zbsdmod.o" is successful now.
2014-10-14 08:33:38 +00:00
nonaka
94ff29c8fa Apply WM8731 support patch from TOYOKURA Atsushi, arranged by me.
- SL-C700: work fine
- SL-C750: attach failed
- SL-C860: not tested
2014-09-23 14:49:46 +00:00
christos
c7032b5d9a Disable BSDLABEL and MBR DKWEDGE methods again since sysinst does not work
with wedges.
2014-09-19 15:24:24 +00:00
matt
1937568221 Don't use ${MACHINE} but zaurus instead. 2014-08-27 03:17:21 +00:00
jnemeth
ee79d5b0e4 Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
2014-08-24 07:59:22 +00:00
dholland
4acb6306f5 Systematize (and in many cases, fix) the comments on options COMPAT_NN.
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
christos
409d07743a - Enable Wedge support for MBR/BSDLABEL where it was commented out.
- Add apple partition support where it was missing
- Add comments where missing
2014-08-18 06:31:24 +00:00
joerg
a26164117a Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
2014-08-17 21:17:43 +00:00
apb
2275423cea Add "no options COMPAT_70" to all kernel configuration files that
already had "no options COMPAT_60".
2014-08-16 17:57:02 +00:00
apb
30a0368950 Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
isaki
7b2cf7659d Unify all arch/*/stand's atoi() to MI libsa.
lib/libsa/atoi.c was separated from lib/libsa/bootcfg.c.
PR/49084
2014-08-10 07:40:49 +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
martin
c7a671b4d6 Adapt to increased ramdisk size 2014-08-04 20:59:19 +00:00
martin
7cf306591b Add a few missing netbsd32_machdep.h files 2014-08-03 16:16:27 +00:00
martin
6954c566c4 Add COMPAT_NETBSD32, following the switch to eabi by default. 2014-08-03 08:53:56 +00:00
skrll
1a756f61d4 unifdef -U__OLD_INTERRUPT_CODE 2014-07-27 08:55:39 +00:00
alnsn
582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
rtr
e9c95bf579 patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
2014-06-28 09:16:18 +00:00
alnsn
be10a58478 Add sljit support to arm. 2014-06-17 06:36:39 +00:00
christos
dc14a65969 use snprintf 2014-03-26 08:02:38 +00:00
skrll
88252f7deb Remove unused variable 2014-03-08 17:05:08 +00:00
joerg
a9d09c60a9 Don't overwrite MACHINE_ARCH if it is already set. 2014-03-02 16:18:41 +00:00
joerg
56e90cb43e Typo 2014-03-01 12:40:50 +00:00