| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
from machine/smptests.h:
#define PUSHDOWN_LEVEL_1
#define PUSHDOWN_LEVEL_2
#define PUSHDOWN_LEVEL_3
#define PUSHDOWN_LEVEL_4_NOT
|
| |
|
| |
|
|
|
|
|
| |
idle page table directories for all of the processors was being updated
during kernel grow operations. The problem appears to be gone now.
|
|
|
|
| |
Enable A law encoding.
|
| |
|
|
|
|
|
|
|
|
|
| |
while waiting for an interrupt (rather than spinning on the runqueue status
bits), since the other cpu can put stuff in there and the sleeping cpu may
not get an interrupt for a while. When we have a reschedule IPI, this can
come back.
Pointed out by: fsmp
|
|
|
|
| |
It now prints the apic id in hex rather than decimal.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
size in terms of lines (instead of bytes). When changing video mode
in ioctl SW_XXX commands, syscons checks scp->history_size and
allocate a history buffer at least as large as the new screen size.
(This was unnecessary before, because HISTORY_SIZE was as large as 100
lines and this is bigger than the maximum screen size: 60 lines).
Similar adjustment is done in ioctl CONS_HISTORY command too.
PR: kern/4169
Reviewed by: sos
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lots of fixes to error handling-- mostly works now
* improve DMA timing config for Triton chipsets-- PIIX4 and UDMA drive
still untested
* generally improve DMA config in many ways-- mostly cleanup
* clean up boot-time messages
* rewrite PRD generation algorithm
* first wd timeout is now longer, to handle drive spinup
Submitted by: John Hood <cgull@smoke.marlboro.vt.us>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are met:
1) The BIOS indicates that there is exactly 64MB of RAM, and
2) The memory size isn't specified with the MAXMEM option or
the npx0 msize hack,
...then do a speculative memory probe beyond the 64MB's until the
first bad page is encountered. This is an admitted hack, but should
nonetheless deal with detecting the correct amount of memory in nearly
all of the modern systems with >64MB of RAM.
Also made a change that will cause the list of detected memory chunks
to be printed if bootverbose is set.
|
| |
|
| |
|
|
|
|
|
|
|
| |
2) Added a non_blocking flag to the write routine.
3) Added a 3rd buffer (actually a ring buffer would be better)
Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
|
|
|
|
|
|
|
| |
directory. Rename (via repository copy) some files so that the potential
for future conflicts is minimized.
PR: conf/4363
|
|
|
|
| |
indentation (it is supposed to be bogus to match sio.c), and long lines).
|
| |
|
|
|
|
|
| |
time when icu.s was common between UP and SMP. It is not necessary for UP
and thus can be removed from icu_ipl.s.
|
|
|
|
| |
<sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
|
|
|
|
|
|
|
|
| |
Eliminated the RECURSIVE_MPINTRLOCK.
clock.c and microtime use clock_lock.
sio.c and cy.c use com_lock.
Suggestions by: Bruce Evans <bde@zeta.org.au>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
LINT now compiles but doesn't link. Other link-time breakage for LINT
is now visible (SMP is incompatible with SIMPLELOCK_DEBUG).
Submitted by: jlemon
|
| |
|
|
|
|
|
|
| |
by incomplete cutting and pasting from machdep.c to kern_shutdown.c.
PR: 3953
|
|
|
|
| |
centrally.
|
|
|
|
| |
Make VESA_SUPPORT default
|
|
|
|
|
|
|
|
|
|
| |
holding CPU along with the lock. When a CPU fails to get the lock
it compares its own id to the holder id. If they are the same it
panic()s, as simple locks are binary, and this would cause a deadlock.
Controlled by smptests.h: SL_DEBUG, ON by default.
Some minor cleanup.
|
|
|
|
|
|
|
|
|
|
| |
and hardware.
There is now another simple_lock around clock data/hardware accesses in
clock.c and microtime.s. It is my belief that this is the only area
sio/cy might stumble into during an unblocked INTerrupt. Thus I separated
the sio/cy code from the generic disable_intr()/enable_intr() routines.
Controlled by smptests.h: USE_COMLOCK, ON by default.
|
| |
|
|
|
|
| |
in place in the other BSD's.
|
|
|
|
| |
asm parts of the kernel. This is to re-enable ELF compile support.
|
|
|
|
|
|
|
|
|
| |
Add a simplelock to deal with disable_intr()/enable_intr() as used in UP kernel.
UP kernel expects that this is enough to guarantee exclusive access to
regions of code bracketed by these 2 functions.
Add a simplelock to bracket clock accesses in clock.c: clock_lock.
Help from: Bruce Evans <bde@zeta.org.au>
|
|
|
|
| |
Submitted by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
|
| |
Preliminary support for the INTR_SIMPLELOCK algorithm, disabled.
Note that this code is NOT ready.
|
|
|
|
|
|
| |
Improved interrupt handling, fewer silo overflows.
With help from: dave adkins <adkin003@gold.tc.umn.edu>
|
|
|
|
|
| |
This options allows a CPU that is blocked spinning for the giant lock
to process FAST_INTR() ISRs, eg. siointr().
|
|
|
|
|
|
|
| |
and flags.
Reviewed by: kato
Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
|
| |
|
|
|
|
|
| |
on IBM-PC box and is "pc-98" on NEC PC-98 box. Userland program can
distinguish architecture on which the program runs.
|
| |
|
|
|
|
| |
Reminded-by: John-Mark Gurney
|
|
|
|
|
| |
if 'options "VM86"' is in the config file. The LKM was really for
development, and has probably outlived its usefulness.
|
|
|
|
|
| |
was submitted to me.
Submitted by: Amir Farah <amir@comtrol.com>
|
|
|
|
| |
Submitted by: Amir Farah <amir@comtrol.com>
|