Commit Graph

80385 Commits

Author SHA1 Message Date
ross 26882092f4 o Deal with stray machine checks
o Add for alpha a security-sensitive rate-limiting printf(9) wrapper based
  on ratecheck(9):  void rlprintf(struct timeval *t, const char *fmt, ...);
2001-05-14 19:56:22 +00:00
matt 0c779d0a01 Use the LIST_NEXT & LIST_FIRST macros instead of refering to
le_next & lh_first.
2001-05-14 19:50:43 +00:00
ross f62f237fde Fix new DEBUGLIST feature. 2001-05-14 19:49:03 +00:00
fvdl faa28e2580 Lock vp in nfs_link while we're busy with it (doing VOP_FSYNC, etc). 2001-05-14 18:51:33 +00:00
jdolecek 049f74e997 Back off previous and do differently:
Ensure that the <readline/history.h> link to <readline/readline.h> is
installed too for 'make includes'. Also, avoid creating obj dir.
This is finally real fix for lib/12929.
XXX Is this right?
2001-05-14 18:39:14 +00:00
drochner e047259a1f Initial import of the known working kernel bits for the NetBSD/cesfic
port. cesfic is a VME board with one or two mc68040 processors. See
the README file for details.
The port is working well with a.out userland, there are some problems
with ELF still, like applications running out of memory where it is not
expected. Some parts, in particular the pmap (which was taken from hp300
four years ago), need updating, but this is easier done within the NetBSD
CVS tree.
2001-05-14 18:22:58 +00:00
matt 4eaed60c97 Add IP32 2001-05-14 17:59:22 +00:00
matt 50522d3e8f Add null ip32_bus_reset. Add cpu_intr_establish which calls
crime_intr_establish.  XXX cpu_intr_establish needs to have the
"normal" intr_establish arguments.
2001-05-14 17:56:36 +00:00
matt 4cf3bc7ebc Define splserial to be the same as spltty(). 2001-05-14 17:55:03 +00:00
toshii c939f00e98 Abandon disabled_mask and spl_mask, and use only current_spl_level to
manage interrupt masking.

This change is necessary for straightforward implementation of coming IPL
support for cascaded intrs, and it should not impair performance.
2001-05-14 16:19:30 +00:00
fredette 1ef476f4a4 As a side-effect of the ELF conversion, the msgbuf
can now be 8K large.  Removed more 68881 code that
is only useful if you have the real silicon, which
the 68010 never will.
2001-05-14 15:36:42 +00:00
fredette 9ec520c479 Now, instead of swapping in and out the PROM's segment zero,
swap in and out the mappings for virtual pages zero through three,
which are what the PROM really uses.  This is tied to the
move to ELF and the low memory usage changes.
2001-05-14 15:12:39 +00:00
fredette b49df54c83 One bonus of moving to ELF is that the boot loader on the sun2
now loads the kernel into physical memory at the linked address.
So we link the kernel a little lower virtually, but the bootloader
actually will load it higher in physical memory than before.
This allows us to quadruple the size of the msgbuf to 8K, and
we also shuffle around tmp_vpages and the temporary stack.
2001-05-14 15:07:23 +00:00
fredette d36a2c2284 Made changes to support ELF. Highlights include:
To find the kernel symbol table, instead of expecting
the old a.out struct exec from locore.s, use the
ELF headers found after the kernel text.
2001-05-14 15:00:28 +00:00
jdolecek ef163d60fa Trap also SIGHUP and SIGQUIT. Suggested by Jim Bernard & Christos
some time ago.
2001-05-14 14:58:59 +00:00
jdolecek 2fa8f0b58b Fix the example to include leading ':'.
Fixes bin/12396 by Jim Bernard.
2001-05-14 14:55:29 +00:00
fredette f7c1abe426 Many changes to support ELF. Highlights include:
Added % to all register names.  The boot loader now
loads us exactly where we're linked, so no PIC or
remapping funny business.  Removed more 68881 code
that is only needed with the real silicon, which
a 68010 will never have.
2001-05-14 14:44:11 +00:00
ragge 74d7e1ecfa Write support for TU58 tapes written. 2001-05-14 14:43:45 +00:00
jdolecek 6c225c676c Compact the BIOS CFG printout 2001-05-14 14:14:09 +00:00
itojun 498fdebcd7 drop multi destination mode (IFF_LINK0). 2001-05-14 13:35:20 +00:00
leo b38e85279e Allow attachment of a pc-keyboard at console attach time. 2001-05-14 13:18:47 +00:00
leo 6f308f43e8 Add wscons related includes. 2001-05-14 13:10:45 +00:00
leo b522de8af5 Adapt for the Milan. 2001-05-14 11:58:30 +00:00
leo 4eec72908c Regen. 2001-05-14 10:41:03 +00:00
leo f284e82b99 Add (ws)console stuff. 2001-05-14 10:35:30 +00:00
jdolecek 85c02ac331 epintr(): eliminate write-only variable 'addrandom' 2001-05-14 09:28:49 +00:00
scw 94225b1490 port-mac68l/12931 by Dave Huang:
Add an itepoll() function. This one slipped through my recent sweep
of line-disciplines...
2001-05-14 09:27:06 +00:00
wiz ce7170d77d Remove bpp before re-creating it. port-sparc64/12934 by John Heasley. 2001-05-14 09:11:10 +00:00
jdolecek 6ff7de5716 remove unneeded #includes, fix typo 2001-05-14 08:01:23 +00:00
mbw 4d1ddf083c macppc/hardware:
define what "boot media" and "distribution media" mean

