Commit Graph

693 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
nonaka fdb1288869 Added drvctl, putter and PUFFS. 2015-02-05 14:32:31 +00:00
skrll 01e4054922 Remove katelib.h and references to it.
{Read,Write}{Word,Byte} macros are provided in the files that still use
them. Someone(tm) should convert them to bus_space(9)
2014-10-25 10:58:12 +00:00
matt 079445e70f Use paddr_t for msgbufphys 2014-09-13 18:09:50 +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
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
martin 6e3d6f98d8 Add missing netbsd32_machdep.h file 2014-08-04 07:06:47 +00:00
martin 6954c566c4 Add COMPAT_NETBSD32, following the switch to eabi by default. 2014-08-03 08:53:56 +00:00
alnsn 582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
alnsn be10a58478 Add sljit support to arm. 2014-06-17 06:36:39 +00:00
ozaki-r 6c0a28f612 Remove unused variable found by gcc 4.8 2014-03-11 04:17:36 +00:00
skrll 9b0dd06d44 Avoid unused variable warning by borrowing sa1_cache_clean_addr briefly 2014-03-10 14:51:15 +00:00
joerg e02d755c4d Mark cpu_reset as dead and add an explicit __builtin_unreachable for a
terminal function call for clang's noreturn diagnostic.
2014-03-02 13:27:38 +00:00
joerg f9c59ff828 Be explicit about the double register use. 2014-03-02 13:26:30 +00:00
joerg 89624fc0ba Modernize asm syntax 2014-03-01 12:48:38 +00:00
pooka 4f6fb3bf35 Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
2014-02-25 18:30:08 +00:00
matt 9e762b54d5 Trim include files 2014-02-22 19:16:06 +00:00
matt 6c558ed386 _setsoftintr is long dead. reap any leftovers from arm. 2014-02-04 18:51:16 +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
matt 88d398120c Don't include <arm/arm32/pte.h> and <arm/pmap.h>
Use the values from getassym.h
2013-08-26 15:31:44 +00:00
matt 49c834f870 Include <arm/locore.h> 2013-08-26 15:31:06 +00:00
matt aa45c3c11b Fix <arm/locore.h> lossage 2013-08-18 21:50:31 +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 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
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
jakllsch ec5ba90796 Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.
2012-09-01 18:17:49 +00:00
matt ab0a9067b6 Move things around for <arm/arm32/machdep.h> 2012-09-01 14:48:05 +00:00
abs 715998cc28 Ensure all WSDISPLAY_COMPAT_USL entries have same comment 2012-08-17 19:43:24 +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
matt b226e13dca include <arm/arm32/machdep.h> 2012-08-03 15:59:04 +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
matt 35241c054c Remove IPL_SAFEPRI 2012-07-28 23:12:52 +00:00
matt f96ef7b3c5 Remove safepri and use IPL_SAFEPRI instead. This may be defined in a MD
header file (if not, a value of 0 is assmued).
2012-07-27 05:36:09 +00:00
kiyohara fbd7a1ab43 Add '\n' to revision string. 2012-06-16 05:58:03 +00:00
skrll 6062ea05a5 Remove unused __NEWINTR defines 2012-06-10 13:15:24 +00:00
nonaka 1e92636e2f Add support kloader(4) for PXA2X0. 2012-03-31 14:02:54 +00:00
joerg 99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
nonaka 7153972ded increase kernel VM space.
fixed problem can't boot on WS011SH (probably other 128MB RAM model too).
2012-03-05 12:15:23 +00:00