Commit Graph

92558 Commits

Author SHA1 Message Date
uch
000bb38949 SH3/SH4 common kernel support. 2002-02-17 21:01:15 +00:00
uch
6e0794b560 To determine CPU architecture and product, add cpu_arch and cpu_prduct variables.
these are initialized by sh_cpu_init()@sh3/sh3_machdep.c
(see sh3/include/cputypes.h for detail.)
add "options SH3" for SH3 kernel config file.
2002-02-17 20:59:33 +00:00
uch
14bcf8c92a add cache dump 2002-02-17 20:58:35 +00:00
uch
a96c1d0e8f change register naming. 2002-02-17 20:58:02 +00:00
uch
70826aa2cd sh_cpu_init() is added. its initialize cache, MMU ops appropriately.
machine locore code call this at first.
2002-02-17 20:57:09 +00:00
uch
780de330ba Add new MMU API. for detail, see sh3/mmu.h's comment. 2002-02-17 20:55:50 +00:00
uch
779bf563f4 ANSIfy. remove #if 0 ... #endif. 2002-02-17 20:53:40 +00:00
tron
87733e3d43 Fix typo noted by Sune Stjerneby in PR port-sparc/15640. 2002-02-17 20:53:35 +00:00
uch
615800d782 Fix calling convention. r0-r7 are caller saved. 2002-02-17 20:53:01 +00:00
manu
d383f72720 reworked signal handling:
- do not save/and restore registers that should not be saved and restore
- do give an accurate sigcontext pointer to the signal handler
- do use the struct sigreturna from IRIX.
This eliminates panics and hangs in certain circonstances

Also some cosmetic changes with tabs usage
2002-02-17 20:50:06 +00:00
manu
853adfc30b - implement SGI_GETSID command for syssgi()
- reworked SGI_GETPGID implementation to use the getpgid() system call instead
  of duplicating it.
2002-02-17 20:44:17 +00:00
tron
b08c6b723c Enable for "getty" processes because because the i386 port used wscons(4)
default these days and the default "wsconf.conf" creates four screens.
2002-02-17 20:41:42 +00:00
bjh21
e6e848ef6d Our assembler handles FPA instructions fine, so don't use .word for them. 2002-02-17 20:41:02 +00:00
thorpej
f4b825ded1 Add examples of how to match different classes (e.g. ia32 vs. ia64)
of PXE clients using the Vendor Class Identifier option that all PXE
clients send in their DHCP packets.
2002-02-17 20:26:03 +00:00
martin
3a47d27d5d Fix two LP64/be bugs, patch from ura@hiru.aoba.yokohama.jp in PR 15641. 2002-02-17 20:18:52 +00:00
thorpej
77fa5a7974 Pay attention to the file name provided by the DHCP server, using
it rather than the default of "netbsd" if it's in the reply.
2002-02-17 20:14:08 +00:00
bjh21
00994a7564 Add prototypes for static functions. 2002-02-17 20:08:34 +00:00
thorpej
7f18ea71f5 Add new i386 bootloaders. 2002-02-17 20:05:50 +00:00
thorpej
76ea45942b Cleanup of i386 bootloader building:
* Add separate directories for the individual netboot ROMs and
  always build them.
* Each bootloader Makefile explicitly specifies the start file
  and link address it wishes to use.
