Commit Graph

53034 Commits

Author SHA1 Message Date
gallatin
de0fd0ba23 A start at an implemention of linux_rt_sendsig & linux_rt_sigreturn
and associated user-level signal trampoline glue.

Without this patch, an SA_SIGINFO style handler can be installed by a linux
app, but if the handler accesses its sip argument, it will get a garbage
pointer and likely segfault.

We currently supply a valid pointer, but its contents are mainly
garbage.  Filling this in properly is future work.

This is the second of 3 commits that will get IBM's JDK 1.3 working with
FreeBSD ...
2000-10-17 00:00:20 +00:00
imp
56032dc7c9 Add support for cardbus card's chips. This will make the 3c575 cards
work once the rest of the cardbus infrastructure has been committed.

Submitted by: Jonathan Chen <jon@spook.org>
2000-10-16 23:16:02 +00:00
mjacob
c999f9a22d Very early and very *very* lightly tested support for LIVENGOOD chipset
(followon to WISEMAN). Presumably some flavors are also no multimode copper
as well.
2000-10-16 23:08:45 +00:00
imp
6b07f8118c When wierdreset flag is set, turn on the DISADVFD flag when we reset
rather than all the flags.  This prevents setting being read from ROM,
which is a problem.  If this breaks anything, it will only break the
3C556B cards minipci cards, which mainly exist at rpi as far as rpi
has been able to tell.

Submitted by: Louis Gerbarg <gerbal@rpi.edu>
2000-10-16 23:02:21 +00:00
gallatin
2283a443a3 Fix problems booting large kernels on alphas. The symptom is that the kernel
loads, prints the copyright, and either hangs or locks solid.  The
PC tends to be in the data segment and the RA is in XentMM

Doug really came up with the fix, I'm just the monkey typing.  Doug says:
	The alpha can only support 64k of globals with $gp pointing at
	base+32k so that the code can use 16bit signed offsets from $gp to
	access it. ....  it is possible to have multiple .got subsections
	and the linker handles this with the relocations for 'ldgp' pseudo
	instructions.  [Without this patch] the code in exception.s has been
	linked  to use a different gp from locore.s (where pal_kgp is set).

Reviewed by: dfr
2000-10-16 20:15:43 +00:00
dfr
bdd0886c4c Add section for building ia64 kernels. 2000-10-16 20:04:52 +00:00
obrien
20947d78b6 The PowerPC conversion was
Submitted by:	Benno Rice <benno@jeamland.net>
2000-10-16 20:03:53 +00:00
obrien
0031ce8869 Convert from the Alpha compontents to PowerPC ones. 2000-10-16 19:58:32 +00:00
obrien
87bc960086 Repo copied from src/sys/boot/alpha/libalpha/alpha_module.c,v 2000-10-16 19:55:06 +00:00
obrien
028b372383 Repo copied from src/sys/boot/alpha/libalpha/prom.c,v 2000-10-16 19:51:48 +00:00
obrien
f7e4696ca1 Repo copied from src/sys/boot/alpha/libalpha/devicename.c,v 2000-10-16 19:51:29 +00:00
imp
e6edbbb1cd Add types and prototypes.
Submitted by: msmith
2000-10-16 19:49:30 +00:00
imp
8e2e4b4cc6 Forgot to commit this last night.
Define interrupt routing method.

Submitted by: msmith
2000-10-16 19:43:44 +00:00
joe
9115dc7cd6 Add an optional start/stop argument to pccard_ether, and migrate
the 'ifconfig ifN delete' into pccard_ether under the 'stop'
function.

In addition start dhclient with a pid file based on the interface
name, e.g. /var/run/dhclient.ep0.pid, and kill the correct dhclient
(or dhcpc) process when the card is removed.
2000-10-16 19:11:11 +00:00
joe
e173d8a420 Avoid passing the optional ifconfig arguments to dhcpc as well as ifconfig.
This bug has been here since revision 1.8.
2000-10-16 19:03:48 +00:00
wpaul
58a9434231 Remove an errant splimp() that I missed when I went through this driver
the first time.
2000-10-16 18:51:32 +00:00
n_hibma
7d82bdeac9 Undo previous commit. <machine/clock.h> is needed for the prototype
for DELAY().
2000-10-16 18:50:00 +00:00
n_hibma
ba30389674 Sync with NetBSD:
K&R -> ANSI

Bugfix: 'Keep the bit position even when the report descriptor says POP.'

Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page.

Changed iface for hid_report_size.
2000-10-16 18:13:59 +00:00
n_hibma
8309efdb87 Sync with NetBSD:
Add more Usages.
2000-10-16 17:45:27 +00:00
n_hibma
783193abcb Sync with NetBSD:
Add seatbelts.
Be more lenient towards restarting the ports: If a port manages to connect
successfully reset the restartcount.
2000-10-16 17:40:59 +00:00
brian
a552d76cd8 Move __uint16_swap_uint32, __uint8_swap_uint32 and
__uint8_swap_uint16 inside __GNUC__.

