Commit Graph

49 Commits

Author SHA1 Message Date
thorpej
b9fffe1967 Allow bus front-end to provide both ioctl and mmap entry points,
and also the wsdisplay type.

Based on changes from Simon Burge <simonb@wasabisystems.com>.
2001-09-14 01:10:11 +00:00
matt
7ce6450eac Add a merged <pcb.h> for arm26/arm32. 2001-09-03 19:20:27 +00:00
atatat
97c67a9bae Add bridge pseudo devices to GENERIC configs 2001-09-01 21:52:23 +00:00
chris
191de4d242 Checking a whole host of pmap changes:
Improved locking (not that we actually use it on a uniprocessor, but one day :)
Removed unneeded splvm's
tweaked pmap_clean_page code to only flush the cache if the page is mapped in the current pmap  (based on diff from richard E)
Adopted pv entry allocation mechanism from i386.
Laid framework for returning ptp's when we've finished with them rather than holding onto them till the process exits.
ptp's are now allocated with a uvm object for the pmap, means that we can walk a list to free them off in pmap_release, until they get freed off by pmap_remove.

Also implemented a page zeroing function when the processor is idling.  Note that hpcarm may wish to disable this.

I believe this code to be stable, if anyone has any problems please shout up.
2001-08-11 13:20:19 +00:00
matt
691dacb39a This is needed anymore and should have been removed a while ago. 2001-07-29 00:35:41 +00:00
matt
ed87139e40 Remove opt_footbridge from conf.c
Use dev/ic/i8253reg.h instead of private timerreg.h
2001-07-29 00:34:44 +00:00
chris
27f96e8440 Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc. 2001-07-28 13:28:03 +00:00
wiz
9654501023 bcopy -> memmove, bzero -> memset, bcmp -> memcmp 2001-07-22 15:26:47 +00:00
wiz
6c8f415983 bzero -> memset 2001-07-22 15:23:53 +00:00
matt
24a2b394aa Make <sysarch.h> valid for all arm platforms. Adjust/remove port-specific
includes as required.
2001-07-14 00:23:09 +00:00
abs
01b024cd5b Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
2001-07-08 16:32:12 +00:00
darcy
ce0ec1e208 Add System V semaphore resource limits to each GENERIC file that has an
option for System V semaphores.  It appears that there are no overrides
in the code and each file has the following added.

 options    SYSVSEM     # System V semaphores
+#options   SEMMNI=10   # number of semaphore identifiers
+#options   SEMMNS=60   # number of semaphores in system
+#options   SEMUME=10   # max number of undo entries per process
+#options   SEMMNU=30   # number of undo structures in system
 options    SYSVSHM     # System V shared memory

If anyone thinks that this is incorrect for any of these files, please
correct it.

Note - the i386 port was not forgotten.  It was done separately.
2001-06-30 11:00:31 +00:00
bjh21
3622d4e282 Add <arm/endian.h> and remove the cats, dnard and netwinder versions, since
they're all the same (a redirect to <sys/endian.h>).
2001-06-23 12:20:27 +00:00
chris
2f52c6af4f Remove commented out reference to EBSA missed in previous change. 2001-06-21 23:11:48 +00:00
bjh21
cb36bacea5 Merge arm32/dev/bus_space_notimpl.S and hpcarm/hpcarm/bus_space_notimpl.S
into arm/arm/bus_space_notimpl.S.  They were identical anyway.

This file has no excuse for being in assembler, but I'll leave that for another
day.
2001-06-18 22:26:15 +00:00
bjh21
80c5d7ab99 Move <arm/arm32/bus.h> to <arm/bus.h>, since it looks like it's going to be
necessary on arm26 as well.
2001-06-18 21:37:32 +00:00
thorpej
5523a584c5 HZ -> hz 2001-06-05 05:12:18 +00:00
mrg
67afbd6270 use _KERNEL_OPT 2001-05-30 11:57:16 +00:00
bjh21
7d9a4dbad7 Move blockio.S from sys/arch/arm32/arm32 to sys/arch/arm/arm, since I want to
start using it on arm26.

