Commit Graph

431 Commits

Author SHA1 Message Date
uebayasi 8e8896ca6f Simplify this by deciding load address at one place. 2015-08-21 03:36:32 +00:00
uebayasi 7fe7089a02 Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
2015-08-21 01:52:07 +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 68fe3f8564 Use variables where appropriate. 2015-08-20 06:20:19 +00:00
uebayasi b9025dbfb8 Tweak previous. 2015-08-19 04:53:03 +00:00
uebayasi 6901cbad00 Define the rule to generate the dynamic `ldscript', depending on
${SYSTEM_OBJS} properly.  Don't forget cleaning the generated `ldscript'.
One less ${SYSTEM_LD_HEAD_EXTRA} use as a bonus.

No binary changes in ldscript/kernel files are observed.
2015-08-19 04:15:22 +00:00
maxv b74522aae1 Remove KMEMSTATS. 2015-08-08 06:36:24 +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
skrll ecb7c9c079 Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.

Hi uebs!
2014-11-25 12:02:20 +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 31da12f323 Set dependency via KERNLDSCRIPT. Don't touch SYSTEM_DEP from outside. 2014-11-16 12:02:55 +00:00
uebayasi e49865688b Use LINKSCRIPT. 2014-11-15 14:02:19 +00:00
uebayasi 4c0e1c7bb3 Missing dependency on ldscript files. 2014-11-13 15:03:06 +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
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
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 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 7cf306591b Add a few missing netbsd32_machdep.h files 2014-08-03 16:16:27 +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
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