Commit Graph

106452 Commits

Author SHA1 Message Date
cegger
64db2748a4 match header protection with filename 2010-09-03 06:07:24 +00:00
christos
e5690d15fe PR/43830: Valery Ushakov: libsa/loadfile_elf32.c loads .shstrtab into
unallocated memory. Don't load if counting.
2010-09-02 17:10:14 +00:00
uwe
fcfce86d87 Fix printf formats in -DDEBUG_PROM to make it compile.
XXX: print daddr_t after casting it to int since libsa is not built
with LIBSA_PRINTF_LONGLONG_SUPPORT by default.
2010-09-02 03:14:42 +00:00
jmcneill
4ac1609716 add a list of codec id->name mappings. they are printed at attach time
and exported via the AUDIO_GETDEV ioctl
2010-09-02 01:55:31 +00:00
pooka
32cb61f490 proper panic for trying to release implicit lwp 2010-09-01 21:16:56 +00:00
pooka
ce29454f2b use curlwp 2010-09-01 19:57:52 +00:00
pooka
11f8c2f902 Implement rump_lwproc: the new lwp/proc management routines for
rump.  These move the management of the pid/lwpid space from the
application into the kernel, make code more robust, and make it
possible to attach multiple lwp's to non-proc0 processes.
2010-09-01 19:37:58 +00:00
pooka
073d0401dd regen: new lwp/proc interfaces 2010-09-01 19:33:04 +00:00
pooka
1d8f8d1bc5 Print generated filenames so i remember which ones to commit. 2010-09-01 19:32:11 +00:00
pooka
41e7b18b68 Rewrite rump process and lwp allocation routines now that I have
some idea of how they should be done.  This change essentially
moves the responsibility of pid/lwpid management from the application
side into the rump kernel.  It also introduces clear rules on what
happens when, i.e. introduces semantics (these semantics will be
documented on the man page, and more importantly in atf tests).
2010-09-01 19:13:38 +00:00
tsutsui
9553e52cbf - split device_t/softc
- allocate struct todr_chip_handle in per-device softc
- some cosmetics
2010-09-01 17:06:00 +00:00
chs
fca58884f4 replace the earlier workaround for PR 40389 with a better fix.
the earlier change caused data corruption by freeing pages
without invaliding their mappings.  instead of the trylock/retry,
just take the genfs-node lock before calling VOP_GETPAGES()
and pass a new flag to tell it that we're already holding this lock.
2010-09-01 16:56:19 +00:00
tsutsui
f2d6cdb4ee - misc KNF and cosmetics
- use DPRINTF() style debug printf macro
2010-09-01 16:48:00 +00:00
tsutsui
cea585929a Make local functions static, and comment out an unused function. 2010-09-01 16:23:15 +00:00
he
74a3769a96 Bump SYMTAB_SPACE so that it fits again. 2010-09-01 16:13:32 +00:00
tsutsui
a90704b5e7 Use appropriate variable data types. 2010-09-01 15:40:06 +00:00
tsutsui
938f3699d6 Replace an empty for() loop (which would be optimized out) with DELAY(1).
No visible performance difference.
2010-09-01 15:20:12 +00:00
pooka
0af65acdc5 Actually, the comment probably meant "would be nice to KASSERT here,
but can't".  So turn it into a KASSERT now that it's possible.
2010-09-01 15:15:18 +00:00
pooka
8411fe4cea Remove XXX comment. I'm not sure what it precisely means, but I'm
guessing it's from a time when rump used filedesc0 for everything
(and that isn't true anymore).
2010-09-01 15:12:16 +00:00
tsutsui
68a1ead9c8 - use bufq(9)
- account busy counter of disk(9)
2010-09-01 15:08:22 +00:00
tsutsui
95919a0f0a Return ENOTTY rather than EINVAL for unhandled ioctl(2)s. 2010-09-01 12:25:27 +00:00
kiyohara
a55af802fc Indent. 2010-09-01 06:23:59 +00:00
macallan
3337b3cd99 remove shadow framebuffer support, use VCONS_DONT_READ instead 2010-08-31 21:14:57 +00:00
macallan
a83a5dd561 enable omapfb and related stuff 2010-08-31 19:07:01 +00:00
macallan
704f7610df a simple console driver for the OMAP 3xxx on-chip video
no acceleration so far and it will recycle whatever video mode the firmware
set up
2010-08-31 19:03:55 +00:00
tsutsui
287b6acad1 - split device_t/softc
- include "ioconf.h" for struct cfdriver
2010-08-31 15:17:20 +00:00
kiyohara
8e229474be Fix lost interrupt. (2/2)
+ It is likely to lose sight of interrupt when the interrupt of irq_base
    that is smaller than the same at the level is generated if PIC_MAXSOURCES
    is 33 or more.
2010-08-31 14:33:41 +00:00
kiyohara
4edbb19773 Fix lost interrupt. (1/2)
+ Change blocked_irqs that dispach if change pending_irqs in the loop.
2010-08-31 14:23:27 +00:00
tsutsui
1f68cc819a Set bp->b_resid properly after data transfer is complete.
Fixes unexpected "Bad address" errors on file read ops since January 2006.

The problem is reported and tracked by Yasushi Oshima.
2010-08-31 12:12:48 +00:00
enami
5de383f454 Define db_hist_put() only when DDB_HISTORY_SIZE != 0 so that
build successes on ports like hpcarm.
2010-08-31 07:48:23 +00:00
enami
a8a2c06f4b Fix indent in prevous commit. 2010-08-31 07:12:55 +00:00
macallan
60cbfd8fa2 remove shadow framebuffer support, use VCONS_DONT_READ instead 2010-08-31 03:08:23 +00:00
macallan
b8dd6fd56b make use of a shadow framebuffer optional, use VCONS_DONT_READ by default 2010-08-31 02:49:17 +00:00
tls
4e9aaafe62 Don't overflow DDB command history. Coyote Point changelist description:
DDB is flakey.  The command history wanders past the bounds.  Way
past.  When it hits some boolean that indicates a.out format symbol
tables are to be used, and here is the pointer to the function, the
call thru the NULL function pointer renders the debug session entirely
unsatisfactory, outcome wise.
2010-08-30 19:23:25 +00:00
pooka
55c3091ac6 Make IPLs not equal IPL_NONE to avoid some KASSERTs. 2010-08-30 18:29:52 +00:00
pooka
8357a02c05 doesn't need files.rump 2010-08-30 11:51:29 +00:00
pooka
4c62970c70 * record proc's cred in p_cred too
* account procs for uids
2010-08-30 10:49:40 +00:00
pooka
72a4517ea3 regen: rump syscalls for kern_prot interfaces 2010-08-30 10:34:51 +00:00
pooka
16e1cb0b60 RUMP syscalls for kern_prot.c interfaces 2010-08-30 10:32:54 +00:00
pooka
195f9ac9fd remove trailing empty line. no useful change. 2010-08-30 10:30:01 +00:00
pooka
9a611a11e0 Empty commit to show makesyscalls.sh rev 1.99 didn't change anything (yet). 2010-08-30 10:24:42 +00:00
pooka
5c6beee9f6 Use the generally more useful funcalias for rump syscalls. 2010-08-30 10:24:04 +00:00
pooka
f0fb0d2ca1 do 5.0 compat for fstat 2010-08-30 10:08:39 +00:00
pooka
e731bd97ef Include kern_prot.c for setuid etc. 2010-08-30 09:44:40 +00:00
pooka
64cced98e7 Use one line per sys/kern source module. no functional change. 2010-08-30 09:44:11 +00:00
kiyohara
8c7e8c667b Support prcm@obio1. 2010-08-30 05:37:30 +00:00
cegger
06b4e82a5b fix grammar in error message 2010-08-29 21:15:26 +00:00
cegger
6bb3ec6d99 Confilict -> Conflict 2010-08-29 21:14:16 +00:00
christos
26a6b06d3f Don't try to hold the mutex if we are disabling the card because we can
be called from an interrupt context. While this is not strictly correct,
we are SoL anyway so this does not matter.
2010-08-29 07:00:13 +00:00
joerg
c1e0a5bd50 Replace the current usage of Elf64_Half with Elf64_Word and rename
NetBSD specific Elf64_Quarter to Elf64_Half. This restores compatibility
with the common ELF specifications.
2010-08-28 21:30:02 +00:00