Steve Passe
7f6ab10763
Removed the defunct GET_MPLOCK/REL_MPLOCK macros.
...
These are no-ops for UP, and should have been removed when vector.s
was split into UP and SMP subsets.
1997-07-24 03:24:57 +00:00
Steve Passe
e78205df5b
Fixed possible deadlock from recursive INTs on same cpu. Since
...
we use lazy masking INTREN()/INTRDIS() might be called with INTs enabled.
This means another higher prio INT to the same cpu could attempt to
re-enter the critical region, but would spin waiting for the lock. Since
it is the owner, it would deadlock.
1997-07-23 21:25:31 +00:00
Steve Passe
812e4da7a8
New simple_lock code in asm:
...
- s_lock_init()
- s_lock()
- s_lock_try()
- s_unlock()
Created lock for IO APIC and apic_imen (SMP version of imen)
- imen_lock
Code to use imen_lock for access from apic_ipl.s and apic_vector.s.
Moved this code *outside* of mp_lock.
It seems to work!!!
1997-07-23 20:47:19 +00:00
Steve Passe
d9593fb979
Forced 32bit alignment of struct simple_lock in param.h.
...
Added declarations of new simple_lock data and functions to smp.h.
1997-07-23 20:42:16 +00:00
Steve Passe
740dc1b5f5
Forced 32bit alignment of struct simple_lock.
1997-07-23 20:40:52 +00:00
KATO Takenori
1cc4d2e950
Synchronize with sys/i386/isa/clock.c revision up to 1.97.
1997-07-23 11:28:39 +00:00
Steve Passe
919bdda1d4
Coded simple_lock and friends in asm.
1997-07-23 05:49:19 +00:00
Steve Passe
b1ba015c25
Added a missing semicolon, compile failed when I turned on simple_lock().
...
Evidently this has never been compiled before, NOT a good sign...
1997-07-22 23:19:48 +00:00
Steve Passe
87a6f31089
Last commit didn't take, operator error???
1997-07-22 20:12:32 +00:00
Steve Passe
995655b397
Hid the existance of imen via a dump routine.
1997-07-22 19:57:30 +00:00
Steve Passe
2e12b456f5
Cleaned up an ugly printout.
1997-07-22 19:51:51 +00:00
Steve Passe
f2aeb7eaac
Cleaned up the FPU init.
1997-07-22 16:49:54 +00:00
Doug Rabson
abfbc4005f
Correct some dumb mistakes in the WebNFS stuff.
...
Submitted by: bde
1997-07-22 15:35:57 +00:00
Doug Rabson
c4b3a97040
Allow NULL cookie verifiers for non-NULL offsets. This is needed for
...
Digital Unix boxes since they appear to always send null verifiers.
1997-07-22 15:35:15 +00:00
Jordan K. Hubbard
c1f94e717b
Well, consensus seems very split on this so I talked it over with DG
...
and he says he's happy to see forward movement in aligning our defaults
with a 16 bit world, the 8 bit folk already being veterans by this
point who know how to use userconfig.
In any case, perhaps Warner will soon come to save us all with his Dynamic
Probing(tm) feature and this will all become totally moot in any case,
so it's probably not worth arguing about either way.
1997-07-22 08:33:52 +00:00
Bruce Evans
8b0597671f
Quick and dirty (?) fix for noatime option. The WebNFS changes
...
broke it by using the same value for MNT_EXPUBLIC as for MNT_NOATIME.
Just use a different value for MNT_EXPUBLIC.
1997-07-22 08:03:19 +00:00
Steve Passe
9a9ad9f746
Enabled the FPU emilaute bit define: CR0_EM
...
Reviewed by: Bruce Evans <bde@zeta.org.au>
1997-07-21 17:53:51 +00:00
Steve Passe
b9f415331e
SMP code initializes the FPU of APs.
...
Suggested by: Bruce Evans <bde@FreeBSD.ORG>
1997-07-21 17:03:22 +00:00
Bruce Evans
f6af917bec
Oops, unremoved used #include.
1997-07-21 16:55:28 +00:00
Bruce Evans
4b9ea34eec
Use soft_imask instead of SWI_MASK in the LKM version. SWI_MASK shouldn't
...
have been visible in LKMs, since it had the wrong value for the APIC_IO
case.
Removed unused #includes.
1997-07-21 16:50:46 +00:00
Bruce Evans
43ba542895
Store SWI_MASK in a variable so that LKMs can use it portably.
1997-07-21 16:43:48 +00:00
Bruce Evans
eae4afa6c0
Removed support for stale options.
...
Removed unused targets. (Is sizetest necessary? It wasn't run.)
Added boot.img to CLEANFILES.
1997-07-21 16:12:52 +00:00
Bruce Evans
2e9b23b0ba
Added ${KMOD} to CLEANFILES. ${KMOD} gets created if you run `make load'.
1997-07-21 16:04:41 +00:00
KATO Takenori
684d56595c
Synchronize with sys/i386/isa/npx.c revision 1.49.
1997-07-21 13:13:43 +00:00
KATO Takenori
b8b1bfc496
Synchronize with sys/i386/i386/microtime.s revision 1.26.
1997-07-21 13:12:45 +00:00
KATO Takenori
50902335e5
Synchronize with sys/i386/isa/clock.c revision up to 1.95.
1997-07-21 13:12:01 +00:00
KATO Takenori
062569821c
Synchronize with sys/i386/isa/fd.c, if_ed.c, if_fe.c, lpt.c, mse.c,
...
npx.c, isa.c, sio.c, syscons.c and wd.c revisions 1.100, 1.117, 1.29,
1.61, 1.33, 1.48, 1.95, 1.173, 1.226 and 1.132, respectively.
1997-07-21 13:11:16 +00:00
KATO Takenori
2463359bc9
Synchronize with sys/i386/i386/machdep.c and trap.c revisions 1.253
...
and 1.101, respectively.
1997-07-21 13:04:54 +00:00
Steve Passe
e94493547b
Disabled 2 static inlines:
...
- INTRGET()
- INTRSET()
These were only used in if_ze.c (already removed) and npx.c. The code
in npx.c has also been cleaned of all APIC code.
1997-07-21 08:20:07 +00:00
Steve Passe
3902c3ef1f
Made the SMP case ignore the possibility of an INT13 interface.
...
This eliminates all the APIC code, and thus several routines that
would otherwise need to be made MP-safe.
Reviewed by: Bruce Evans <bde@zeta.org.au>
1997-07-21 07:57:50 +00:00
John Dyson
322d7a880b
Fix a crash that has manifest itself while running X after the 4MB
...
page upgrades.
1997-07-21 01:21:25 +00:00
Steve Passe
4cb2abf6d8
Put in a "HEADS UP" concerning the 'SMP_TIMER_NC' option.
...
Disabled MATH_EMULATE, shouldn't ordinarily be needed for SMP.
1997-07-20 23:57:20 +00:00
Steve Passe
ba52d7ac34
Omit printout of imen, INTRGET() is not MP-safe yet...
1997-07-20 23:07:39 +00:00
Steve Passe
35b3c4a0e5
Developed a new strategy for handling the 8254/8259/APIC issue.
1997-07-20 19:41:38 +00:00
Steve Passe
c69ef9495b
Developed a new strategy for handling the 8254/8259/APIC issue.
...
Enabled (by default) with "#define NEW_STRATEGY".
1997-07-20 19:40:34 +00:00
Steve Passe
3577278519
Minor cleanup.
...
Pass string arg to apic_dump.
Moved bootverbose printing of SMP enabled INTs from clock.c to autoconf.c
1997-07-20 18:05:20 +00:00
Steve Passe
0571e04aee
Minor cleanup.
1997-07-20 18:02:59 +00:00
Steve Passe
03aad53304
Pass string arg to apic_dump.
1997-07-20 18:02:19 +00:00
Bruce Evans
ecd741d614
Removed unused #includes.
1997-07-20 16:21:36 +00:00
Bruce Evans
293a9e510c
Removed unused #includes.
1997-07-20 16:06:08 +00:00
Bruce Evans
5f2d49adc9
Fixed data+bss limit (use the current rlimit instead of MAXDSIZ).
1997-07-20 14:21:36 +00:00
Bruce Evans
f71d35e402
Removed unused #includes.
1997-07-20 14:10:18 +00:00
KATO Takenori
3e80cd50df
Removed unused #includes.
1997-07-20 13:02:05 +00:00
Bruce Evans
f94276a095
Removed yet another vestige of devconf.
1997-07-20 12:34:15 +00:00
Bruce Evans
288f6303ba
Finished (?) converting md_regs to a `struct trapframe *'. Some bogus casts
...
are now unnecessary.
1997-07-20 12:33:19 +00:00
Bruce Evans
e852f922ab
Uniformized idempotency ifdef.
1997-07-20 12:26:34 +00:00
Bruce Evans
9d675655a2
Fixed missing indent protection in copyright.
...
Uniformized idempotency ifdef.
1997-07-20 12:18:53 +00:00
KATO Takenori
02f9294f2c
Fixed the place of the `}' in comparam().
1997-07-20 11:59:48 +00:00
Bruce Evans
6fdad28eb1
Removed unused #includes.
1997-07-20 11:58:40 +00:00
KATO Takenori
6c2fd1aa29
Synchronize with sys/i386/i386/microtime.s revision 1.25.
1997-07-20 11:56:48 +00:00