Commit Graph

242 Commits

Author SHA1 Message Date
nonaka
2fd9bc605b Avoid "unhandled relocation of type 3 for" error when load module.
"insmod zbsdmod.o" is successful now.
2014-10-14 08:33:38 +00:00
nonaka
94ff29c8fa Apply WM8731 support patch from TOYOKURA Atsushi, arranged by me.
- SL-C700: work fine
- SL-C750: attach failed
- SL-C860: not tested
2014-09-23 14:49:46 +00:00
christos
c7032b5d9a Disable BSDLABEL and MBR DKWEDGE methods again since sysinst does not work
with wedges.
2014-09-19 15:24:24 +00:00
matt
1937568221 Don't use ${MACHINE} but zaurus instead. 2014-08-27 03:17:21 +00:00
jnemeth
ee79d5b0e4 Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
2014-08-24 07:59:22 +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
christos
409d07743a - Enable Wedge support for MBR/BSDLABEL where it was commented out.
- Add apple partition support where it was missing
- Add comments where missing
2014-08-18 06:31:24 +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
2275423cea Add "no options COMPAT_70" to all kernel configuration files that
already had "no options COMPAT_60".
2014-08-16 17:57:02 +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
isaki
7b2cf7659d Unify all arch/*/stand's atoi() to MI libsa.
lib/libsa/atoi.c was separated from lib/libsa/bootcfg.c.
PR/49084
2014-08-10 07:40:49 +00:00
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
c7a671b4d6 Adapt to increased ramdisk size 2014-08-04 20:59:19 +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
skrll
1a756f61d4 unifdef -U__OLD_INTERRUPT_CODE 2014-07-27 08:55:39 +00:00
alnsn
582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
rtr
e9c95bf579 patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
2014-06-28 09:16:18 +00:00
alnsn
be10a58478 Add sljit support to arm. 2014-06-17 06:36:39 +00:00
christos
dc14a65969 use snprintf 2014-03-26 08:02:38 +00:00
skrll
88252f7deb Remove unused variable 2014-03-08 17:05:08 +00:00
joerg
a9d09c60a9 Don't overwrite MACHINE_ARCH if it is already set. 2014-03-02 16:18:41 +00:00
joerg
56e90cb43e Typo 2014-03-01 12:40:50 +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
69fd5d473d Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
2013-12-15 18:08:37 +00:00
joerg
13bf828c30 Use -marm for clang builds, too. 2013-12-05 16:26:04 +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
joerg
e768fe990b Use format string. 2013-12-01 02:54:53 +00:00
christos
8a6fbebf2f fix unused variables 2013-11-04 21:59:15 +00:00
christos
1b59fcd58b fix more -mno-thumb. 2013-11-04 21:30:16 +00:00
christos
c4e471c49f delete eh_frame gunk, which hopefully will make the kernel small enough to boot. 2013-10-03 23:48:34 +00:00
christos
6e8e96a525 disable more stuff. 2013-09-13 15:00:47 +00:00
matt
046aded495 Fix more <arm/locore.h> lossage 2013-08-18 21:42:16 +00:00
matt
50192497ae Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork 2013-08-15 21:41:08 +00:00
matt
6dfcb7e808 Add -fno-unwind-tables 2013-08-12 22:50:51 +00:00
he
626b3edbd1 Bump the INSTALL ramdisk by 100k so that the contents fits again.
Approved by nonaka@
2013-06-28 19:24:28 +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
5695f408d6 use KLINK_MACHINE 2013-05-02 04:22:44 +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
matt
b9022c47e4 Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
2013-05-01 22:16:15 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
nonaka
8a6a7696a3 Apply patch from steleto, arranged by me.
- Avoid chattering for SL-C7x0/860
- Add more stuck keys.
2013-03-30 08:35:06 +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
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
4ebc1e1ca3 Add "no options COMPAT_60" to all kernel configuration files
that already had "no options COMPAT_50".
2012-10-17 14:48:41 +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
abs
3267a6b9fe Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
  and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
2012-08-17 20:11:37 +00:00