Commit Graph

470 Commits

Author SHA1 Message Date
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
abs
8f45a59205 Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
2012-06-05 08:44:07 +00:00
mrg
542d4ccb17 enable PUFFS and putter. 2012-05-13 07:34:02 +00:00
elad
0c9d8d15c9 Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
2012-03-13 18:40:26 +00:00
joerg
99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
matt
e2862432f7 kernelstack is declared in arm32_machdep.c 2012-03-01 17:59:37 +00:00
christos
caff4f5723 expose more for kmemuser/fix include protection 2012-02-18 16:29:36 +00:00
christos
e0ed41467d expose more to kmemuser 2012-02-17 16:01:41 +00:00
christos
01e9003fd7 add <sys/rnd.h> to fix the build. 2012-02-04 19:08:03 +00:00