bsh
10c7bfc755
split StrongArm companion chip (sacc) driver so that we can support
...
sacc on other platforms than hpcarm (evbarm for example).
codes specific to hpcarm are extracted and moved to hpcarm/dev/.
2003-08-08 12:29:22 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
bsh
fbf0aea004
add __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS to machine/types.h for
...
following ports:
acorn26, amiga, hpcarm, sparc, sparc64
This was proposed by Martin Husemann at teck-kern@ in May to properly
test whether softintr can be established for all IPL, or only for
IPL_SOFT*. OKed by acorn26, hpcarm and sparc port masters.
2003-08-06 00:43:53 +00:00
lukem
08716eae82
__KERNEL_RCSID()
2003-07-15 00:24:37 +00:00
he
609811d881
Follow up the rename of _SPL_IMP to _SPL_VM.
2003-06-23 22:18:10 +00:00
thorpej
452a8fdae2
Rename IPL_IMP -> IPL_VM.
2003-06-16 20:00:56 +00:00
thorpej
181911c6db
Don't need ARM32_PMAP_NEW option any more.
2003-05-22 05:52:18 +00:00
thorpej
d5bcde54a7
Move KERNEL_VM_SIZE into the C files where its used.
2003-05-22 05:47:04 +00:00
thorpej
1963a8521c
Use virtual_avail and virtual_end to compute the size of the available
...
kernel VM space for VM_MAX_KERNEL_BUF, and move the definition into
generic ARM code.
2003-05-22 05:25:48 +00:00
thorpej
361d0454ce
Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
2003-05-21 22:48:20 +00:00
thorpej
2a90e2a9c9
Remove redundant bounds_check_with_label() prototype.
2003-05-10 16:12:02 +00:00
thorpej
bbba90a2fb
Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives
...
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.
2003-05-03 18:25:28 +00:00
thorpej
aae7e372b7
Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass
...
the start and end of the kernel managed virtual address space to
pmap_bootstrap() in the new pmap.
2003-05-03 03:49:03 +00:00
thorpej
1dff12252d
Remove old pmap support for platforms which have fully switched over.
2003-05-03 03:29:06 +00:00
thorpej
b84ae2d2c2
Switch to the new pmap.
2003-05-03 03:19:27 +00:00
thorpej
4eeee795e8
Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case.
...
Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space
at the top of the user address that hasn't been needed for a very very
long time.
2003-05-02 23:22:33 +00:00
toshii
5d4354a6d4
Make it compile without ARM32_PMAP_NEW defined.
...
Fixes PR kern/21397 by Jachym Holecek.
2003-05-02 14:42:48 +00:00
toshii
af1587350a
Use db_machine_init.
2003-05-02 14:36:38 +00:00
thorpej
7de2c299a2
Don't define APTE_BASE if ARM32_PMAP_NEW is defined; the new pmap
...
doesn't use it.
2003-04-28 01:34:28 +00:00
ragge
69a66687f8
Call ksyms_init() instead of ddb_init() in case of
...
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
toshii
7583c79436
Make it boot with ARM32_PMAP_NEW defined.
2003-04-26 08:31:30 +00:00
toshii
20697a7696
Fix a comment; 0x40000 isn't 1MB.
...
Use KERNEL_BASE instead of 0xc0000000. No functional change.
2003-04-26 07:09:26 +00:00
toshii
7dbee668be
Some line folding cleanups.
...
Kill an unused variable.
2003-04-26 06:44:28 +00:00
wiz
d75ae2c6f5
no iic, thus no rtc@iic, thus no todclock@rtc.
2003-04-17 11:45:13 +00:00
thorpej
cc2c493bc4
Use PAGE_SIZE rather than NBPG.
2003-04-02 07:35:54 +00:00
thorpej
fd53a1c386
Use PAGE_SIZE rather than NBPG.
2003-04-02 03:51:33 +00:00
chris
42d1c259a4
duplicate the changes from arm/arm32/stubs.c's dumpsys to remove pmap_map
...
usage.
Seems this file should really be split into the hpcarm specific bits
so it shares stubs.c with the other arm32 ports.
Pointed out by Håvard
2003-03-25 10:41:39 +00:00
simonb
276fd1665c
The Double-Semi-Colon Police.
2003-01-20 05:29:53 +00:00
thorpej
23bc250391
Merge the nathanw_sa branch.
2003-01-17 21:55:23 +00:00
lukem
4bb41ae2f2
Rework how KERNOBJDIR functions; now it's always determined with
...
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.
The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.
This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.
Per lengthy discussion with Andrew Brown.
2003-01-06 17:40:18 +00:00
takemura
285679b875
Added new ioctl command, WSMOUSEIO_GETID to tell touch panel identifier
...
for tpctl(8).
2003-01-03 04:36:26 +00:00
lukem
0635de35a3
Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
2002-11-26 23:30:07 +00:00
manu
be554117a6
Removed debug messages
2002-11-07 17:26:34 +00:00
jdolecek
c82ab2eb79
now that mem_no is emitted by config(8), there is no reason to keep
...
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-26 13:50:17 +00:00
jdolecek
e0cc03a09b
merge kqueue branch into -current
...
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
bsh
7b6639153c
make atomic_{set,clear}_bit() inline for arm32 ports, and
...
add <machine/atomic.h> for them.
2002-10-19 12:22:33 +00:00
bjh21
d599df9587
Continue the " - . - 8" purge. Specifically:
...
add rd, pc, #foo - . - 8 -> adr rd, foo
ldr rd, [pc, #foo - . - 8] -> ldr rd, foo
Also, when saving the return address for a function pointer call, use
"mov lr, pc" just before the call unless the return address is somewhere
other than just after the call site.
Finally, a few obvious little micro-optimisations like using LDR directly
rather than ADR followed by LDR, and loading directly into PC rather than
bouncing via R0.
2002-10-14 22:32:50 +00:00
elric
5ab71e20b0
Added commented out cgd(4)s to GENERIC configs.
2002-10-14 18:39:22 +00:00
jdolecek
4140408d7e
g/c empty apmpoll(), use nopoll() instead
2002-10-07 21:32:10 +00:00
chs
038d3a7684
add missing protos.
2002-10-05 17:12:09 +00:00
thorpej
c5e91d447d
Use CFATTACH_DECL().
2002-10-02 04:55:47 +00:00
bsh
5880df1648
avoid warning when NAPM==0
2002-09-29 13:16:22 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
manu
e2da53c091
More definitions to get apmd building (but it is not functionnal yet)
2002-09-19 16:52:00 +00:00
manu
7f8a47f4a1
- missing bits of apm
...
- KNF
2002-09-18 19:54:47 +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
manu
e77de5cb68
Initial APM support (enough to get battery level)
2002-09-16 19:52:52 +00:00