Commit Graph

20231 Commits

Author SHA1 Message Date
drochner 671919edee add consistency check whether the end mark does appear before the
reported number of nodes
1999-11-30 15:54:55 +00:00
drochner ab0574c601 activate "coma bug" workaround for 6x86MX too.
Closes PR port-i386/7538 by darkstar@pgh.net.
1999-11-30 15:22:52 +00:00
uch 8b86f850f6 make platid_test compile again. 1999-11-30 15:11:00 +00:00
drochner b678bca85b Allow loading of kernels larger than (16-1)M.
XXX This is a stopgap fix which can be pulled up to 1.4.x. It only replaces
the arbitrary 16M boundary by an arbitrary 128M boundary. A clean solution
would need changes to the mi loadfile.c parts.
1999-11-30 12:02:13 +00:00
shin ccba32ca1d reorder instructions in mips3_TLBFlush() to avoid coprocessor hazard
for R4600/R4700/VR4100.
1999-11-30 11:53:24 +00:00
mrg b27ecf75a9 oops; remove part of the previous that was not intended (yet). 1999-11-30 07:56:28 +00:00
nisimura bf9cfe90d3 Fix 3max DC cookie value; should make 3max serial port working. 1999-11-30 01:29:44 +00:00
simonb a23dac53d4 Remove our own atoi() and use libkern's strtoul(). 1999-11-30 00:54:43 +00:00
thorpej 89ae0bf93c Inline several things from pal.s:
- alpha_rpcc(), alpha_mb(), alpha_wmb() -- these are instructions, and
  we win by inlining them: rpcc is generally used for profiling, and
  the memory barriers really should execute as quickly as possible with
  minimal side-effects (like additional loads/stores required to call the
  functions!)
- alpha_pal_imb(), alpha_pal_rdps(), alpha_pal_swpipl(), alpha_pal_tbi(),
  alpha_pal_whami() -- these are PALcode ops.  We must specify some register
  clobbers for these.

We have a very decent size savings as a result.  My test system:
text    data    bss     dec     hex     filename
2671724 235848  377016  3284588 321e6c  /netbsd.bak
2617708 235736  377016  3230460 314afc  /netbsd

Most of this comes from fewer register saves/restores around spl*() calls
(now that alpha_pal_rdps() and alpha_pal_swpipl() are inlined).

Note that alpha_pal_rdps() and alpha_pal_swpipl() remain in pal.s to
maintain binary compatibility with LKMs that may use spl*() functions.
1999-11-30 00:42:46 +00:00
thorpej 871b54b6d2 Vector to a local function for the IMB IPI. 1999-11-30 00:26:55 +00:00
tron 8f0521d4a1 Increase packet counter before calling the input routine like all the
other ethernet interface drivers do.
1999-11-30 00:05:56 +00:00
tron a260687a14 Increase packet counter if a packet is received. This might fix
PR port-arm32/8527.
1999-11-30 00:02:51 +00:00
simonb 9c807e7a3c Move strtoul.c (via CVS repo copy) to libkern. Also sort prototypes
in libkern.h and sources in arm32/Makefile.inc alphabetically.
1999-11-29 23:12:56 +00:00
thorpej 18e6d486f4 Add an IPI which causes the target CPU to perform AST processing when
it returns to userspace.
1999-11-29 20:00:04 +00:00
thorpej 7f1ccd57ea Add a way to get/set a private pointer in the shared interrupt header. 1999-11-29 19:59:19 +00:00
thorpej df2cf70865 - Fix a botch in the IPI bitmasks (they were right-shifted by 1), and
add an IPI which causes the target CPU to perform AST processing when
  it returns to userspace.
