mlelstv
be6f2a4b87
Ignore freed rtcache entries.
2008-07-01 20:18:45 +00:00
bouyer
802c7519a2
Raise ci_idepth (and switch to interrupt stack on i386) becore calling
...
xenevt_event().
2008-07-01 18:49:20 +00:00
bouyer
42f814d7d2
spllower(): return immediatly if ci->ci_ilevel <= nlevel, as the asm
...
versions do.
2008-07-01 18:44:50 +00:00
pooka
d4aaae9291
Code is in subr_hash, not kern_hash.
...
from Michal Spacek
2008-07-01 15:37:04 +00:00
mrg
1a29454088
hack around PR#38480:
...
- rename MTRR_I686_NVAR to MTRR_I686_NVAR_MAX, still set to 8
- store mtrr VCNT value into i686_mtrr_vcnt. if it is less than 8,
zero out the relevant parts of mtrr_raw[].msraddr
- replace all usage of MTRR_I686_NVAR with either i686_mtrr_vcnt or
with MTRR_I686_NVAR_MAX as appropriate
- in i686_mtrr_reload() and mtrr_init_first() don't use mtrr_raw[]
addresses of 0
still needs a bunch of reworking to handle VCNT > 8 case.
2008-07-01 15:27:34 +00:00
tsutsui
4a193f31ac
Split device_t/softc with misc cosmetic changes.
2008-07-01 15:15:34 +00:00
tsutsui
5886a7c394
- avoid extra offset calculation in region/multi ops
...
- fix swapped dist/src in copy_region ops
2008-07-01 15:14:32 +00:00
pooka
371212ff48
Add missing calls for attribute management (e.g. chown, stat).
...
[Incidentally, stat() won't work on non-NetBSD because of struct stat
binary layout difference and needs to be fixed some day]
from Arnaud Ysmal
2008-07-01 13:09:44 +00:00
pooka
e940fdb5d3
regen
2008-07-01 13:03:56 +00:00
pooka
1805817468
Adjust rump syscalls: remove a few pointless ones and add a few
...
missing ones.
2008-07-01 13:03:08 +00:00
jmcneill
206d3d3809
VT8233+ uses a different register base for capturing, tested by sborrill
2008-07-01 12:43:03 +00:00
pooka
d2e855d5a6
Fixes to build rump utilities as host binaries on Linux by removing
...
sys namespace pollution which has crept in.
Submitted in private mail by takemura, domain ca2.so-net.ne.jp
2008-07-01 12:33:32 +00:00
matt
94bc3febe6
Changes to make lint STFU.
2008-06-30 20:54:19 +00:00
matt
0500366437
Don't build rb.c anymore since it's in libc now.
2008-06-30 20:14:42 +00:00
matt
5a4f0c6b2b
Change tree op members/typedefs to rbto_compare_* from rb_compare_*
2008-06-30 20:14:09 +00:00
matt
48717a981d
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
2008-06-30 19:03:59 +00:00
reinoud
af39897a83
Fix serious allocation recording bug if overwriting piece that was
...
allocated before. Fixes regression test on random overwriting data.
Also fix endian issues and add extra documentation to variables.
2008-06-30 16:43:13 +00:00
matt
90f0e9be76
Hello 4.99.68 (struct rb_node changed size)
2008-06-30 16:43:12 +00:00
matt
da597625e8
Add some significant improvements to the red-black tree implementation.
...
Shrink size of rb_node by 25% (merge parent/father pointer and flags).
2008-06-30 16:36:18 +00:00
nakayama
3644fd9574
Fix commented sparc derived code.
2008-06-30 14:16:13 +00:00
nakayama
fa9b47137f
Avoid use of "<< TSTATE_PSTATE_SHIFT".
2008-06-30 14:12:20 +00:00
bsh
db59b3aaa6
KERNEL_BASE_EXT is mandatory after matt-armv6 merge
2008-06-30 08:18:11 +00:00
perry
10cfc49bff
__FUNCTION__ -> __func__
2008-06-30 00:46:41 +00:00
bouyer
fe0fcf52f5
Proper FPU exeptions support for Xen. Should fix FPU issues reported by
...
various users.
2008-06-29 21:00:08 +00:00
rumble
f0fae83846
In smbfs_done, do not call pool_destroy on the same pool twice in a row.
...
Now smbfs.kmod can be unloaded without panicking the system.
2008-06-29 18:45:20 +00:00
christos
f52ea15353
Recognize apple ufs partitions from Antoine Reilles
2008-06-29 15:13:28 +00:00
jdc
50c50f930f
Instead of bailing out with "Inode not directory", assume that the disk is
...
a RAIDframe mirror, apply the RAID boot offset, and try to boot again.
Fixes the problem where disks would be unbootable if partitioned normally
and then converted to RAID 1 without being zeroed first.
2008-06-29 14:13:23 +00:00
jmcneill
875766b9be
Revert previous, i915drm works again.
2008-06-29 12:49:08 +00:00
he
abdf124cc5
Add the overlooked nullfs kernel module entries.
2008-06-29 11:54:56 +00:00
isaki
7379f550c7
Make it compilable even if FDDEBUG was defined.
2008-06-29 09:44:11 +00:00
dogcow
78ff31a2cf
fix type
2008-06-29 09:09:09 +00:00
tsutsui
2c77262457
Sync with arch/m68k/m68k/pmap_motorola.c rev 1.38:
...
> Remove ({ }) gcc extensions and use static inline functions instead.
2008-06-29 09:03:47 +00:00
njoly
06e75299f3
Move amd64 MD termois types definitions from linux_termios.h to linux_types.h
...
following other archs.
2008-06-29 08:50:09 +00:00
nakayama
ddf9744a79
Add 32-bit kernel configuration with SMP support.
2008-06-29 08:05:43 +00:00
nakayama
733e690c2c
Wrap trapstats counters with #ifdef TRAPSTATS.
2008-06-29 07:49:10 +00:00
nakayama
1199fe2539
Constify initfpstate, and omit initialization for .fs_qsize.
2008-06-29 07:41:53 +00:00
nakayama
fe6d7e5eef
Wrap IPI calls with #ifdef MULTIPROCESSOR.
2008-06-29 07:31:55 +00:00
hamajima
df4f6f3b28
fixed some bugs.
...
- correct argument of eppcic_set_pcreg()
- add wait after set of timing register
2008-06-29 05:53:39 +00:00
hamajima
045f7eb611
Fixed addr and size of eppcic0.
2008-06-29 05:42:24 +00:00
chris
d890fb22e6
Fix warnings about type conversions by using linux_speed_t type on
...
linux_speeds[] rather than speed_t.
On Arm (and others) linux uses unsigned long, however, NetBSD uses
unsigned int.
2008-06-28 21:34:32 +00:00
bouyer
efe8b350b3
Add appropriate bus_dmamap_sync() calls to uhci(4), ohci(4) and ehci(4),
...
as proposed on tech-kern@.
While all DMA memory used in the USB framework is mapped BUS_DMAMAP_COHERENT
(including data memory, which is memcpy'd from/to USB-private buffers),
the CPU can reorder loads or stores from/to main memory, causing the
controller to have an incoherent view of the DMA descriptors lists for a
short time. bus_dmamap_sync() should contain memory barriers that prevents
the CPU from reordering load/store. Note that BUS_DMAMAP_COHERENT is
still required for the DMA descriptor lists - these can't work properly
with software cache coherency.
This fixes "host controller process error/host controller halted" errors
I'm occasionally seeing with a umodem device on uhci on x86.
Thanks to Michael Lorenz for testing it on his O2, and Izumi Tsutsui on
his Cobalt Qube 2700.
2008-06-28 17:42:53 +00:00
bouyer
caba2baea2
port-i386/38935: Add appropriate x86_lfence or x86_mfence calls to
...
bus_dmamap_sync(), depending on the BUS_DMASYNC flag. This makes sure
that the kernel reads data from main memory in the intended order.
2008-06-28 17:23:01 +00:00
ad
b4c1afd422
Shut lint up.
2008-06-28 16:50:43 +00:00
rumble
ed4fb1c656
Add of bunch of file system modules.
2008-06-28 16:11:35 +00:00
rumble
4c59ea5a60
Fix lkm fallout from previous sysctl changes. This largely duplicates
...
sysctl creation code, but lkms are going away soon(ish) anyway.
Spotted by Chris Gilbert.
2008-06-28 15:50:20 +00:00
ad
0a11462fc2
A few more.
2008-06-28 15:09:49 +00:00
ad
698b4a3b27
Fix numerous bugs.
2008-06-28 15:03:27 +00:00
tsutsui
c8f3692590
Fix inverted logic of IXP425_GPIO_GPOER register bits in the previous.
...
Pointed out by Piotr Durlej on port-arm@.
2008-06-28 15:00:13 +00:00
ad
a122ceefb6
Noisy printf.
2008-06-28 14:56:22 +00:00
reinoud
14d24a6772
When shrinking the file, do clean the freed part in the descriptor; all
...
unused space need to be zero filled.
2008-06-28 14:47:11 +00:00