Commit Graph

478 Commits

Author SHA1 Message Date
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
msaitoh
ee733058ac Remove "#options ARMFPE" 2012-12-06 06:25:24 +00:00
chs
b8c34ff8df fix device/softc split errors. 2012-10-29 12:51:38 +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
jdc
4be6ce2eeb Adapt to the changed signature of pckbc_cnattach(). 2012-10-13 17:58:53 +00:00
matt
ee6cde04ff Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed.  Default cortex to pmap_needs_fixup = 1.  But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.
2012-09-22 00:33:36 +00:00
matt
5cb635c383 Switch to the generic bounce buffer support. 2012-09-21 14:21:57 +00:00
matt
4395f61bf8 Don't use r7, use r5 instead 2012-09-03 16:35:33 +00:00
matt
b5757b6916 Rework includes and include <uvm/uvm_extern.h> for pmap.h 2012-09-01 12:15:39 +00:00
macallan
85e39273ff actually pass a working IO tag to the rest of the driver 2012-08-22 21:15:17 +00:00
matt
c901e54902 bump symtab_space 2012-08-01 22:28:10 +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
matt
a039bd91a6 Fix more -fno-common fallout.
Move more variables to common locations.
2012-07-29 00:07:06 +00:00