lukem
af17a5d8f3
fix -Wsign-compare issues
2009-01-18 07:05:53 +00:00
isaki
d81422fa96
struct device * -> device_t
2009-01-18 05:23:34 +00:00
rmind
d1efa8f729
- Avoid calling sched_catchlwp() if CPUs have different processor-sets.
...
- sched_takecpu: check for psid earlier (be more strict).
PR/40419.
2009-01-18 05:07:51 +00:00
isaki
34b7dffc11
- malloc() + memset(0) -> malloc(M_ZERO).
...
- remove temporary variable.
2009-01-18 05:00:39 +00:00
isaki
0a5ccf5143
Delete 10 years old #if 0'd comments in intio.c, locore.s.
...
According to the old comment, the interrupt handler via intiotrap
should set his interrupt level again, but it's not right. And
don't set it again by interrupt hander.
2009-01-18 04:48:53 +00:00
tsutsui
45c7e466ca
wscons(4) support for cgthree and cgsix have been pulled up to netbsd-5.
...
XXX1: We have to check all pulled up changes and update CHANGES.prev.
XXX2: We should also check all visible changes that are worth to pullup?
2009-01-18 04:11:38 +00:00
tsutsui
af4a212938
- add more visible changes
...
- tweak some entries (sort, periods etc.)
2009-01-18 04:02:59 +00:00
lukem
cadac39416
fix -Wsign-compare issues
2009-01-18 03:43:45 +00:00
tsutsui
4459b5fdab
I really hate silly hacks inside #ifndef _STANDALONE in libsa sources...
2009-01-18 02:59:02 +00:00
isaki
8ca78cfb4e
Clean up header files.
2009-01-18 02:40:05 +00:00
christos
f5c11c0781
Fix struct passwd time fields. From Shin'ichiro TAYA
2009-01-18 01:44:09 +00:00
lukem
a09351730c
fix -Wsign-compare issues
2009-01-18 01:34:30 +00:00
bjh21
37ed0e6257
Need <arm/cpu.h> for GET_CURPCB.
...
Also, while it's true that at the moment struct user only contains
struct pcb, we probably shouldn't rely on that.
2009-01-18 01:31:58 +00:00
lukem
ab93b4bc61
fix -Wsign-compare issues
2009-01-18 01:31:12 +00:00
bjh21
554b5f62a3
Need <arm/cpu.h> for GET_CURPCB.
2009-01-18 01:30:44 +00:00
lukem
c172e3b989
fix -Wsign-compare issues
2009-01-18 01:29:57 +00:00
bjh21
9c8add5aef
Now that GET_CURPCB and GET_CURCPU are generally available, use them
...
unconditionally rather than rolling our own (often badly) all over the
place.
2009-01-18 01:19:32 +00:00
bjh21
1175501ea1
Let the assembler generate my literal pools for me, since that makes things
...
more readable.
2009-01-18 01:17:07 +00:00
lukem
0449f26fed
fix -Wsign-compare issues
2009-01-18 01:02:41 +00:00
lukem
aadf5fe187
Fix -Wsign-compare issues:
...
* Provide our own TOKEOF enum, rather than using stdio's EOF (which is signed)
* Use tokid_t instead of int where appropriate
2009-01-18 01:02:31 +00:00
agc
4d23086ab7
Bump shared lib versions for libdevmapper following the 64bit time_t/dev_t bumps
2009-01-18 00:44:33 +00:00
lukem
fb103c5334
fix -Wsign-compare issues
2009-01-18 00:37:53 +00:00
bjh21
c5c9311d80
Define a version of GET_CURCPU, GET_CURLWP, and GET_CURPCB for use on
...
old uniprocessor ARMs, and re-arrange the ifdefs so that it gets
used on 26-bit systems as well. This allows us to uniformly use these
macros everywhere.
2009-01-18 00:36:29 +00:00
lukem
70d3d32311
fix -Wsign-compare issues
2009-01-18 00:36:20 +00:00
lukem
c6144e484f
fix -Wsign-compare issues
2009-01-18 00:24:29 +00:00
lukem
0fdc53711f
Use KiB MiB GiB instead of Kb Mb Gb
2009-01-18 00:21:09 +00:00
lukem
1881cc846a
* Fix -Wsign-compare issues.
...
* Add some XXXs noting where we might want to check for 16bit overflow.
* Use uintNN_t instead of int if the values is read from or written to
using udf_rwNN().
2009-01-18 00:18:41 +00:00
hans
ec644bbf21
Use ll instead of non-standard q as length modifier in format strings.
...
Makes this work on Solaris. OK by apb.
2009-01-17 23:24:30 +00:00
bjh21
85608d883e
Clear out the vestigial support for the Simtec Hydra board. Now that we're
...
getting support for proper SMP ARMs, keeping non-functional support for
a seriously crippled not-really-SMP system is likely to cause more problems
than it's worth, even if it was fun for a while.
2009-01-17 22:56:34 +00:00
njoly
77237e1c08
Regen for wait4 update.
2009-01-17 22:34:02 +00:00
njoly
25a76c08aa
Convert linux/linux32 wait(4) to use a compat50 rusage structure.
2009-01-17 22:28:52 +00:00
he
38068400a9
Avoid casting an uisigned to a signed value, thereby invoking formally
...
undefined behaviour. Instead go via u_int and print with %u.
2009-01-17 22:01:32 +00:00
wiz
714b5c355f
Improve description in NAME section:
...
"serial terminal emulator"
From nick@openbsd via jmc@openbsd.
2009-01-17 20:59:01 +00:00
christos
cfd21f4e03
add COMPAT_50
2009-01-17 20:08:07 +00:00
he
0dd0f071a6
Umm, add two spaces which accidentally was left by the wayside.
2009-01-17 19:39:50 +00:00
he
75eff3e6e1
Print dev_t with PRIu64 instead of llu, suggested by mhitch@.
2009-01-17 19:34:28 +00:00
christos
15d0878308
use a separate variable to copy the locale.
2009-01-17 17:56:01 +00:00
mjf
8dae70cc89
Fix printf format for suseconds_t
2009-01-17 17:06:18 +00:00
mjf
53ce0ef17c
Catch up with shlib major bump for all arm platforms.
2009-01-17 17:05:17 +00:00
bjh21
8f2e944cdf
Use more fields from curcup(), specifically ci_dev (replacing the local
...
the_cpu) and the various fields set from the CPU ID register.
2009-01-17 16:08:02 +00:00
pooka
72bb699a15
#ifdef __powerpc__ -> #ifdef PPC_OEA in previous. Forgot that powerpc
...
has 57 billion different pmaps.
(not compile-tested for a full build)
2009-01-17 15:53:15 +00:00
he
994737a3f6
Regenerate files after updating syscalls.master for compat_ultrix:
...
Adapt to the state after the recent time_t change.
Type changes:
timeval -> timeval50
itimerval -> itimerval50
rusage -> rusage50
and use of the compat_50 calls where appropriate.
Untested, but at least it builds.
Discussed with christos@
2009-01-17 15:50:12 +00:00
he
92c667768c
Adapt to the state after the recent time_t change.
...
Type changes:
timeval -> timeval50
itimerval -> itimerval50
rusage -> rusage50
and use of the compat_50 calls where appropriate.
Untested, but at least it builds.
Discussed with christos@
2009-01-17 15:48:06 +00:00
bjh21
a91d2ba8c7
Small tweak to kernel RAS restart code: there's no need to restart if PC
...
is already at the first instruction of the RAS.
2009-01-17 15:43:52 +00:00
christos
099cac49ad
fix debugging build.
2009-01-17 15:25:36 +00:00
he
7a69db4aa6
Use firm_gettime() to retain compatibility with old firm_event. From amiga.
2009-01-17 14:35:06 +00:00
he
2319fa33da
Print dev_t (from major() and minor()) with %llu.
2009-01-17 14:21:29 +00:00
bjh21
76cc88961f
Remove the implementation of cpu_intr_p() from here now that it's in
...
arm/arm_machdep.h. Should fix builds on arm32 platforms. Thanks to
Matt Fleming for reporting the problem.
2009-01-17 14:14:56 +00:00
tsutsui
3f38114d96
Remove __P().
2009-01-17 14:00:36 +00:00
dsl
18e81da746
__predict_false() isn't defined if we aren't netbsd, stub out.
2009-01-17 13:55:42 +00:00