Commit Graph

64845 Commits

Author SHA1 Message Date
thorpej
8964c35eca Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor.  Test against SONPROC as appropriate rather than
combinations of SRUN and curproc.  Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
2000-05-26 00:36:42 +00:00
tsutsui
56dfe42d8d Add epic* at pci. 2000-05-26 00:22:06 +00:00
tsutsui
5dca757b0e Swap the order of u_int16_t member in Tx/Rx descriptors
on big endian machines.

"Big endian mode" of smc83c170 actually works!
(i.e. no htole??()/le??toh() functions are needed.)
2000-05-26 00:20:26 +00:00
tsutsui
dea97be7fd Don't use bcopy() to copy u_int16_t data to u_int8_t array. 2000-05-26 00:14:41 +00:00
enami
e79a50b93f In nfs_flush, if the previous commit succeeded and we may have more
uncommitted dirty buffer, attempt to commit them.
2000-05-25 23:28:44 +00:00
itojun
72a8fb4a4b add missing #ifdef INET6, to compile without -DINET6.
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
2000-05-25 23:02:53 +00:00
thorpej
c9a7ec7a66 Add Davicom DM9102 registers. 2000-05-25 22:50:11 +00:00
thorpej
7c709cc6b4 Comment the fact that the X3201-3 requires FS|LS in the setup
packet descriptor.
2000-05-25 22:18:07 +00:00
is
0ce3451d1f Initial AmigaPPC commit.
Lots of the work was done by Adam Ciarcinsky.

Currently, this only supports CyberPPC boards by Phase 5. Blizzard PPC
expected later.

The kernel is useless but for demonstrating that it starts... especially
interupts, and most of MMU support, is not in yet. Builtin console works,
however, and you can look at the kernel startup messages.
2000-05-25 22:11:57 +00:00
jhawk
d30834ad42 Support ddb-specific nonstandard printf formats %r and %z in kprintf(),
even when not called with (flags&TODDB != 0), such that ddb print routines
can use them when printing elsewhere, such as to the message buffer.
2000-05-25 21:32:41 +00:00
thorpej
ead7f2a346 Provide some information when confirming "Write outside MBR partition". 2000-05-25 21:23:37 +00:00
is
8a6db88c1d Prepare for AmigaPPC. 2000-05-25 21:10:14 +00:00
matt
37be92c0d1 Add loadfile() support. soon to be needed by bootblocks. 2000-05-25 20:25:22 +00:00
jhawk
f3528d725d Interface change: db_printsym() takes a third argument, pr, a function
pointer indicating how to print the symbol. This allows db_printsym()
to called in places where db_printf() is not an appropriate output
function.

