Commit Graph

281 Commits

Author SHA1 Message Date
rin
b765dc9992 Shrink the ramdisk of INSTALL kernel for zaurus in order to fit within 5MB.
Now free spaces of the main kernel and ramdisk are about 62KB and 215KB for
INSTALL, respectively.

OK christos
2017-02-08 20:11:18 +00:00
nonaka
fb19fa4c9d reduce install kernel size. 2017-01-30 02:41:12 +00:00
christos
e4cf317682 provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently. 2017-01-26 15:55:08 +00:00
cherry
e08917ef90 switch all ports to use uvm_init.c:uvm_md_init()
uvm_setpagesize() is now subsumed within this funciton.
2016-12-22 14:47:53 +00:00
christos
ef2deb33e0 wildcard speaker attachments, now that we can handle many of them. 2016-12-13 20:42:15 +00:00
christos
219b8dae14 remove VAUDIOSPEAKER for now, will be done differently. 2016-12-10 23:03:22 +00:00
nat
03783bb56a Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
2016-12-08 11:31:08 +00:00
nonaka
e6f97b52e2 remove some phy(4) from zaurus INSTALL kernel.
avoid kernel size limit...
2016-08-12 09:26:35 +00:00
msaitoh
8bc54e5be6 KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
dholland
bf8938557c PR 51200 gets in libsa considered harmful: use kgets 2016-06-11 06:58:42 +00:00
dholland
e992e1f829 PR 51196 David Binderman: simplify redundant conditional.
(yet another copy)
2016-05-31 04:14:12 +00:00
dholland
371fed6f5e PR 51195 David Binderman: simplify redundant conditional.
XXX: there are too many copies of this function floating around ("gettrailer")
2016-05-31 04:13:26 +00:00
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