Commit Graph

491 Commits

Author SHA1 Message Date
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
martin
f00316cced Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.
2014-11-25 07:42:35 +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
31da12f323 Set dependency via KERNLDSCRIPT. Don't touch SYSTEM_DEP from outside. 2014-11-16 12:02:55 +00:00
uebayasi
7c8e115825 Use LINKSCRIPT. 2014-11-15 13:41:16 +00:00
uebayasi
4c0e1c7bb3 Missing dependency on ldscript files. 2014-11-13 15:03:06 +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
snj
f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
christos
46923cbe5b fix leak 2014-09-21 15:48:29 +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
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
30a0368950 Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
2014-08-16 17:56:30 +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
6954c566c4 Add COMPAT_NETBSD32, following the switch to eabi by default. 2014-08-03 08:53:56 +00:00
dholland
9a78d593a7 "internally consistency checks" -> "internal consistency checks" 2014-07-27 03:34:41 +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
joerg
8e870b303d Bump SYMTAB_SPACE to allow clang to build this kernel. 2014-06-24 12:17:33 +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
matt
53872253af include <arm/locore.h> 2014-02-22 18:56:25 +00:00
matt
13df20be52 Deal with non-4K page sizes. 2014-02-22 18:55:53 +00:00
matt
723d94f9f2 use kenter_pa/kremove 2014-02-22 18:55:18 +00:00
matt
5d3d9da11e Put EHABI exception tables at the end of text.
provide __exidx_start and __exidx_end symbols.
2014-01-30 15:36:43 +00:00
tsutsui
8c436a9898 Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.
XXX: probabry we should have bsd.saprog.mk or something.
2014-01-12 15:26:28 +00:00
joerg
9b97293f31 Fix const use. 2014-01-02 19:00:39 +00:00
matt
a49db314d1 Bump SYMTAB_SPACE 2013-12-27 22:13:32 +00:00
joerg
8b058f850e Don't use cpsr_all/spsr_all with mrs, it doesn't take a mask. 2013-12-02 18:36:10 +00:00
christos
db0f5e00f8 remove unused variables 2013-11-06 02:41:12 +00:00
christos
d5b0045acb move code inside ifdef 2013-11-06 02:35:26 +00:00
matt
f8945ff921 Bump STMRAB_SPACE 2013-08-27 03:41:59 +00:00
martin
95493a6fed Re-add -fno-unwind-tables, otherwise eabi kernels fail to boot (bug in
objcopy?)
2013-08-22 20:03:15 +00:00
matt
f71ef68b03 Use <bsd.klinks.mk> 2013-08-21 06:24:42 +00:00
matt
db7576897d Use <arm/locore.h> 2013-08-18 07:01:45 +00:00
martin
dcdb4c97c4 Do not explicitly prevent unwind table generation 2013-08-15 12:45:06 +00:00
martin
1185a86909 Do not output unwind tables, they make no sense for the kernel.
Do not force MACHINE=arm, to allow building eabi kernels with MACHINE=earmv4
2013-08-14 14:45:12 +00:00
martin
5828e4009d Allow building of COMPAT_NETBSD32. 2013-08-14 14:43:12 +00:00
matt
029a1f3b59 Update to unified syntax 2013-08-12 17:32:03 +00:00
matt
ebc78062c4 Move stand to its own line. 2013-06-30 21:56:44 +00:00
matt
8247cf6dae Add -fno-unwind-tables
Add CPUFLAGS=-mcpu-strongarm
Add ${_MKTARGET_LINK}
2013-06-30 21:54:26 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
christos
e46f5f0078 remove obsolete networking options 2013-06-05 23:07:59 +00:00
matt
c16586211c Make all ports use a common disklabel.h with MAXPARTITIONS set to 16.
Only RAW_PART varies between ports.
2013-05-07 20:42:45 +00:00
matt
5f058922b3 This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
christos
9434c99ee1 more bogus number removal 2013-04-27 22:21:12 +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
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
matt
92b7334f0f Don't install fp.h anymore 2013-01-11 14:09:54 +00:00
matt
bcca54655d Remove FPA specific header. 2013-01-11 14:03:03 +00:00