grant
e41c87001a
fix some comments
2003-03-05 10:27:59 +00:00
jklos
ba44f83888
Fix from Frederick Bruckman to get current kernels booting again.
2003-03-05 05:56:26 +00:00
matt
92d0498c3d
Remove port-specific procfs_machdep.c (since they are all identical and
...
a better one resides in powerpc/powerpc/).
2003-03-05 05:43:42 +00:00
matt
6d251b3be3
Make AltiVec registers available via ptrace/procfs. Simplify AltiVec
...
processing. Add a "common" procfs_machdep.c for PowerPC platforms.
Even though it is supposed to be port specific, most (if not all)
PowerPC ports can just use the common one.
2003-03-05 05:27:24 +00:00
thorpej
72dd57106c
Implement a minimal pager for the uvm_loanzero_object, which simply has
...
a "put" method which reactivates or dequeues the page.
Need for pager pointed out by enami tsugutomo.
2003-03-05 01:52:41 +00:00
fvdl
91ef1f21bf
Make the apic address unsigned, as it should be.
2003-03-04 23:27:32 +00:00
fvdl
c89161c65f
ioapic address is not actually a pointer, initialize it as uint32_t
2003-03-04 23:21:25 +00:00
fvdl
e575c4bc69
Fix some fields that did not have explicit types yet.
2003-03-04 23:20:29 +00:00
fvdl
48aa516ffe
Use read_psl and write_psl.
2003-03-04 22:43:36 +00:00
fvdl
e1a37a9604
Define read_psl and write_psl as aliases for read_eflags and write_eflags.
2003-03-04 22:43:09 +00:00
fvdl
b2a3a55d38
Enable the define for EISA MPBIOS support.
2003-03-04 22:19:32 +00:00
fvdl
d9bd125d50
Make EISA support conditional (on by default on i386).
2003-03-04 22:19:04 +00:00
perseant
d51fdbef63
Make sure we hold the uobjlock when checking for dirty pages, in lfs_vflush.
...
Note that pages can become dirty without our knowing it, anyway; don't
panic if that happens.
2003-03-04 19:19:43 +00:00
perseant
003cfbd545
Don't add dirty blocks to the ifile in lfs_segunlock, if we're trying to
...
unmount the filesystem. This avoids a "dirty blocks" panic.
2003-03-04 19:15:26 +00:00
perseant
958a4c008c
Don't force all truncations to be synchronous
2003-03-04 19:10:35 +00:00
tron
98e6fa0c08
Teach procfs_allocvp() about Puptime to avoid panics if "/proc/uptime"
...
is opened.
2003-03-04 18:55:02 +00:00
kochi
b1b04fbfdf
Update for acpica-unix-20030228.
2003-03-04 17:28:00 +00:00
kochi
589c0d70ae
Resolve conflicts from acpica-20030228-2 import.
2003-03-04 17:25:09 +00:00
kochi
f874599c20
Import the Intel ACPICA 20030228 release.
2003-03-04 17:07:34 +00:00
kochi
f93b318be7
import the Intel ACPICA 20030228 release
2003-03-04 16:43:14 +00:00
yamt
182b7b7cda
lower acpi interrupt level to IPL_VM.
...
it's the highest level it can use because it uses malloc(9).
XXX probably, it's still higher than it needs.
ok'ed by thorpej.
2003-03-04 13:44:08 +00:00
soren
e0395ed0f1
G/c old macppc grf entries.
2003-03-04 13:29:12 +00:00
soren
889bcccc72
Attach on recent TiBooks.
...
XXX The mixer doesn't work yet.
2003-03-04 13:28:20 +00:00
dsl
b7c921ed3d
The IDT is an array of struct gate_descriptor.
2003-03-04 10:39:10 +00:00
matt
fb2cebb577
Pass the address of the intrframe to the ext_intr routine.
2003-03-04 08:34:12 +00:00
matt
e1d9426036
Make to define ${BOARDTYPE}
2003-03-04 07:52:21 +00:00
matt
107803a3a3
Re-arrange things in evbppc & powerpc to support OEA-based eval boards
...
in evbppc. OEA-based board(s) to be added later.
2003-03-04 07:50:57 +00:00
matt
9875f9218d
Add some missing volatiles.
2003-03-04 07:48:09 +00:00
thorpej
d3f54e81dd
Fix the following pathological scanario:
...
* User allocates ZFOD region, but does not actually touch the buffer
to fault in the pages.
* In a loop, user writes this buffer to a network socket, triggering
sosend_loan().
* uvm_loan() calls uvm_loanzero() once for each page in the loaned
region (since the pages have not yet faulted in). This causes a
page to be allocated and zero'd. The result is the kernel spends
a lot of time allocating and zero'ing pages.
This fixes creates a special object which owns a single zero'd page.
This single zero'd page is used to satisfy all loans of non-resident
ZFOD mappings.
Thanks to Allen Briggs for discovering the problem and for providing
an initial patch.
2003-03-04 06:18:54 +00:00
thorpej
23d2066add
Cast the argument passed to vtophys() to a vaddr_t.
2003-03-04 01:10:50 +00:00
fvdl
a345044000
s/i386_isa_chipset/x86_isa_chipset/
2003-03-04 01:07:36 +00:00
fvdl
f28dd1acef
s/i386_isa_chipset/x86_isa_chipset/, it's defined on multiple ports, but
...
used in shared code.
2003-03-04 01:06:38 +00:00
fvdl
d8464bf767
The intrmasks array is only used in if 0-ed code, so if 0 it as well.
2003-03-03 23:49:18 +00:00
pk
f26c7b7e7f
Note a kernel pmap locking problem in pmap_kenter_pa4m().
2003-03-03 22:43:58 +00:00
fvdl
7b925fa8cf
Use unsigned long long to print msr values.
2003-03-03 22:23:22 +00:00
fvdl
2934facefc
use CVAROFF.
2003-03-03 22:17:15 +00:00
fvdl
60ff7764b1
Use pmap_cpu_has_pg_n()
2003-03-03 22:16:54 +00:00
fvdl
22c3c5973b
The IDT is an array of struct gate_descriptor.
2003-03-03 22:16:20 +00:00
fvdl
5d9be5f0db
The IDT only contains gate descriptors, so define it as such.
2003-03-03 22:14:15 +00:00
fvdl
1b64bc0ae7
define pmap_cpu_has_pg_n and pmap_cpu_has_invlpg to make code sharing
...
easier.
2003-03-03 22:13:16 +00:00
fvdl
3ebdf8bcc3
Make CVAR asm reference macro CVAROFF, taking an offset.
2003-03-03 22:12:22 +00:00
manu
03dfd69a01
Added vm_region and vm_msync traps
2003-03-03 22:07:39 +00:00
mycroft
2198701c01
The DMA support here never worked, so yank it out.
2003-03-03 22:07:21 +00:00
jdolecek
b83db8c688
only pull in/declare veriexec related stuff with VERIFIED_EXEC
2003-03-03 21:25:09 +00:00
jdolecek
fedc587dac
#if 0/notnow stuff which isn't currently used
...
pointed out by Krister Walfridsson
2003-03-03 21:17:05 +00:00
jdolecek
ede214240b
#if 0 or g/c unused stuff
...
pointed out by Krister Walfridsson
2003-03-03 21:16:02 +00:00
mjacob
1ca48f3a5e
Fix egregious bug where we meant to use bit 5 (1<<5) instead of the
...
value of 5.
2003-03-03 20:54:56 +00:00
mjacob
1a127bb90e
spelling
2003-03-03 20:54:28 +00:00
mjacob
15332b558c
Propagate iid && rxid when we're putting back an ATIO for FC.
...
Spelling fixes.
2003-03-03 20:54:12 +00:00
mjacob
9af98d9f8e
Spelling fixes. Leave an example for how to set icbdelay timer for
...
ZIO operations. If we have ISP_FW_CRASH_DUMP defined, don't reinit
the chip on ISP_CONN_FATAL (that's up to the outer layers to do).
2003-03-03 20:53:14 +00:00