Commit Graph

25188 Commits

Author SHA1 Message Date
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
bjh21
46b21bb8a8 Fix a couple of brackets in a comment. 2001-01-18 17:05:06 +00:00
thorpej
1fa7cb5b74 Use <powerpc/psl.h> 2001-01-18 15:30:42 +00:00
pk
13e03d4b43 On V0 proms, read the `idprom' property at the root node to get to the
station's ethernet address.
2001-01-18 12:50:10 +00:00
jdolecek
c1fc5392f5 adjust ddb variable access functions to have first arch 'const', make db_[e]regs[] const 2001-01-18 10:55:29 +00:00
jdolecek
d5d431e8ae make db_[e]regs[] const 2001-01-18 10:54:27 +00:00
jdolecek
65e6340df5 adapt to recent changes of signal structures changes 2001-01-18 10:18:24 +00:00
scw
7aaf4adfb6 const'ify the 1st parameter of db_var_short() to account for the
recent "struct db_variable" change.
2001-01-18 09:49:02 +00:00
briggs
118221b2e6 Handle the TRPAD case a little better.
Also, if the so-called DMA operation is a write and ends without target-
complete set, count the data in the FIFO as residual and add that to the
amount in the counters.  Hauke Fath reports that this passes early testing
on his Quantum Viking.
2001-01-18 03:43:18 +00:00
is
72d949304b Add IPL_SOFTCLOCK, which was missing. 2001-01-17 20:53:43 +00:00
thorpej
577f2ffb1c Remove local declaration of softclock(). 2001-01-17 19:03:14 +00:00
ws
dc77af8bea Don't claim the memory for the executable from the firmware.
Some implementations seemed to do strange mappings as a result of it.
2001-01-17 15:37:06 +00:00
ws
8d2ba0ce39 Increase stack size to make this work again. 2001-01-17 15:31:04 +00:00
shin
6b177fb05c - reduce GP size (20 -> 18). 2001-01-17 10:35:08 +00:00
ender
d2d372a707 Fix softclock prototype. 2001-01-17 08:23:49 +00:00
itojun
f79137a3f1 it looks that gas configured for little endian output runs as
big endian assembler, sometimes.  explicitly have -little to specify
little endian output.
2001-01-17 06:03:54 +00:00
itojun
ef1a3ce53b the kernel for SH3-based WinCE machines (little endian), by uch.
MACHINE=hpcsh, MACHINE_CPU=sh3el.

bootloader: ftp://f77.nop.or.jp/users/uch/hpcboot/
original patch: ftp://f77.nop.or.jp/users/uch/hpcsh/

sys/sh3/sh3/md_root.c: add #ifdef MEMORY_DISK_DYNAMIC
2001-01-17 05:21:47 +00:00
fvdl
cd7c1e7cc9 The actual i386 implementation for /proc/cpuinfo. 2001-01-17 01:21:12 +00:00
itojun
d8ba6d06be procfs_machdep is per port (not per CPU). 2001-01-17 00:44:33 +00:00
thorpej
fc5dafc79b Fix a rather annoying problem where the sockaddr_dl which holds
the link level name for the interface (ifp->if_sadl) is allocated
before ifp->if_addrlen is initialized, which could lead to allocating
too little space for the link level address.

Do this by splitting allocation of the link level name out of
if_attach() and into if_alloc_sadl(), which is normally called
by functions like ether_ifattach().  Network interfaces which
don't have a link-specific attach routine must call if_alloc_sadl()
themselves (example: gif).

Link level names are freed by if_free_sadl(), which can be called
from e.g. ether_ifdetach().  Drivers never need call if_free_sadl()
themselves as if_detach() will do it if it is not already done.

While here, add the ability to pass an AF_LINK address to
SIOCSIFADDR in ether_ioctl() (this is what caused me to notice
the problem that the above fixes).
2001-01-17 00:30:49 +00:00
fvdl
c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
fvdl
0546607276 Export some variables. 2001-01-17 00:03:02 +00:00
itojun
1efb35296f do not include mmeye.h 2001-01-16 23:57:21 +00:00
sommerfeld
e8d906afaa Validate gate targets.
Fix by myself and Charles Hannum.
2001-01-16 23:32:21 +00:00
thomas
16090efe76 Let lpmatch recognice the printer. 2001-01-16 21:13:09 +00:00
itojun
a1c683863b remove evbsh3/mmeye.h. it shouldn't be necessary, or at least it has to
be renamed to something better.
XXX dreamcast/mmeye.h
2001-01-16 17:36:02 +00:00
itojun
85b6e2618d typo 2001-01-16 17:13:28 +00:00
nonaka
8492c6a9e8 Add prep installer 2001-01-16 16:53:57 +00:00
thorpej
9f5a22b3ee New syscall entry implementation based on the Alpha version
as hacked by mycroft.
- Use syscall_intern() to give a process a plain or fancy
  syscall based on ktrace flags.
- Avoid copying from the trapframe into a local array as much
  as possible.

Yields roughly 5% improvement on a 25MHz R3000 (DECstation 5000/200)
on a simple syscall benchmark.

There's still some work that can be done using __HAVE_MINIMAL_EMUL.
2001-01-16 06:01:26 +00:00
thorpej
e573dbe78c We haven't used the 4.4BSD kadb stuff for a long time; garbage
collect it.
2001-01-16 04:34:47 +00:00
augustss
46130fb7e5 Add uyap. 2001-01-16 03:38:22 +00:00
mycroft
b9e3ed1f0a Allow read-write descending memory segments (not that anybody ever uses
descending segments).
2001-01-16 01:50:36 +00:00
marcus
2e39f7eacf Added keymap for European keyboards. 2001-01-16 00:56:29 +00:00
marcus
bc9ea0aebd Dreamcast uses a different realtime clock than the builtin RTC. 2001-01-16 00:34:44 +00:00
marcus
322c255ab3 WSCONS console added. 2001-01-16 00:33:50 +00:00
marcus
839caf1064 PowerVR display driver. 2001-01-16 00:33:20 +00:00
marcus
ecb24087d2 Maple bus keyboard driver. 2001-01-16 00:33:01 +00:00
marcus
ee6259c508 Maple bus driver. 2001-01-16 00:32:42 +00:00
bjh21
f575270d81 Switch over to using the arm32 sigcontext structure.
Yes, this causes binary incompatibility.  Yes, it's Evil, Bad and Wrong.
Nonetheless, I think it's probably the least unpleasant way to get close to
binary compatibility with NetBSD/arm32, and a very much doubt there are any
arm26 binaries out there that depend on the old shape of struct sigcontext.
2001-01-16 00:29:45 +00:00
thorpej
d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
eeh
d04bab724e Implement some seblence of bus_dmamap_mbuf() and bus_dmamap_uio(). 2001-01-15 19:27:07 +00:00
sato
c1821150bb change MINYEAR to 2001. 2001-01-15 15:36:38 +00:00
itohy
f3590c636b Make it compile with "options DIAGNOSTIC" (patch from minoura). 2001-01-15 07:04:41 +00:00
thorpej
45de366b2e Rename __GENERIC_SOFT_INTERRUPTS to __HAVE_GENERIC_SOFT_INTERRUPTS,
and place the definition in <machine/types.h>.  This can now be used
as a flag to indicate whether or not <machine/intr.h> can be included
to get the generic soft interrupt API.
2001-01-14 23:50:28 +00:00
thorpej
61473e63f9 Define __HAVE_AST_PERPROC. 2001-01-14 22:32:57 +00:00
thorpej
da57125f23 Now that we won't lose signotify()'s while we're asleep, go ahead
and to signal processing in ast() again.
2001-01-14 21:22:56 +00:00
thorpej
53d2115d66 Make the astpending flag per-process. 2001-01-14 21:18:39 +00:00
thorpej
372338915a Use splnet() to block network interrupts, not splimp(). 2001-01-14 17:37:41 +00:00
thorpej
ad669fbaf1 Allocate space for mapping DMA-safe memory from kernel_map. 2001-01-14 17:36:33 +00:00
thorpej
dc9a8ec9dd Use splnet() to block network interrupts, not splimp(). 2001-01-14 17:33:48 +00:00