While straightforward, apologies in advance if I've introduced any minor
syntax errors; I was unable to test compilation this on all the affected
platforms.
2000-05-25 19:57:30 +00:00
matt
091b74891d Modify the file list for kernel to supress errors/text for certain ones. 2000-05-25 19:36:20 +00:00
is
f0d88bea57 Prepare for AmigaPPC. 2000-05-25 19:10:04 +00:00
thorpej
f4a3f5ea48 So, while the DEC chips and other clones want no FS|LS in the
setup descriptor, apparently the Xircom X3201-3 requires it.
2000-05-25 18:46:07 +00:00
is
da281d4321 Prepare for AmigaPPC. 2000-05-25 18:39:09 +00:00
mycroft
4bfbc7641d Recognize the DE-650 with another vendor/product pair and OUI. 2000-05-25 17:21:48 +00:00
thorpej
6ec6c6f90a Move common return-to-userland goo into userret(), like other ports. 2000-05-25 17:01:11 +00:00
thorpej
215a635a5b Truncate receive buffers to 4-byte boundary. Slightly modified
from kern/10198, from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
2000-05-25 16:47:18 +00:00
thorpej
2f08658512 Fix a couple of typos in debugging messages. From IWAMOTO Toshihiro,
kern/10194.
2000-05-25 16:37:33 +00:00
thorpej
05a766d42e Don't set FS and LS in the setup packet descriptor. From
IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>, kern/10194,
and confirmed with the 21040 manual.
2000-05-25 16:36:03 +00:00
mycroft
57f3751ca1 Add ipfilter-related stuff. 2000-05-25 16:33:13 +00:00
itojun
b4f15c3bf0 do not pass scoped IPv6 address notation on Host: directive, since
scope identifier is local to the originating node.
do not allow scoped IPv6 address notation in URL, if it is via proxy.
2000-05-25 15:35:51 +00:00
tsutsui
e747c390f0 Enable fxp* at pci and inphy* at mii. 2000-05-25 14:50:34 +00:00
blymn
3aa87ff1a0 Make tset export the entire termcap entry. 2000-05-25 12:53:55 +00:00
kleink
fd66188706 Use CPPFLAGS where appropriate. 2000-05-25 12:49:32 +00:00
blymn
7b14c86600 Convert telnet and top to the new termcap interface. This stops some
buffer overflows in top from ever happening.
2000-05-25 12:25:14 +00:00
fvdl
3e54d43abc Be sure to not use tagged queueing for a few commands. 2000-05-25 11:41:05 +00:00
bouyer
c9347a04a5 Regen. 2000-05-25 10:16:37 +00:00
bouyer
b063b2ec36 Separate the sheduler from the main script, allocate another DMA-safe
memory page for the sheduler. Put the main script in the on-chip RAM when
available.
Avoid a null-pointer dereference when DSA is invalid.
2000-05-25 10:10:54 +00:00
tsutsui
4a42668b31 Add fxp* at pci. 2000-05-25 09:09:28 +00:00
jdc
53a2fa3d50 We no longer meet nvi's interpretation of 'HAVE_BSD_CURSES', so comment this. 2000-05-25 06:47:53 +00:00
jdc
c1ea940db9 Send 'ks' sequence from first call to keypad(win, TRUE) only and not from
wgetch().  Don't send 'ke' sequence from keypad(win, FALSE) or wgetch().
This makes us compatible with Solaris.
Suggested by ITOH Yasufumi.
2000-05-25 06:46:26 +00:00
shin
1498143bfa add lfs_ manpages. 2000-05-25 04:20:46 +00:00
itohy
c72407329e Treat receiver overrun of MFP (clear the error).
Although the keyboard hardware seems to be designed to avoid
overrun, the errors sometimes occur.
2000-05-25 03:33:27 +00:00
itohy
61363bb1c6 Fix the problem where pressing a key at
scsibus0: waiting 2 seconds for devices to settle...
message during boot crashes the system.
This is because ite_filter() is called before init(8) opens the console.
2000-05-25 03:30:19 +00:00
simonb
52e7cddaa7 Fix kernel profiling so that it actually works:
- Add 16 bytes to the stack on entry to _mcount so we don't
   overflow it.
 - Use inline interrupt {dis,en}abling instead of calling
   profiled function in locore.
2000-05-25 03:07:10 +00:00
mason
af43639ded Fixed typo in ses comment - devies -> devices 2000-05-25 01:34:18 +00:00
msaitoh
127c1a76e9 fix the null pointer access bug when arg2 (char **endptr) == NULL 2000-05-25 01:22:41 +00:00
matt
2b6f5625e6 Fix a new nits. we never the dev entries for cd0 or cd1. opps. be
consistent with terminal types.
2000-05-24 23:20:46 +00:00
thorpej
4f92d2cd54 Update from Bill Studenmund <wrstuden@zembu.com>:
- Note that the FreeBSD driver distributed by Cyclades served as
  documentation on how the board works.
- Use the wait-until-pending-I/O-completes-before-loading-parameters
  command in czttyparam().
- Pass BREAKs up to the tty later properly.
- Garbage-collect some debugging code.
2000-05-24 22:26:35 +00:00
perseant
7438415348 Add man pages for LFS syscalls 2000-05-24 21:54:59 +00:00
eeh
ca743bac9a Use the PCI function code to distinguish simba bus A from bus B instead
of the current hack.
2000-05-24 20:27:52 +00:00
eeh
c965d1deec If we have sparse PCI spaces we can run out of IO map space when mapping
PCI config space.  Since PCI config space is mostly used by PCI bus drivers,
we won't actually map it in.  Instead we use MMU bypass ASI accesses to read
and write PCI config space.
2000-05-24 20:24:58 +00:00
ragge
e256727fb2 Four more instructions makes it possible to boot old kernels also. 2000-05-24 19:53:11 +00:00
is
ebc6483ef9 missed one line when converting m68k asm() to macro calls. 2000-05-24 19:36:29 +00:00
soren
a20a3b38fd Appease gcc. 2000-05-24 18:42:03 +00:00
thorpej
e1284ac3c2 Add a comment before the call to preempt() to be consistent with
other ports (i.e. I just added the comment, and arm26 already used
preempt).
2000-05-24 17:29:41 +00:00