kleink
d93fc4c14e
Tidy up the namespace: lint -> __lint__.
2004-07-01 22:52:34 +00:00
kleink
11f7fb5f29
Tidy up the namespace: lint -> __lint__.
2004-07-01 22:31:28 +00:00
drochner
c62dff1bf7
fix a const'ification inconsistency, noticed by gcc-3.4
2004-07-01 21:27:42 +00:00
drochner
18bf932783
don't undefine some macros which are only redefined if _GLIBCPP_USE_C99
...
is defined - this causes that nothing usable is left unless we implement
enough of C99
(there is a change in gcc-3.4 which is similar in spirit)
should fix PR lib/25930 by Dan McMahill
(I've compiled the whole KDE with this modification successfully)
2004-07-01 21:25:23 +00:00
drochner
e87f74fd64
put the __packed__ attribute close to the struct definition
...
(to appease gcc-3.4), and use the compiler-independant __packed
form for consistency
2004-07-01 20:56:34 +00:00
jmc
a2bacbeec5
Change to use __unused instead and provide a compat definition in make.h if
...
not already defined from cdefs.h
2004-07-01 20:38:09 +00:00
drochner
07be12b505
also provide an alpha assembler implemtation of lrint()
2004-07-01 19:08:21 +00:00
christos
95bd3d33bf
DECONST->UNCONST
2004-07-01 19:04:58 +00:00
christos
af06392139
DECONST -> UNCONST
2004-07-01 19:04:43 +00:00
christos
5d1f319c56
add __UNCONST
2004-07-01 19:04:14 +00:00
nathanw
3a30736db7
td_sync_info(): explicitly clear the "locked" flag when unlocked,
...
instead of leaving it as garbage.
2004-07-01 18:59:52 +00:00
mycroft
3b589a6ca4
Fix a really old ("since day one") bug: send specific EOIs to the PIC, not
...
non-specific EOIs. This really shouldn't matter so much, but I'm guessing
there's a strange interaction with the PALcode (possibly related to the fact
that the PALcode itself may be sending an EOI itself on some systems).
I have tested this on a Multia, and it appears to work just fine without the
INITIALLY_{ENABLED,LEVEL_TRIGGERED}() stuff now, so I'm also removing that.
2004-07-01 18:46:49 +00:00
nathanw
aaad58dd18
td_map_addr2sync(): recognize read-write lock objects.
2004-07-01 18:27:36 +00:00
oster
98af6adb1d
The result of rf_DoAccess() should *not* be assigned to bp->b_error.
...
As well, when we do detect some sort of an error, we should be doing a
biodone() here. Thanks to yamt for noting the missing biodone(), as
that led to discovery of the additional lossage.
2004-07-01 17:48:45 +00:00
uch
11e21240cc
fix iochip configuration.
...
reported by Alexander Frolkin <avf@ox.compsoc.net>
2004-07-01 17:45:12 +00:00
uch
ef8a3ef38e
<space>,<tab> clean up.
2004-07-01 17:43:52 +00:00
drochner
5d151d763f
enable lrint.S for amd64 (which doesn't build libm387),
...
and tighten the generic->machdep source distribution a bit to avoid
unwanted substitutions
2004-07-01 17:33:16 +00:00
drochner
af7cf00a5a
provide an assembler implementation of lrint() for i386 and amd64
2004-07-01 17:30:48 +00:00
drochner
9768ef916d
bump libm minor version (functions added)
2004-07-01 16:14:18 +00:00
drochner
147d852dbc
being here, add the (l)lround(f) functions to libm
...
(almost the same like lrint)
2004-07-01 16:09:21 +00:00
drochner
54e35f616a
aboid to shift an int by more than 31 bits - behaviour is implementation
...
dependant in this case
2004-07-01 16:06:30 +00:00
darrenr
bbf97636b5
revert change of listen to Listen (probably a typo here)
2004-07-01 15:44:54 +00:00
heas
66307fc36e
typo in define name, littie -> little
2004-07-01 14:57:46 +00:00
heas
ae5ea826a2
The DAC registers do not need to be mapped linearly and thus should not.
2004-07-01 14:54:13 +00:00
skrll
caf6252920
Add some more variables used to build libgcc_s.
...
Part of the fix for PR 22452.
2004-07-01 13:22:25 +00:00
yamt
38cdafcad1
{i8254,lapic}_initclocks: try to be more precise using fixtick.
2004-07-01 13:00:39 +00:00
yamt
34ed9bd392
avoid divide-by-zero in adjtime1() in the case of HZ > 6000.
2004-07-01 12:57:37 +00:00
yamt
3998262d5e
defparam HZ.
2004-07-01 12:44:26 +00:00
yamt
fb277865d7
bump sb_timeo from short to int to allow longer timeouts.
...
especially when hz is high.
while i'm here, bump sb_flags to int, as suggested by
Jason Thorpe and Bill Studenmund.
ride on 2.0G.
2004-07-01 12:42:57 +00:00
yamt
0f3ce64ad4
statclock: don't assume hz==100 when determining frequency to call schedclock.
2004-07-01 12:36:57 +00:00
kleink
2d356478dd
Make the spelling of reentrant match the rest of the system.
2004-07-01 10:38:28 +00:00
pk
7f51f38abc
Avoid unnecessary stores of discarded values.
2004-07-01 10:23:41 +00:00
skrll
135dee25e2
Fix the list of files that get created in a hp700 build.
2004-07-01 10:19:31 +00:00
hannken
f59f039ea5
Keep a pointer to the leaf mount. Needed for write gating where a
...
file system gets suspended and has layered mounts above it.
Welcome to 2.0G
Reviewed by: Bill Studenmund <wrstuden@netbsd.org>
2004-07-01 10:03:29 +00:00
pk
a61069b899
Revision 1.27 of clock.c applies to the Intersil interrupt, not sun4m timers.
2004-07-01 09:59:00 +00:00
is
020c431dc5
disestablish the interupt if we fail to (among other things) download
...
the firmware successfully. This prevents the kernel from crashing later
at interupt enable time, if firmware download fails like with my 3c990B
card.
2004-07-01 08:34:24 +00:00
skrll
aeb58ad6a0
Add a cerror.S and re-work various syscalls and SYS.h to use __cerror.
...
With help from the OpenBSD version of SYS.h.
2004-07-01 06:50:04 +00:00
petrov
ef4d3a19c3
iommu_dvma_load_raw: reserve extra dvma page. Fixes PR #13654 .
2004-07-01 06:40:36 +00:00
junyoung
844c9270d0
Add missing MKCVS, MKKERBEROS4, MKPOSTFIX, MKSENDMAIL, and MKUUCP.
...
Note that some variables are still missing, since i'm not sure how
to describe them...
Bump date.
2004-07-01 06:09:57 +00:00
jmc
71a252d58b
Add some checks for gcc around a few function declarations and note the
...
unused variables. Also fix a few other warnings that PR#22118 shows when
trying to compile bmake on non-NetBSD hosts
2004-07-01 04:39:30 +00:00
kleink
25662013ee
Add the kernel to the includes search path; ipf.c depends on it.
2004-07-01 01:41:16 +00:00
pk
b7d8cee837
The sc_range and sc_nrange fields are no longer used.
2004-06-30 21:41:36 +00:00
pk
9d70d77aae
sbus_attach: use bus_space_tag_allocate();
...
sbus_bus_map: use bus_space_translate_generic();
sbus_bus_addr: use BUS_ADDR().
2004-06-30 21:37:49 +00:00
pk
889aa9f444
Introduce bus_space_tag_alloc() for the common parts of bus tag allocation.
2004-06-30 21:16:38 +00:00
drochner
d45473e8a3
fic the <close-to-1>^<huge number> fix as in e_pow.c
2004-06-30 18:45:25 +00:00
drochner
a6d8e4cf79
-fix a long-standing bug which affects the <close-to-1>^<huge number> case
...
(fixed in fdlibm-5.3)
-being here, sync with -5.3 as far as possible (There is another bugfix -
sign in overflow/underflow cases -; this doesn't change anything for us
because the wrapper (w_pow.c) fixes this up. Keep things in sync anyway
to ease further maintainance.)
2004-06-30 18:43:15 +00:00
hannken
8b477ad955
When we expunge an unreferenced file from a snapshot its size may be zero.
2004-06-30 18:42:17 +00:00
drochner
b6fcfe5309
shut up lint's "long long" warnings
2004-06-30 17:51:09 +00:00
hannken
7ca8e916c9
Do LAYERFS_REMOVED for vop_rmdir.
...
Reviewed by: Bill Studenmund <wrstuden@netbsd.org>
2004-06-30 17:42:55 +00:00
christos
75c2e1e75a
Introduce a zerror() function that can be conditionally compiled out to
...
save space. share all error strings in a single array.
2004-06-30 15:44:55 +00:00