macppc/install:
corrected the text in example of booting system
corrected partition number to use in example of booting from HFS partition
added example of how to use MacOS X to print partition table using pdisk

macppc/prep:
actually drive setup 1.8.1 (ships with MacOS 9.0) works too
actually describe what netbsd.ram.gz is (installation kernel)

common/postinstall:
macppc uses vt100 for console, not vt220
describe how to mount root filesystem to edit /etc/rc.conf
2001-05-14 07:46:56 +00:00
jdolecek 6fc3f969bf Use <bsd.inc.mk>, instead of <bsd.prog.mk>, so that the readline.h header
is installed during the 'make includes'.
Fixes lib/12929 by Martin Husemann.
2001-05-14 07:41:30 +00:00
jdolecek 1f7c685ce3 remove //-commented debugging stuff 2001-05-14 07:35:33 +00:00
jdolecek 497bb809df do not use the synchronous read mode for MCA 3c529 2001-05-14 07:03:50 +00:00
jmc 61ca5f641b Remove ackcb. It's a duplicate of existing functionality. 2001-05-14 06:51:36 +00:00
jmc 98139fa8b9 Make sure and zero out the malloc'd abufs before using them. 2001-05-14 05:46:41 +00:00
sommerfeld c93ef42f8b Mark "dependall" rule with .MAKE since it invokes a sub-make. 2001-05-14 03:20:10 +00:00
ichiro 7f2de75450 Corega FEther PCC-TXD works fine. 2001-05-14 01:44:42 +00:00
ichiro 9a107674e5 regen 2001-05-14 01:43:42 +00:00
ichiro 70f4199532 add product Corega FEther PCC-TXD 2001-05-14 01:41:16 +00:00
mbw f28c47d9e5 general clean-up. rearrange a few things to make more sense and change
order of recommendations for installation methods.

macppc/hardware:
update list of unsupported models

macppc/prep:
mention that ofwboot.elf is obsoleted, and all users should be using
ofwboot.xcf instead
link to partitioning HOW-TO on website
added some info on the "official" NetBSD/macppc-1.5.1 CD-R image
added some info on cdrecord
added note that netboot must be from on-board ethernet

macppc/install:
added a few more details to some of the open firmware error messages
reordered error messages to be in order user might encounter them
removed "pciide0:0:0: lost interrupt" since this is fixed in 1.5.1
added "TFTP timeout" and explanation to list of possible problems
point to macppc X11R6 HOW-TO

common/postinstall:
point to macppc X11R6 HOW-TO

common/xfer:
recommend waiting until later to create media for distribution sets

common/sysinst:
control-C to stop sysint, but added that you can re-run it from the
command prompt, no need to reboot.
added an example of what the sysinst main menu looks like
2001-05-13 23:25:37 +00:00
ragge 73b901c711 Add checksum calculation, busy-wait loops for receive packets and use
correct interrupt levels (spl7). Reading tapes now work reliable.
2001-05-13 21:19:44 +00:00
manu d473f5bd8a Improved the accuracy of gettimeofday/settimeofday: Linux stores a srtuct
timezone in the kernel. We now keep track of it for emulated processes.
Tested for powerpc and i386. Untested on m68k, but it should be ok
Alpha has a particular implementation (osf1_sys_gettimeofday), and it has
therefore not been touched.
2001-05-13 20:54:42 +00:00
jdolecek 2cd8833615 Change the comment about sucky performance to recommendation to remove
DIAGNOSTIC/DEBUG from the kernel. This helped to boost the performance
on my test machine from ~5KB/s to like 800KB/s for ftp test, and
to like 700KB/s for netio test. I wouldn't have imagined the options
are THAT costly ....
2001-05-13 20:43:04 +00:00
jdolecek d4ede5e1e5 Remove the BUGS section about 3c529. Kernel without DEBUG/DIAGNOSTIC
does 800KB/s on the same 386DX with the same ftp test. Wow.
2001-05-13 20:26:21 +00:00
kleink 95fa77ab80 Make this work for PIC (as opposed to pic) without taking chances of fitting
__ffstab into a GOT13 relocation; from Eduardo Horvath.
2001-05-13 20:03:45 +00:00
eeh 4fd3b89e58 Removed unused PIC setup code. 2001-05-13 20:02:13 +00:00
tshiozak b1c2276feb Correct a simple bug in the recent commit (pmap.c:1.19) by thopej.
I guess he indents to prepare a temporary variable for saving the next
pointer of a list element, but he seems to forget to substitute the
pointer for the variable.  This often causes my dreamcast panic.
2001-05-13 19:41:17 +00:00
scw 7e86548d5c doh, make the last fix compile for '147. 2001-05-13 18:35:19 +00:00
veego bb6a245c99 Bump the minor number of libamu to 2.1. 2001-05-13 18:13:33 +00:00
veego 221a388192 Regenerated for am-utils 6.0.6.
The configure script was fixed, so the default output of configure is now
fine.
2001-05-13 18:11:56 +00:00