matt
ff2281b498
Add preliminary support Marvell (Galileo) Discovery System Controllers.
...
This code was contributed by Allegro Networks.
2003-03-05 22:08:18 +00:00
dsl
4c320740d2
Use do_setres{u,g}id for osf1_sys_set{u,g}id
2003-03-05 18:47:39 +00:00
dsl
dfdb668a2e
Reimplement linux_sys_setresgid() in terms of do_setresgid()
2003-03-05 18:46:11 +00:00
dsl
eabc565aaf
Use do_setresuid() to implement linux_sys_setresuid()
2003-03-05 18:44:46 +00:00
dsl
a5de203f9f
Add do_setresuid() and do_setresgid() and implement sys_setuid, sys_seteuid,
...
sys_setreuid (and gid equivs) in terms of them.
2003-03-05 18:42:19 +00:00
dsl
ef96ef8655
Add definitions for do_setres{u,g}id() to common up various system calls that
...
set the uid and gid values.
2003-03-05 18:39:17 +00:00
mycroft
adddd74e0e
DANGER WILL ROBINSON!
...
We cannot store LWP pointers permanently in lock structures, for two reasons:
1) They are somewhat ephemeral. Dangling pointers are bad.
2) A different LWP may issue the unlock, and in this case, we were not actually
doing the unlock at all. This was causing processes to exit without undoing
fcntl(2) locks. Furthermore, the locks are process-specific to begin with,
so the test was just plain wrong.
Instead, we go back to storing a proc pointer for POSIX locks. In addition, we
add an extra pointer to the LWP, which is used in deadlock detection. After
the lock is granted, this pointer is 0ed and there is no reference to the LWP.
Now evolution can inc my mail again.
2003-03-05 18:28:22 +00:00
shiba
012395b8fb
Used correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX.
...
Submitted by: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
Takeshi Shibagaki <shiba@netbsd.org>
(refer to [bsd-usb:685],[bsd-usb:686])
Approved by: gehenna, kanaoka
2003-03-05 17:37:36 +00:00
soren
ea477f4ba7
Forgot dummy printf.
2003-03-05 16:52:16 +00:00
soren
1f3cd4f95f
Be more verbose about unsupported keys.
2003-03-05 16:18:24 +00:00
kochi
7629f23bb8
Fix a bug that affects machines which has non-zero base GPE blocks.
...
This bug is already reported to Intel ACPICA people.
2003-03-05 15:13:01 +00:00
ragge
be084ba94f
vax -> __vax__. Didn't I fix this a year ago?
2003-03-05 13:19:59 +00:00
itohy
b75bbfd9a4
Regen (add ESS1878 (ess) and ESS0005 (joy))
2003-03-05 13:10:03 +00:00
itohy
24c03411b6
Add ESS1878 (ess) and ESS0005 (joy) for ESS ES1878 audio device.
2003-03-05 13:08:27 +00:00
dsl
35df36296b
Report correct values for p_uutime_{u}sec, p_ustime_{u}sec and p_uctime_{u}sec
2003-03-05 11:46:49 +00:00
dsl
15cb5a5b82
Apportion execution time evenly between stime and utime when the process
...
hasn't been interrupted by any profiling interrupts.
Collect time from all active LWPs.
2003-03-05 11:44:01 +00:00
dsl
dc55700b28
Get processes execution time before the LWPs state is changed
2003-03-05 11:40:55 +00:00
agc
2a540cd45f
Forward declare struct lwp as well as struct trapframe.
2003-03-05 11:28:14 +00:00
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