Commit Graph

60 Commits

Author SHA1 Message Date
chs cbc396ce30 work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
2004-09-13 09:39:40 +00:00
manu 6e3c639957 IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
2004-09-04 23:29:44 +00:00
thorpej d1e0f4a2a0 Add openfirm. 2004-08-29 17:40:12 +00:00
reinoud b4f746a195 Increase space reserved for symbol space. As of the kernel i build it
needed at least a 255344 bytes while 242000 was reserved. Bumped it a few
kb higher to reduce symbol table fill too soon again.
2004-08-25 12:24:48 +00:00
atatat f68a9f1ff2 Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
2004-07-15 03:53:44 +00:00
drochner af0dfbe584 don't need md timing functions for joystick anymore 2004-07-08 22:07:47 +00:00
abs bd8eb3b5ed Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
christos fbed76869e add procfs, fdesc and nfs server. All other generics have it. 2004-06-25 02:12:59 +00:00
christos f385b3f45a add posix semaphores and compat-2.0 2004-06-25 02:06:08 +00:00
itojun 596aec9a47 have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
2004-06-22 14:09:49 +00:00
christos c22e4ed8cd ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM 2004-06-18 15:02:29 +00:00
christos 0399e839cf Add pseudo-device ptm on all the generic flavored kernels. 2004-06-16 15:07:39 +00:00
matt 1b0d774789 Up symtab space. 2004-04-10 07:41:06 +00:00
matt 311f70b5ad Add COMPAT_LINUX and enable NULLFS. 2004-03-13 18:51:43 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
jdolecek 2d609e233b need lpt_ofisa_machdep.c also for atppc attachment 2004-02-10 16:43:22 +00:00
martin 8198b105e1 Bump SYMTAB_SPACE, we need more nowadays. 2003-12-11 08:42:20 +00:00
jmc 695a2a2f9f Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
2003-12-10 02:04:00 +00:00
jdolecek 7b569bb154 g/c all SCSI-only device majors - shark doesn't have SCSI and isn't
expandable
pointed out by Matthew Green
2003-10-24 10:29:12 +00:00
jdolecek 821f341675 add necessary majors for miscellaneous devices, such as missing
wscons/scsi/isdn devices
2003-10-24 08:18:36 +00:00
jdolecek ef5bb330f5 reassing majors for crypto and pf to use the newly defined MI major
range
2003-10-10 22:42:39 +00:00
jdolecek 4e915c9ccd update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
2003-10-10 21:21:25 +00:00
bouyer a8b5ae01dc Add atabus. 2003-10-08 11:14:36 +00:00
jdolecek e6286b949a Add some framework for MI assignment of device majors - add sys/dev/majors
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.

Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.

Follows recent discussion on tech-kern@
2003-10-05 08:04:24 +00:00
matt 99c08a490f For GCC 3.3.1, need to remove .comment too. 2003-09-21 00:19:31 +00:00
chris cfb7a98211 Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
SA_SIGINFO work.
2003-09-13 13:30:01 +00:00
itojun 4440262659 create /dev/crypto 2003-08-22 05:06:22 +00:00
itojun 3f14c71f75 reserve cdev major # for PF. ok'ed by technical-exec 2003-07-27 14:17:57 +00:00
uwe a8c0780b08 Use CPUFLAGS instead of COPTS to pass -march=armv4 -mtune=strongarm. 2003-06-25 01:07:55 +00:00
thorpej 181911c6db Don't need ARM32_PMAP_NEW option any more. 2003-05-22 05:52:18 +00:00
he 319f2b1f1a Back out the previous, removing the wsfont pseudo-device added as part
of resolving PR#18388.  The shark port isn't quite wscons-ready yet.

OK'ed by thorpej.
2003-05-07 14:46:08 +00:00
gmcgarry 9c89a57de0 Add wsfont. Addresses PR#18388. 2003-05-04 01:27:53 +00:00
thorpej dd8a20afe7 Make the new pmap standard on the shark. 2003-05-03 00:47:04 +00:00
ragge d8c8fa8111 Add pseudo-device ksyms. 2003-04-26 14:10:04 +00:00
ragge 766d04f56a Add ksyms device major. 2003-04-25 21:10:46 +00:00
thorpej bbef46a7e9 Some ARM32_PMAP_NEW-related cleanup:
* Define a new "MMU type", ARM_MMU_SA1.  While the SA-1's MMU is basically
  compatible with the generic, the SA-1 cache does not have a write-through
  mode, and it is useful to know have an indication of this.
* Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at
  compile time.  We evaluate it like so:
  - If SA-1-style MMU is the only type configured -> 1
  - If SA-1-style MMU is not configured -> 0
  - Otherwise, defer to a run-time variable.
  If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time
  check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly
  code can include the necessary run-time support.  PMAP_INCLUDE_PTE_SYNC
  largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve
  included with the original new pmap.
* In the new pmap, make pmap_pte_init_generic() check to see if the CPU
  has a write-back cache.  If so, init the PT cache mode to C=1,B=0 to get
  write-through mode.  Otherwise, init the PT cache mode to C=1,B=1.
* Add a new pmap_pte_init_arm8().  Old pmap, same as generic.  New pmap,
  sets page table cacheability to 0 (ARM8 has a write-back cache, but
  flushing it is quite expensive).
* In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to
  C=1,B=0, since the write-back check in generic gets it wrong for ARM9,
  since we use write-through mode all the time on ARM9 right now.  (What
  this really tells me is that the test for write-through cache is less
  than perfect, but we can fix that later.)
* Add a new pmap_pte_init_sa1().  Old pmap, same as generic.  New pmap,
  does generic initialization, then resets page table cache mode to
  C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.
2003-04-22 00:24:48 +00:00
scw b84e9438dd Enable ARM32_PMAP_NEW on NetBSD/shark. 2003-04-18 11:11:51 +00:00
perry 7b8af330e0 Add missing COMPATs
From PR port-shark/20130 from Todd Vierling
While I'm in there, sort them the other way, to match other ports
2003-04-02 00:28:25 +00:00
martin 008754f2e6 Increase symbol table space - it did not fit anymore. 2003-02-21 08:55:37 +00:00
thorpej c2e9de7319 Don't define -D${MACHINE} in Makefile.arm. Instead, let platforms
that care define it themselves.  Note that evbarm NO LONGER defines
-D${MACHINE}.
2003-01-03 02:34:48 +00:00
wiz ea577b210e Debugging is usually spelled with three gs. 2002-12-22 13:50:35 +00:00
thorpej 75ea1c1fd8 Use a linker script to craft and ELF image that will work
when copied to a.out via objcopy.  Stop using that frightening
elf2aout.sh shell script.
2002-11-21 01:38:41 +00:00
elric 5ab71e20b0 Added commented out cgd(4)s to GENERIC configs. 2002-10-14 18:39:22 +00:00
jdolecek 74c4946bb2 include shark/conf/std.shark, shark/conf/std.arm32 doesn't exist 2002-10-10 09:17:05 +00:00
provos 2f7a0aaac8 add SYSTRACE; approved perry. 2002-10-06 02:11:54 +00:00
elric d19d268a95 assign majors for raw and cooked cgd's. 2002-10-04 18:28:24 +00:00
martin 2c7b00b18f Add SYMTAB_SPACE option to make DDB actually useable. 2002-09-27 10:08:19 +00:00
lukem 3ea2e21f82 enable USERCONF by default; it's small and extremely useful to have available. 2002-09-18 02:43:53 +00:00
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
abs eb73becae2 Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
2002-07-05 13:40:10 +00:00