isaki
ad81ade3ae
Unify splraiseipl(9) implementation among m68k ports,
...
discussed with tsutsui@ on port-m68k.
For next68k:
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
- define both IPL_SCHED and IPL_HIGH independently to avoid confusion
2008-06-26 02:52:03 +00:00
joerg
6c136cabc8
Mask the interrupt pin in the other places as well as reminded by
...
Jared.
2008-06-25 19:57:22 +00:00
ad
321c12209b
Don't swap kernel stacks of realtime threads.
2008-06-25 19:20:56 +00:00
joerg
eecefde4f0
Mask the higher bits of the interrupt pin extract from the _PTR.
...
Alan Barrett reported a system in PR 38959 that (incorrectly) uses the
higher bits and which resulted in a bad table being built.
2008-06-25 18:05:17 +00:00
reinoud
93d7f858ba
Disable read/write mounting for metadatapartition since attempts to delete
...
files now corrupt the image due to the lack of allocation scheme support.
2008-06-25 16:06:29 +00:00
reinoud
30c78783eb
Allow metadata partitioned discs to be mounted read-write even though its
...
allocation scheme is not implemented yet. Creating new files or deleting
anything is thus not possible.
2008-06-25 15:59:24 +00:00
drochner
2b26f69613
Avoid the use of i82365var.h - we don't use any functions from there.
...
Extract some data structures for ressource management into our private
header instead. This allows to use a typed pointer instead of a
generic one which saves a lot of typecasts.
Also remove something marked as "dirty hack" which I admittedly don't
understand, but it doesn't look useful...
2008-06-25 15:29:23 +00:00
reinoud
ca7a0d4ebd
Fix lookup problems in very fragmented metadata partitions that use
...
allocation extent descriptors.
2008-06-25 15:28:29 +00:00
reinoud
7536094ea3
Bump maximum number of allocation extents descriptors in a file/directory;
...
10 did seem far too many, but aparently ``640 kb should be enough for
everyone''.
2008-06-25 15:27:14 +00:00
isaki
b50b2ac3ed
Split device_t/softc for dmac_*_xfer().
...
Rename some variables to avoid confusing.
2008-06-25 13:30:24 +00:00
ad
1c7f0a02df
Use pool_cache.
2008-06-25 13:21:04 +00:00
pooka
d496f014ff
Don't compile kern_lock for rump any more, it's no longer required.
...
Allows us to get rid of the incorrect _RUMPKERNEL ifdefs outside sys/rump.
2008-06-25 13:16:58 +00:00
isaki
2b1a1a9c7f
Link to device_t. I had forgotten it in previous commit.
2008-06-25 12:56:40 +00:00
ad
2a7116daf3
ttyname_r is another of the strange functions that returns its error code
...
instead of setting errno.
2008-06-25 11:47:29 +00:00
ad
3ae2f84118
Add _SC_TTY_NAME_MAX.
2008-06-25 11:46:11 +00:00
ad
f778b05135
SUS says that pthread_atfork() must also be in unistd.h
2008-06-25 11:45:38 +00:00
drochner
dbc8757839
split device/softc for pccbb, the cardbus half of cardslot and cardbus
...
(not yet pcmcia, there is a lot of md code involved)
2008-06-25 11:42:32 +00:00
ad
5c6eb305b3
Fix MLINKS line
2008-06-25 11:19:28 +00:00
ad
c6f43a476e
Crank libc minor for getlogin_r
2008-06-25 11:12:01 +00:00
ad
5f64faa3a9
Add getlogin_r. Manual page changes mostly lifted from FreeBSD.
2008-06-25 11:10:24 +00:00
ad
d29b52efe8
Return -1 for the unsupported realtime extensions.
2008-06-25 11:09:20 +00:00
ad
403a399142
pthread_attr_setstacksize: EINVAL if the requested size is less than
...
sysconf(_SC_THREAD_STACK_MIN).
2008-06-25 11:07:07 +00:00
ad
39a9e71121
pthread_join: explicitly test for cancellation.
2008-06-25 11:06:34 +00:00
ad
40818746b1
Use pool_cache.
2008-06-25 11:05:46 +00:00
ad
d23ae8da8d
sigpending1: don't subtract the sigmask (!!).
2008-06-25 11:04:24 +00:00
reinoud
e5ee834164
Fix extended allocation descriptor handling in translate file extent
2008-06-25 10:46:35 +00:00
reinoud
35d8dddabd
Fix allocation extensions descriptor reading and do free them on node
...
destruction!
2008-06-25 10:03:14 +00:00
isaki
7afa6fc259
struct cfdata -> cfdata_t.
2008-06-25 08:19:37 +00:00
isaki
2830b81add
Split device_t/softc. Use aprint*() and device_xname().
2008-06-25 08:14:59 +00:00
isaki
13450ec873
Cosmetic change. Sort IPL_XXX as described in spl(9).
2008-06-25 07:54:47 +00:00
gmcgarry
499a932afa
Revert unintentional whitespace changes. From simonb.
2008-06-25 06:22:01 +00:00
dogcow
0afd84fe2a
due to popular demand, /var/lib/postfix -> /var/db/postfix
2008-06-25 05:57:16 +00:00
matt
d982b23b25
Nuke MOVED support. Move rb_parent out of rb_nodes and make it it's own
...
member.
2008-06-25 04:56:08 +00:00
matt
f44158c13f
Revert last change and just use .WAIT
2008-06-25 03:33:39 +00:00
matt
0ab08b46df
Increase RAMDISK size due to ever-increasing bloat.
2008-06-25 03:33:06 +00:00
christos
e4992af055
Make rb use masks instead of bitfields, because it is more portable (bitfields
...
to unsigned long are not portable), and produces tighter code. Tested on
amd64. approved by gimpy.
2008-06-25 03:06:25 +00:00
christos
c210eb854d
/var/lib/postfix -> /var/db/postfix
2008-06-25 01:36:03 +00:00
christos
872dac48eb
/var/lib -> /var/db by popular demand.
2008-06-25 01:32:37 +00:00
gmcgarry
48ff51b31c
Bump to 4.99.67 for fsetown()/fgetown() ABI change on 64-bit architectures.
...
Prompted by Greg Troxel.
2008-06-25 01:09:51 +00:00
scw
b47fab2742
In pmap_deactivate(), if the process is exiting make sure the next call
...
to pmap_activate() performs a full MMU context-switch and cache flush,
which might otherwise be skipped.
Fixes ARM_LOW_VECTORS problem reported in PR port-arm/38950.
2008-06-24 22:00:32 +00:00
chris
c0b7259a50
Change $wasabi$ to $NetBSD$ so that we get version info into the file.
2008-06-24 20:19:05 +00:00
drochner
36b6bc746c
clean up the cardbus interrupt stuff:
...
There were cardbus_intr_line_t and cardbus_intr_handle_t used intermixed
for the same variable, and that variable is pretty much useless because
cardbus doesn't follow the PCI interrupt swizzling etc scheme.
Useless interrupt numbers were printed on cardbus device attach.
So as a first step to sanity, kill cardbus_intr_handle_t and poison
cardbus_intr_line_t to discourage printing it as a %d.
Use cardbus_intr_line_t consistently throughout the code.
Remove the "interrupting at foo" messages because the information
is misleading. We could come up with a better interrupt vector
information, but because cardbus interrupts are mediated by pccbb
it would still be misleading.
2008-06-24 19:44:51 +00:00
ad
80892cd092
Use pool_cache.
2008-06-24 18:50:30 +00:00
ad
8c5bcce4b9
execve1:
...
- Properly terminate the fake argument list.
- Fix two double-frees.
2008-06-24 18:04:52 +00:00
drochner
52b8fec3cf
clean up some useless code and variables in cardbus attachment
2008-06-24 17:32:09 +00:00
drochner
39ba286079
as in exp(), treat +/-Inf and NaN arguments specially, should fix
...
eg expf(-Inf) which was Nan previously
(We could avoid touching the i387 on amd64 in these cases, but we'd
need to bypass the ABI abstraction macros, so leave it the old way
for now.)
2008-06-24 17:27:56 +00:00
cegger
dfd2a09df6
make this build with SMB_VNODE_DEBUG. makes i386 ALL kernel build again.
2008-06-24 17:04:11 +00:00
ad
aefe4cc25a
getss -> x86_getss
2008-06-24 16:32:53 +00:00
ad
c73fe0bf2d
Replace more __asm
2008-06-24 16:30:09 +00:00
ad
28c7c338ce
Replace inline assembly.
2008-06-24 16:28:44 +00:00