* genprom becomes a proper host program.
* Make sure all generated files get cleaned up.
* Set BINDIR in Makefile.inc
* Add compressed image support to pxeboot.
* Make pxeboot use the default serial console speed (9600).
2002-02-17 20:03:05 +00:00
bjh21
cb7a3d0674 ANSIfy, and othe KNF cleanup. 2002-02-17 19:53:44 +00:00
thorpej
45f23105c2 Make this compile again (update for changes to register bit names). 2002-02-17 19:49:58 +00:00
thorpej
bb1c9c42fa Update for new location of the WD80x3 register description. 2002-02-17 19:47:41 +00:00
christos
6e89926d24 regen 2002-02-17 19:35:45 +00:00
christos
5a51f8945d fix rlimit confusion. 2002-02-17 19:35:30 +00:00
christos
8ec87caa7f ICANON is in lflags, by Neelkanth Natu 2002-02-17 19:34:42 +00:00
veego
f12a3476e0 Add a missing ) from an 6 year old cleanup commit (rev 1.10):
s/sizeof(struct mfcp_softc,/sizeof(struct mfcp_softc),/
Noticed by Nagilum on irc.
2002-02-17 19:26:37 +00:00
martin
387b55cc79 Protect calls to wi_cmd() from callout handlers by proper splnet()/splx()
pairs. Without this, the interrupt handler will steal the "command completed"
status and wi_cmd will busy loop until it times out.

Add some error output to make failure modes like this more prominent.

This should fix PR 14559.
2002-02-17 19:24:18 +00:00
thorpej
044d35e196 * Undo rev 1.55. While one might think this test is useful, newfs
has historically allowed file systems to be created on non-4.2BSD
  partitions, and the ability to do so is quite useful to some people.
* When rewriting the disklabel, don't consider it an error if there's
  not a label already on the disk (and thus the rewrite operation fails).
2002-02-16 19:39:30 +00:00
thorpej
58ff6aaf22 Regen: Add Genesys Logic GL641USB CompactFlash card reader. 2002-02-16 18:18:06 +00:00
he
94f5cc8310 Bring sun2 into the MACHINE_LIST, so that we don't later get warnings
that the sun2 number register is undefined.
2002-02-16 18:18:03 +00:00
thorpej
bfdbf84cf8 Add product ID for the Gensys Logic GL641USB CompactFlash card reader. 2002-02-16 18:17:35 +00:00
he
c283c04ea4 Replace tabs with spaces in two places inside .(disp, so that the
bootptab and dhcpd.conf entries are not brought flush against the
right margin, but instead get sane formatting.
2002-02-16 18:17:04 +00:00
thorpej
49cec2b141 * Remove a debug-breakpoint that is no longer needed.
* Move the pxe_init() call to when we open the virtual netif.
* Make sure to call pxe_fini() when we close the virtual netif.
2002-02-16 16:52:10 +00:00
thorpej
3285e44973 Regen: Add the Elan SC520 System Controller. 2002-02-16 16:36:36 +00:00
thorpej
1b6c81cacd Add the AMD Elan SC520 System Controller. 2002-02-16 16:35:48 +00:00
thorpej
0aec9f6508 Need private copies of these files for now. 2002-02-16 16:26:23 +00:00
christos
09a9c8ea3d 1. load cr2 now that we have it.
2. ldt_info.base_addr == 0 && ldt_info.limit == 0 means zero the ldt
From Robert V. Barron's wabi patch.
2002-02-16 16:23:09 +00:00
christos
c8e246669c save cr2 for the benefit of linux emulation, and normalize use of pcb
in trap(), i.e. always initialize *pcb and use it instead of doing it
sometimes.
2002-02-16 16:22:03 +00:00
skrll
9e98a7e93d Enable ep* at pci here also. 2002-02-16 15:47:10 +00:00
is
372cac3316 The linux lkm doesn't compile anymore on m68k 2002-02-16 11:02:37 +00:00
wiz
a3a4739481 Some more typo and punctuation fixes. 2002-02-16 10:54:55 +00:00
mycroft
22d8cbc4f9 Make this build without akbd (again). 2002-02-16 08:30:27 +00:00
shin
febef53a9c run cached and move fast.
before	5 seconds
	after	sub second
2002-02-16 05:26:02 +00:00
christos
a7986989e7 Improve on fault signal translation. Inspired largely by Robert V. Baron's
wabi patch.
2002-02-16 05:19:26 +00:00
thorpej
8bb2be2987 Add a PXE boot loader. PXE interface code is derived by code
written by Alfred Perlstein, Paul Saab, John Baldwin for FreeBSD.

Still needs some work, but this will load a kernel on a Soekris net4501.

Many thanks to Frank van der Linden and his simulator wizardry for
helping me debug the low-level startup code.
2002-02-16 03:37:39 +00:00
reinoud
7de02b8b3d The patches must have been missed... so i re-aplied the patches wiz made on
this document .,... thanks wiz for proofreading ! :)
2002-02-16 02:31:30 +00:00
enami
3528e53ca0 Use sizeof correctly. Fixes PR#15613. 2002-02-16 02:11:43 +00:00
enami
233c254079 - Wrap long line.
- Remove unnecessary semi-colon.
2002-02-16 02:07:56 +00:00
reinoud
b6b2c79819 Add the RISC OS gzip tool for installation purposes. It gets uudecoded and
installed in ../release/installation/misc/ next to the bootloader.
2002-02-16 01:53:52 +00:00
reinoud
918a90814e Update this allmost ancient prep.RISCOS file ... would like ppl. to proof
read it.
2002-02-16 01:39:10 +00:00