hpcarm gets to keep its own version, since it's not identical and I haven't
got an hpcarm box to test.
2001-05-29 23:03:20 +00:00
mrg
3783ca5d30 define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
2001-05-29 02:20:20 +00:00
matt
c2214aaf3c Remove includes that only include <arm/*.h>. These are now picked up
automatically when making kernels. (to be submitted).  Next rev will
eliminate those includes that include <arm/arm32/*.h>
2001-05-09 22:30:43 +00:00
matt
bd9a11ee56 Populate ofw subtree. 2001-05-09 16:08:43 +00:00
matt
16db09f9f6 Add isa_machdep.c for dnard 2001-05-09 15:58:50 +00:00
matt
77666e6c72 Populate dnard/dnard. 2001-05-09 15:58:07 +00:00
matt
0cd5b27a79 Populate dnard/include 2001-05-09 15:40:54 +00:00
matt
a0b5b1f2ba Cleanup and make accurate to current dnard status. 2001-05-09 15:20:49 +00:00
matt
a9dceff4e1 add cpu ofbus attachment. (dnard has no mainbus). 2001-05-09 15:19:00 +00:00
matt
86fff9f3e8 Use the common arm32/pcb.h. Rearrange db_machdep.h to get definitions
before declaring functions.
2001-05-09 15:17:45 +00:00
matt
879ab84d00 Modify this for dnard (remove monitor stuff). 2001-05-09 15:16:24 +00:00
bjh21
6d4648fa03 Move "defopt PMAP_DEBUG" into files.arm, since it's used by code in arch/arm. 2001-05-06 18:31:14 +00:00
bjh21
f9087c439b Move cpufunc stuff from arm32/arm32 to arm/arm. The only change involved is
to add recognition of the SA-1100 and SA-1110 for compatibility with hpcarm
(which is now using this code as well).
2001-05-06 18:01:42 +00:00
kleink
f06533a1ee Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837 Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
a7c20e5788 Add definitions of C99 integer constant macros. 2001-04-14 22:38:33 +00:00
kleink
7affdab52e Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
toshii
300d398485 Move references to arm/arm/disksubr*.c from files.arm to
files.{arm26,arm32,dnard}.
2001-03-14 14:39:45 +00:00
matt
b7cd0eeaac Move arm32/arm32/ast.c to arm/arm32/ast.c 2001-03-06 07:52:35 +00:00
matt
a4ee61bc1e eliminate a lot stuff that's not needed. 2001-03-04 20:45:03 +00:00
matt
eed23d4b3c Fix EXEC_ELF to EXEC_ELF32 2001-03-04 07:11:41 +00:00
matt
3c79bccb29 Need one of these. 2001-03-04 06:06:57 +00:00
matt
3171013cfe More merging. 2001-03-04 05:55:43 +00:00
matt
d2716435ef More includes for <arm/*.h> 2001-03-04 05:52:58 +00:00
matt
92e92121ab Use shared arm/arm32/sysarch.h 2001-03-04 03:33:50 +00:00
matt
b997b57700 Use shared arm32 pmap.h 2001-03-04 03:31:32 +00:00
bjh21
4b483d7606 Move "options ARMFPE" to files.arm, so generic ARM files can use it. 2001-02-27 17:56:31 +00:00
bjh21
66094acb2a opt_cputypes.h is now provided by files.arm. 2001-02-26 13:26:14 +00:00
matt
416614582a More fill-in 2001-02-26 03:09:23 +00:00
matt
fff9126df5 Add some of the common files. 2001-02-26 02:57:48 +00:00
matt
ff7aabff92 Begin to flesh out the DNARD (aka Shark) port. 2001-02-26 02:49:24 +00:00