Reviewed by: bde
2000-10-16 17:06:48 +00:00
dfr
039e693ea8 In pmap_remove_pv(), only manipulate the page's list if the pv is
managed.
2000-10-16 17:06:32 +00:00
dfr
b5b0296b4b Do a full exception_restore after an execve syscall to ensure that the
new program gets the right values for its arguments etc.
2000-10-16 17:03:51 +00:00
dfr
8d09216389 Clear the register stack frame before using loadrs to invalidate the
stacked registers.
2000-10-16 16:59:32 +00:00
dfr
0644e163a9 Clear ar.pfs for the child process in cpu_fork - switch_trampoline
doesn't want a stack frame.
2000-10-16 16:55:59 +00:00
dfr
3ce4aa655c Return zero from setjmp() and _setjmp() for now. 2000-10-16 16:51:50 +00:00
dfr
010f39c0b6 Fix a couple of dumb mistakes. 2000-10-16 16:48:48 +00:00
n_hibma
510fa85550 Merge from stable: Update of comments 2000-10-16 16:38:04 +00:00
gallatin
6c9f1bfd01 The previous commit broke kernel builds on alpha (and probably ia64).
#ifdef away the offending code until somebody with more newbus fu than
me can figure out where to put a default function that returns 255
without touching each alpha chipset driver..
2000-10-16 15:38:11 +00:00
obrien
8253c49b7e "Ok, my loader's now up to putting up a prompt. It probes disks partially
but can't boot from them yet."

Thanks to Stephane Potvin for the some of the code in this set.

Submitted by:	Benno Rice <benno@jeamland.net>
2000-10-16 10:46:22 +00:00
ru
d005b5ece3 Backed out part of the revision 1.10.
BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.
2000-10-16 10:00:50 +00:00
dfr
af4d51a538 Track changes to trapframe. 2000-10-16 09:18:05 +00:00
brian
78716dee93 Include sys/types.h 2000-10-16 09:14:44 +00:00
dfr
af713edef9 * Correct some of my misunderstandings about how best to switch to the
kernel backing store.
* Implement syscalls via break instructions.
* Fix backing store copying in cpu_fork() so that the child gets the right
  register values.

This thing is actually starting to work now. This set of changes takes me
up to the second execve (the one which runs the first shell). Next stop
single-user mode :-).
2000-10-16 08:54:40 +00:00
ru
6409a78036 Added support for i815. 2000-10-16 08:53:00 +00:00
dfr
2490797b03 Use the right mask for extracting sof from cr.ifs. 2000-10-16 08:47:56 +00:00
dfr
1431e38fdf Remember to re-initialise cr.itm on clock interrupts so that we get more
than just one tick.
2000-10-16 08:46:57 +00:00
dfr
8fc5d4a68a Merge a fix from the alpha port - put softintr in the right place in the
table.
2000-10-16 08:45:45 +00:00
dfr
bf4f8f56a4 Give names to app registers and control registers. Fix a typo handling
mov from branch register instructions.
2000-10-16 08:44:34 +00:00
brian
595fba88d1 Include sys/types.h 2000-10-16 08:28:50 +00:00
brian
f6831d54de Include sys/types.h 2000-10-16 08:22:42 +00:00
joe
5a3fe786f7 Update the crunch config:
* 'more' is now 'less'.
* telnet required libipsec.

This won't necessarily fit on a floppy, but at least it compiles now.
2000-10-16 08:21:35 +00:00
brian
abbfc7dc26 Include sys/types.h 2000-10-16 08:13:59 +00:00
joe
208b8aea6d Build the PICOBSD kernels using the 'make buildkernel' method. 2000-10-16 08:08:31 +00:00
imp
e5eadd616e First cut at allocating the resources from the CIS after the probe, but
before the attach.  Things aren't completely working, but this is a good
checkpoint.

Also, initialize the dev member of the function as soon as we add it
to the parent.
2000-10-16 07:51:12 +00:00
imp
dc3ddcecec Remove debug writes introduced in prior commit 2000-10-16 07:31:13 +00:00
imp
e3b147d874 Add the ability to use the $PIR table in the BIOS to route interrupts
on demand.

Submitted by: msmith
2000-10-16 07:25:08 +00:00
imp
191aeffeae When a pci device hasn't had an interrupt routed to it (signified by
the intline of 255) go ahead and route the interrupt when we allocate
an interrupt.

Submitted by: msmith
2000-10-16 07:24:00 +00:00
brian
bfa375d8ae Include sys/types.h 2000-10-16 07:11:30 +00:00
brian
5629be919e Add netnatm to LDIRS
Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-10-16 07:00:18 +00:00