- Add a way to get/set a private pointer in the shared interrupt header.
1999-11-29 19:58:39 +00:00
thorpej 68fb3dc662 Switch to the new pmap_remove() and nuke the old one. A simple fork/exit
benchmark shows at least a 10% improvement in the tearing down of a large
address space.
1999-11-29 18:37:28 +00:00
uch e3285cc801 commet out non-working code. 1999-11-29 17:23:04 +00:00
uch 616ab352ae tx39.c (tx_cons_init): fb_cnattach moved to tx3912video.c (tx3912video_attach): 1999-11-29 17:21:21 +00:00
ad 0daccde651 - When kbdMapChar() was modified to support returning multi-character
mappings, it broke Ctrl-Space; fix that.
- Clean up lk201.c a little.
1999-11-29 15:02:38 +00:00
pk a24fb44ddf Pull header files from `syssrc' since we use libsa/loadfile(). 1999-11-29 14:49:12 +00:00
itojun 726970dc8c add cnw* into pcmcia section. 1999-11-29 12:56:25 +00:00
uch 878e985d08 Some TX39 I/O region lies over 512MByte. KSEG2IOBUFSIZE reserves PTE to map there. 1999-11-29 11:14:49 +00:00
uch 8b01b15437 TX3912/22 specific register defines. 1999-11-29 11:13:11 +00:00
uch 347ea4cd91 TX3912/22 support. ENABLE_MIPS_TX3900 enables it. 1999-11-29 11:12:12 +00:00
shin ce5757bb6b fix Fujitsu INTERTOP CX300 keymap. 1999-11-29 02:20:20 +00:00
shin 82cd5e5ce2 add Fujitsu INTERTOP CX300. 1999-11-29 02:20:11 +00:00
is 4905974fd1 Very initial support for booting PPC kernels on P5 boards. 1999-11-28 22:10:47 +00:00
is 14ed33e42e Fix typo (&& -> &). 1999-11-28 20:30:57 +00:00
thorpej 94552ad5d6 - Use alpha_atomic_{add,sub}_q() to update the pmap statistics. We now no
longer need to lock the kernel pmap in pmap_kenter_pa() and pmap_kremove().
- Since locking the kernel pmap in interrupt context is no longer required,
  don't go to splimp() when locking the kernel pmap.
- Implement a new pmap_remove() function, not yet enabled by default.  It
  is structured like pmap_protect, and should be *much* faster.  This was
  actually written quite some time ago, but never committed because it
  didn't work properly.  Given the recent bugfix to pmap_protect(), "duh,
  of course it didn't work properly before...".  It seems to work fine now
  (have done several builds and run the UVM regression tests using the new
  code), but it is currently run-time optional so that some performance
  measurements can be easily run against the old and new code.
1999-11-28 19:53:11 +00:00
thorpej 1710fad449 Implement atomic addition and subtraction on quadwords. 1999-11-28 19:47:13 +00:00
takemura f972baf686 Add definition for VR's special instructions. 1999-11-28 12:11:45 +00:00
scottr 3029c58799 Use a bitwise-and to test CC_IPURGE, not a logical-and. This could have led
to flushing the entire cache unnecessarily.
1999-11-28 11:10:47 +00:00
sato 943c083676 PowerOff code. (not yet completely)
'halt -p' availavle.
	not yet all power off...
	cannot exit poweroff mode. (reset required..)
1999-11-28 10:59:05 +00:00
scottr 86a8f1d201 Sync cachectl1() implementation with other m68k ports. 1999-11-28 10:36:56 +00:00
scottr 99d3468790 Don't use the plural form of the word "target" if there is only one! 1999-11-28 10:10:51 +00:00
scottr dc2663bf69 If there is only one ADB device, it will do us no good to avoid it
when guessing which device to poll next.  Resolves PR 7407, but the
bug is a lot older than that.
1999-11-28 10:07:34 +00:00
simonb 465c7f924f Don't use magic numbers! Use XINE_REG_IMSK and KMIN_REG_IMSK. 1999-11-28 08:29:00 +00:00
simonb 71cc75d706 Don't check for a write to write protected label if we are writing to
the raw partition.
1999-11-28 06:28:37 +00:00
simonb fcab0ccebb Tidy up the formatting of a comment. 1999-11-28 06:06:21 +00:00
simonb d805fbc3b6 Check bounds against RAW_PART instead of partition 0. 1999-11-28 04:55:39 +00:00
takemura 62009df24f Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
1999-11-28 04:29:37 +00:00
simonb 1fcc860815 Enable new pmax bootblocks. 1999-11-28 03:17:11 +00:00
simonb bc7deba55e Bump bootblock version number to 1.2. 1999-11-28 00:40:16 +00:00
simonb 70cbfb6fcd Add CPPFLAGS and set LDSTATIC to -static. 1999-11-28 00:39:30 +00:00
mark 52dcf041ef Remove the ISP scsi driver. With the removal of the Qlogic microcode
it is no longer possible to setup these devices thus the driver will not
work.
1999-11-28 00:34:17 +00:00
simonb 50b389d4a6 Bootblock installer - based heavily on the alpha installboot but with
some significant differences:
 * Because the pmax bootblocks don't have a fixed load address, we
   need to keep the first stage blocks in /usr/mdec with some sort
   of executable format that includes load and transfer address.
   Since ELF is native, /usr/mdec/bootxx_* are in ELF format and
   installboot (in loadbootstrap.c) needs knowledge of the ELF format.
 * Support for installing the first stage at an arbitiary position.
   -a adds the first stage to end of the "disk" (only on works on
   regular files) and -i <block> puts the first stage at ISO
   filesystem block number <block> for use in multi-arch boot
   CDs (see installboot(8) for more details and an example).
 * No checksum support.  This should really be done in some sort of
   MI way rather than duplicating code between ports' installboot.c
1999-11-28 00:32:29 +00:00
simonb b96c403e14 New alpha-style first stage bootblock Makefiles. 1999-11-27 23:59:15 +00:00
simonb b013ce2a48 Updated for new Makefile.booters and stand/ layout. 1999-11-27 23:57:42 +00:00
simonb 6fb34407ab Update for new alpha-style bootblocks - a good deal of this is based on
the alpha stand/Makefile.bootprogs and stand/Makefile.bootxx.
1999-11-27 23:55:23 +00:00