jhb
dd03284643
The previous commit wasn't entirely correct. At least one goto to the
...
out: label in psignal() did not grab sched_lock before trying to release
it. Also, the previous version had several cases where it grabbed
sched_lock before jumping to out: unneccessarily, so rework this a bit.
The runfast: and out: labels must be called with sched_lock released, and
the run: label must be called with it held. Appropriate mtx_assert()'s
have been added that should catch any bugs that may still be in this
code.
Noticed by: bde
2001-01-02 18:54:09 +00:00
ume
3e7ec8ed40
do not touch ra_addr if it is NULL. from IIJ SEIL team
...
Obtained from: KAME
2001-01-02 15:17:19 +00:00
phk
23f02b4722
Fix the <sys/queue.h> abuse.
...
Submitted by: Dima Dorfman <dima@unixfreak.org>
Reviewed by: /sbin/md5
2001-01-02 11:51:55 +00:00
non
f41cea7e39
Remove conflicts between unsinged char *s and int s.
...
It was possible cause of kernel panic.
Pointed Out by: phk@FreeBSD.ORG
2001-01-02 10:41:50 +00:00
phk
75f809e410
Add an XXX about a <sys/queue.h> transgression which needs cleaned up.
2001-01-02 10:34:09 +00:00
phk
854305bfac
Either cvs(1) or I forgot this file in my last commit.
...
Please see commit log for rev 1.4 of src/sbin/mdconfig/mdconfig.c
2001-01-02 09:42:47 +00:00
peter
3e29f9dbec
Newbusify the PCI PDQ (fddi) attachment. This isn't as clean as
...
the EISA attachment and has not been tested (no hardware!), but at least
it stands a chance at working. At least it compiles now.
2001-01-02 09:30:48 +00:00
takawata
0383701d9f
Change Embedded Controller lock to ACPI Global Lock.This is needed for
...
mutual execution between BIOS and OS.
2001-01-02 05:22:35 +00:00
obrien
5d83ebcf7c
PowerPC platform-specific definitions (modeled on sys/i386/include/setjmp.h)
2001-01-02 00:34:24 +00:00
obrien
9344f0ac75
PowerPC platform-specific definitions (modeled on sys/i386/include/types.h)
2001-01-02 00:30:49 +00:00
obrien
5737790e1e
Minor style tweaks.
2001-01-02 00:11:41 +00:00
obrien
fbd89dbc05
PowerPC platform-specific definitions (modeled on sys/i386/include/param.h)
2001-01-02 00:06:45 +00:00
obrien
bac2796b9d
MP shells for the PowerPC platform.
2001-01-01 23:45:11 +00:00
obrien
d940286b54
PowerPC platform-specific page size setting.
2001-01-01 23:26:39 +00:00
obrien
c00705d792
PowerPC platform-specific definitions.
...
Obtained from: NetBSD (parts)
2001-01-01 23:19:22 +00:00
phk
dfe91ebab3
Remove a bogus #ifdef KTR stanza.
...
Noticed by: Alexander Langer <alex@big.endian.de>
2001-01-01 23:09:53 +00:00
phk
cdf3df051b
Add padding space and a version number to the md_ioctl structre for future
...
extension.
Add ability to create a preload disk giving an address and a length
(suggested by imp)
Fix bug relating to very small md(4) devices.
Update md.c copyright to reflect the status of code copied from vn.c.
(noticed by dillon)
2001-01-01 23:08:26 +00:00
obrien
20531f4651
Shells for the atomic operations FreeBSD needs.
...
This is just waiting for a budding PowerPC ASM guy to fill in the blanks.
2001-01-01 23:06:59 +00:00
obrien
ae1d8ec43f
PowerPC platform-specific type definitions.
2001-01-01 22:43:52 +00:00
obrien
65921c45f6
Sort some of the _BSD_* types.
2001-01-01 22:26:56 +00:00
obrien
468ec92a65
Update the e_machine values to include x86-64, PowerPC and [Strong]ARM;
...
and fix the Sparc values. Also update the ELFOSABI list while I'm here.
2001-01-01 21:56:57 +00:00
obrien
888fbf3ca5
PowerPC specific ELF ABI definitions.
2001-01-01 21:54:48 +00:00
mjacob
ebe888cdb7
Sanity check ptr for legal values so it is less likely
...
(but not impossible) to get stuck in an infinite loop.
Obtained from: msmith@freebsd.org
2001-01-01 16:49:31 +00:00
phk
95a1cabbb9
Add a missing vnode_if.h.
...
Submitted by: Jim Bloom <bloom@acm.org>
2001-01-01 11:28:32 +00:00
sobomax
9628e1f0a6
We are now in the year 2001, so ajust copyrights.
...
Happy New Year!
2001-01-01 08:05:48 +00:00
jhb
c368baf0b4
Push down sched_lock in psignal(). sched_lock was being held across
...
recursive calls into psignal() as well as calls to signotify(),
forward_signal(), etc.
2001-01-01 02:31:08 +00:00
jhb
37f5912410
Add in a missing release of the proctree lock.
...
Submitted by: Sja <sakari.jalovaara@eqonline.fi>
2001-01-01 02:19:51 +00:00
mjacob
45232b4094
Add a dopey makefile to do the tags dance, which is probably not perfect
...
but is better than nothing by a good deal.
2000-12-31 23:26:34 +00:00
mjacob
984784059a
there is no more miscfs/devfs
2000-12-31 23:12:20 +00:00
mjacob
21bcb778b3
Fix problems with incomplete conversions from printf to isp_prt.
2000-12-31 20:50:56 +00:00
mjacob
455cbaec15
Oops, I'm such an idiot. For reasons I don't really agree with,
...
all devices are by default known by their 'cooked' name, so
my change was wrong. I thought it was a hangover from old 'block
tape device' support which hasn't worked (if it ever did) since
v6/PWB.
So, the default tape name is now the same as Linux. Far out, man....
2000-12-31 20:29:56 +00:00
phk
0ae4f0870d
This is the first snapshot of the new all-singing-and-dancing md(4).
...
Using the mdconfig(8) program you can now configure memory disks
on malloc(9), swap or a file/vnode. preloaded md disks also work
as usual.
2000-12-31 13:03:42 +00:00
phk
5de479435a
Use macro API to <sys/queue.h>
2000-12-31 10:24:19 +00:00
phk
bd55e14c59
Add compress option at the instigation of rgrimes.
2000-12-31 10:22:52 +00:00
mjacob
072d9a6f78
Unbelievable how this slipped through. There is
...
no such device as /dev/nsa0. The DEFTAPE should
"/dev/nrsa0". *Groan*.
2000-12-31 08:17:19 +00:00
tanimura
48f3847902
Ignore a net interrupt if the corresponding handler is not
...
registered.
This fixes panic on my laptop where a spurious arp packet
is received when arp is not ready to run.
2000-12-31 01:31:55 +00:00
ps
653b0a4d6a
Backout rev 1.57 & 1.58. While the previous revisions fixed
...
attaching to running processes, it completely breaks normal debugging.
A better fix is in the works, but cannot be properly tested until
the problem with gdb hanging the system in -current is solved.
2000-12-31 01:30:27 +00:00
dillon
41fd6873a8
Fix a lockup problem that occurs with 'cvs update'. specfs's fsync can
...
get into the same sort of infinite loop that ffs's fsync used to get
into, probably due to background bitmap writes. The solution is
the same.
2000-12-30 23:32:24 +00:00
phk
72cd3208b3
Use macro API for <sys/queue.h>
2000-12-30 22:06:19 +00:00
phk
f13a78af64
Use <sys/queue.h> macro API.
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
2000-12-30 20:40:16 +00:00
mjacob
5901dfe396
Change the modification of what could be a const string. Apparently the
...
construct:
char *foo;
...
foo = "XXX";
...
foo[1] = 'Y';
is wrong. IT blew up on NetBSD-sparc64 because that platform write-protects
constant strings.
2000-12-30 20:09:26 +00:00
dfr
c0346114b4
Don't include <stddef.h> for offsetof() - its also defined in <sys/types.h>
2000-12-30 13:07:58 +00:00
dfr
78040d3f19
Merge ALIGN changes from alpha code.
2000-12-30 13:06:01 +00:00
dfr
83798d65dc
Fix typo.
2000-12-30 13:04:20 +00:00
ps
250c89d360
Pass me the pointy hat. Do not hold sched_lock over psignal.
...
Submitted by: alfred
2000-12-30 00:44:44 +00:00
mjacob
10e300a6dd
Add in Bill Sommerfeld's -Wformat stuff. Add a ISP_CFG_NOINIT option
...
to keep from completing initialization when isp_init is called.
2000-12-29 19:17:18 +00:00
mjacob
a2ee3f2b32
Add in Bill Sommerfelds -Wformat changes. Set up default node && port
...
WWNs correctly (Again!) - this time for the case that we're not going
to fully init the adapter if isp_init is called (with ISP_CFG_NOINIT
set in options). The pupose for this is to bring the adapter up to
almost ready to go, get info out of NVRAM, but to not start it up- leaving
it until later to actually start things up if wanted (and possibly with
different roles selected).
2000-12-29 19:12:44 +00:00
mjacob
affd82f08f
Set up to do a local interrupt fielding before calling common code-
...
allows us to grab lock as we should.
2000-12-29 19:10:16 +00:00
mjacob
e2e4fb07d4
Make sure we do locking if we call isp_intr.
...
Make sure we enter Giant for now if we call into cam for completion.
2000-12-29 19:06:32 +00:00
takawata
829d1eb6e8
Remove the old acpi stuff entry.
...
Submitted by:kurinyma
2000-12-29 15:39:45 +00:00