Commit Graph

410 Commits

Author SHA1 Message Date
skrll
df93d9da83 Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init.
Make VERBOSE_INIT_ARM work while I'm here.
2014-04-04 07:33:53 +00:00
skrll
2a8009bda7 whitespace. 2014-04-04 06:25:00 +00:00
skrll
b1f46e3ee2 Revert previous - it wasn't complete. 2014-04-04 06:04:54 +00:00
skrll
f32b3d87d2 Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init 2014-04-02 17:36:05 +00:00
matt
48aa269482 Don't map ebsabootinfo.bt_vargp if it is the same address as the vector page 2014-04-02 11:36:50 +00:00
matt
7094c090fa Defer intr evcnt_attach to cpu_configure 2014-04-02 11:35:36 +00:00
joerg
e216bba83c Clang needs a slightly larger MD image, so bump the size to 2300k. 2014-03-02 13:24:38 +00:00
skrll
62fa02fd10 Bump MD size. Verified working. 2014-02-23 13:15:12 +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
matt
fdcef2fafb Include <arm/locore.h> 2013-08-18 06:50:31 +00:00
matt
eb4fd57841 #define __HAVE_FAST_SOFTINT 2013-08-17 20:21:38 +00:00
skrll
35653ce4be Use -fno-unwind-tables when creating a.out kernels. 2013-08-17 19:57:09 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
matt
c59d3d7a2c Don't force MACHINE_ARCH to be arm 2013-06-27 01:01:08 +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
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
83d36728df Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
2012-08-16 18:22:37 +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
joerg
99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
christos
caff4f5723 expose more for kmemuser/fix include protection 2012-02-18 16:29:36 +00:00
matt
bcc257dafa Make this compile with VERBOSE_ARM_INIT.
If the AOUT magic is not ZMAGIC, assume kernel is ELF.
2012-02-06 17:51:47 +00:00
matt
24329ca30b Increase SYMTAB_SPACE (commented out).
Add commented out VERBOSE_INIT_ARM and FCOM_INIT_ARM
2012-02-06 17:51:05 +00:00
dholland
7bbf82b772 WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
2011-12-18 05:49:22 +00:00
tls
a22a3917ac The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself.  Move it to std.  This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports.  Thanks to Havard Eidnes for
pointing them out.
2011-11-22 21:24:51 +00:00
bouyer
a47e2eb758 Add getlabelusesmbr(), as proposed in
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.
2011-08-30 12:39:49 +00:00
dyoung
35546ae908 On ARM-ish ports having PCI support, use new-style <sys/bus.h>. Do not
install <machine/bus.h>.  Remove various <machine/bus.h> sources.
2011-07-17 23:46:49 +00:00
joerg
3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
tsutsui
b0f0b58563 Use common ${OBJCOPY_ELF2AOUT_FLAGS}. 2011-07-10 04:37:56 +00:00
tsutsui
feddb9cce7 Sync with src/sys/arch/shark/conf/Makefile.shark.inc rev 1.14:
> also need to strip out GCC 4.5's new .debug_pubtypes section.
> while here, minor cleanup.

XXX: probably we should have something like ${ARM_AOUT_REMOVE_SECTIONS}
XXX: in bsd.own.mk
2011-07-02 17:37:28 +00:00
dyoung
ed9977b122 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 20:26:35 +00:00
dyoung
59adf08e17 Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet.  Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
2011-07-01 17:09:58 +00:00
wiz
4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
matt
338de10a0a Some more device_t, cfdata_t, CFATTACH_DECL_NEW cleanup. 2011-06-06 16:29:14 +00:00
dyoung
225e55bc85 There's no isa/ under cats/; update Makefile to reflect that. 2011-04-08 14:58:46 +00:00