matt
f09665b707
Fix inconsistent prototype. Do some constification.
2008-02-16 07:26:00 +00:00
matt
435b563099
Add build_header.h to DPSRCS
2008-02-16 07:24:36 +00:00
matt
71217509be
Change incorrect use of CFLAGS to CPPFLAGS.
2008-02-16 07:23:37 +00:00
matt
d8485be816
Fix numerous inconsistent variable declaration. Resulting in some minor
...
constification.
2008-02-16 07:20:54 +00:00
matt
2b18923184
siginfocodename returns const char *, not char *.
2008-02-16 07:19:23 +00:00
matt
34d8567b7b
Add ${PROG}-ioctl.c to DPSRCS
2008-02-16 07:17:58 +00:00
matt
4ac975fb16
Add siginfo.c to DPSRCS
2008-02-16 07:17:31 +00:00
matt
3b1e7dbd0b
Fix more -combine fallout. (mismatched definitions)
2008-02-16 07:16:01 +00:00
dyoung
c4923ea4ad
Document -l, -Q, -R, and -S.
2008-02-16 02:00:37 +00:00
ad
99f27439b5
Implement yield().
2008-02-15 23:36:26 +00:00
jmcneill
f92d4497eb
Add missing register definitions.
2008-02-15 22:14:10 +00:00
christos
a686e4e754
back all changes out until I fix it properly.
2008-02-15 21:29:50 +00:00
christos
4b3df4502b
Improve dh's fix:
...
- make sure i is initialized
- don't subtract 1 in comparison, add 1 to the other side
2008-02-15 20:08:11 +00:00
matt
4498b1fe25
Fix inconsistent definitions
2008-02-15 17:26:06 +00:00
elad
d6faea9863
Allow no signatures file to be specified for the "load" command, and use
...
the default one in such cases.
Update command usage and documentation to reflect the above.
2008-02-15 15:33:56 +00:00
ad
fb00b83874
Give bbusy() an interlock argument. If the we need to wait for the buffer,
...
the interlock is dropped and reacquired when awoken. This allows for
busying buffers attached to a list that is not locked by bufcache_lock.
2008-02-15 13:46:04 +00:00
ad
b2fa822a33
The buffer LOCKED flag need not be under the protection of bufcache_lock,
...
BUSY is enough.
2008-02-15 13:30:56 +00:00
gson
f3b879c064
Fix unaligned write to PCI configuration space. Should fix PR kern/37824.
2008-02-15 13:28:25 +00:00
ad
b0dbb911e1
Regen.
2008-02-15 13:10:23 +00:00
ad
653195d46d
Mark mount/unmount MPSAFE. PR kern/38034.
2008-02-15 13:09:57 +00:00
ad
74d14c2433
Add dummy hardclock_ticks.
2008-02-15 13:07:02 +00:00
ad
13df0c89b3
vflush: yield at least every 100ms. PR kern/38034.
2008-02-15 13:06:02 +00:00
tsutsui
00bd6f7500
Remove obsolete platform support options.
2008-02-15 12:28:09 +00:00
skrll
4cfa0739ca
Cast via (uintptr_t) in RAS_ADDR to deal with hppa RAS_DECL weirdness.
2008-02-15 09:50:40 +00:00
he
75194e6a79
Typo correction: s/than/that/ in one instance.
2008-02-15 09:24:52 +00:00
dholland
cb84a8637d
fix typo in comment
2008-02-15 09:18:56 +00:00
dholland
a9c8da72a1
Avoid SIGSEGV caused by signed/unsigned mismatch. (hi xtos)
2008-02-15 08:55:31 +00:00
uwe
16d9a389fe
sh4_switch_resume: Now that r2 is free use it to keep SH4_PTEH to
...
avoid re-fetching it uncached while running on P2.
2008-02-15 04:37:37 +00:00
uwe
cbd01ac88b
Prettify sh4_switch_resume - <TAB> between operands only makes the
...
code hard to read as any intdended "neatly lined up" effect is
destroyed by long label names anyway.
G/c unused SH4_ITLB_AA.
No functional change.
2008-02-15 04:11:08 +00:00
uwe
1e93965e99
Use dt instruction for the loop, free r2 we used as a counter.
2008-02-15 04:03:17 +00:00
uwe
b5a1661b3f
sh4_switch_resume: don't jump back to P1 b/c we are going to return
...
immediately after that anyway and our caller is in P1.
Besides we were not switching to P1 anyway, b/c mova is pc-relative so
without additional arithmetic we were still jumping to a P2 address.
2008-02-15 03:52:15 +00:00
uwe
10bd77c376
We don't need to/can't wire u-area if we use P1_STACK.
...
Not actually tested the P1_STACK case, but I guess it was never tested
on SH4 anyway (it would write garbage to TLB). It used to work on SH3
b/c "wiring" was done using curupte hack and that was just an
innocuous pointer update.
2008-02-15 03:16:10 +00:00
uwe
2a753fff49
G/c vestiges of curpute hack that was obsoleted by the fast TLB miss handler.
...
sh3_switch_setup() has nothing to do now so don't bother calling it.
2008-02-15 03:02:43 +00:00
uwe
5130d8b2db
G/c vestiges of curpute hack that was obsoleted by the fast TLB miss handler.
...
sh3_switch_setup() has nothing to do now.
2008-02-15 02:55:57 +00:00
christos
e654b454bc
remove error/noerror const
2008-02-15 02:50:53 +00:00
christos
649f359b39
fix != expansion bug I introduced.
2008-02-15 02:38:07 +00:00
christos
4d9d6704c1
- symbolic names for error and no error
...
- more size_t
2008-02-15 02:37:51 +00:00
uwe
8b441bdff6
G/c vestiges of curpute hack that was obsoleted by the fast TLB miss handler.
2008-02-15 02:34:46 +00:00
uwe
cde91eb236
If we are returning from a nested interrupt we know we are returning
...
to kernel so we can skip the PSL_MD check.
2008-02-14 22:46:14 +00:00
christos
2b28370627
- use pid_t/size_t as appropriate instead of int.
...
- use %ld to print pids.
- fix a bit of lint.
- WARNS=4
2008-02-14 22:11:20 +00:00
ad
377f098ab0
Adjust mutex/rwlock definitions to match reality now that there is only
...
one implementation of each. PR lib/38030.
2008-02-14 21:40:51 +00:00
garbled
86a2448d10
Some powerpc cleanup. Remove unneeded/bad usage of extern oeacpufeat.
...
Convert asm code to use %r register format. Done by comparison to
disassembled output, double checked with diff of dissasembled output
before and after, and test booted on my 7044.
2008-02-14 19:41:54 +00:00
tnn
c4bfcd4e81
Add a history section and a compatibility section.
2008-02-14 18:08:35 +00:00
ad
bd48672369
- Clarify how this works.
...
- Note the locking rules.
2008-02-14 17:39:50 +00:00
ad
d4c279feec
- Remove pointless AUTHORS section.
...
- Remove implementation details.
2008-02-14 17:25:51 +00:00
he
663b0ebf3e
Don't include <powerpc/oea/pmap.h>, use <powerpc/pmap.h> instead.
...
Discussed with garbled@, fixes build problem for LKMs.
2008-02-14 15:21:22 +00:00
ad
ac336fcd77
Remove 'contributed to' text from the TNF license on this file, so that
...
it can not be complained about.
2008-02-14 15:01:45 +00:00
ad
60c1b8843d
Make schedstate_percpu::spc_lwplock an exernally allocated item. Remove
...
the hacks in sparc/cpu.c to reinitialize it. This should be in its own
cache line but that's another change.
2008-02-14 14:26:57 +00:00
ad
71eb65050c
Make sparc use atomic_cas_ulong() for mutex and rwlock operations, and
...
disable the custom mutex/rwlock code. PR port-sparc/37930. ok martin@
2008-02-14 14:07:35 +00:00
yamt
8ae4ab89dd
use time_uptime instead of getmicrotime() for ph_time.
2008-02-14 11:45:24 +00:00