Commit Graph

166946 Commits

Author SHA1 Message Date
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
matt
a54b0d709b Add multiple inclusion protection.
add oeacpufeat.
2008-02-14 05:35:36 +00:00
joerg
2fa7e92d02 Missing assym.h dependencies. 2008-02-14 00:35:56 +00:00
joerg
7eb4a6d1de Fix syntax. 2008-02-14 00:25:39 +00:00
joerg
34021e2617 Add missing assym.h dependencies. 2008-02-14 00:09:36 +00:00
joerg
cf13ecfa10 GC unused variable. 2008-02-14 00:04:51 +00:00
joerg
75501168d3 Add missing assym.h dependencies. 2008-02-13 23:37:17 +00:00
garbled
53ee4a269c Fix a botch in the comparison of two addresses, where I forgot to add in
the offset of a range.  With this fix to the openpic initialization,
ofppc now boots single user on a 7046-B50.  Thanks to Jochen Kunz for
giving me remote access to a B50 to hack on it.
2008-02-13 21:12:32 +00:00
garbled
dc6a7fd211 Add support to ofwboot for booting on the 7046-B50. Also likely to work
on the 7043-150.  The B50 wants not only a note at the head of the
binary, like the 7044 did, but it also wants a PHDR that points at it.
Because the IBM firmware doesn't like the real note section that ld
generates (it puts it at the end of the file), we instead point PT_NOTE
at the text section.  This works, because at the top of the text section,
there is a note hacked in, which was required for the 7044.

Also, change the mode from virtual mode to real mode in the note, because
the B50 hangs if you load it in virtual.  Tested to work on a B50, 7044,
and Pegasos2.

Yay IBM.
2008-02-13 20:11:38 +00:00
drochner
85b70008e0 make the mutex securing a flag which controls screen switched adaptive
for sanity -- it is not yet in a code path which is called from
keyboard interrupt handlers
2008-02-13 19:01:35 +00:00
drochner
e6c8051893 -if an RSDT entry points to a table with invalid checksum, print
a warning and continue, rather than aborting -- some BIOSes disable
 tables this way (in my case the TCPA table if the TPM is disabled)
-no terminating newline in err(3) calls
2008-02-13 18:59:18 +00:00
matt
88f1e662d1 #include <sys/cpu.h> for curlwp 2008-02-13 18:43:16 +00:00
matt
c32578800f Fix typo (casdata/cashash) 2008-02-13 18:42:36 +00:00
matt
9a46bba2ed Add IPL_VM 2008-02-13 18:41:35 +00:00
matt
c905608a9f Add VAX_PHYS_TO_S0 (for asc_tcds)
Include <machine/cpu.h> for badaddr
2008-02-13 18:41:05 +00:00
jmcneill
a95bb300e8 Disable audio idle timer. It was a fun experiment, but causes more issues
than it was worth.
2008-02-13 18:31:51 +00:00
matt
14f857fff2 Update to c99. 2008-02-13 17:41:09 +00:00
macallan
c46b52294a add bus_space_mmap() 2008-02-13 17:00:12 +00:00
christos
64059bbbda PR/38017: Greg A. Woods: rpcinfo -s broke after coverity fixes. 2008-02-13 16:15:18 +00:00
skrll
5bee90fecc s/MUTEX_DRIVER/MUTEX_DEFAULT/
The only true NetBSD mutex type.
2008-02-13 16:04:03 +00:00
skrll
49c62025b3 Fix some pastos. 2008-02-13 16:00:18 +00:00
jmcneill
95fc3f2649 Add hw.acpi.supported_states sysctl node:
$ sysctl hw.acpi.supported_states
  hw.acpi.supported_states = S0 S3 S4 S5
2008-02-13 15:27:55 +00:00
jmmv
d5094734ca Add tests for rillig@'s recent fix to mount_tmpfs: ensure that error messages
do not mention the source path, which is unused.
2008-02-13 14:58:42 +00:00
rillig
ee53edd89b Print the second parameter in the error messages, since the first is
ignored anyway.

ok'ed by jmmv@.

NB: I didn't add a regression test for this because of lack of knowledge,
as the existing tests don't seem to follow the regress/README file.
2008-02-13 14:24:12 +00:00
rillig
a4cbf0b5a3 The first non-optional parameter is ignored by this program.
ok'ed by jmmv@.
2008-02-13 14:21:57 +00:00
tsutsui
0a19cf05af Use options<space><tab>.
XXX FIREPOWER options are obsolete?
2008-02-13 14:10:05 +00:00
tsutsui
824240f743 options<space><tab> 2008-02-13 14:05:06 +00:00
tron
1112a56975 Regen. 2008-02-13 13:57:00 +00:00
tron
9886b76c16 Import PCI ids for the Matrox MGA G200e and the Intel E7230 and 82975X
chipsets from OpenBSD.
2008-02-13 13:56:46 +00:00
joerg
f04ccd71b4 Set unique mode for the history, so that repeating a command doesn't
spam the history.
2008-02-13 12:57:16 +00:00
tron
63fdde0f21 Avoid error message in "obsolete" check if "/usr/X11R6/lib" doesn't exist. 2008-02-13 12:55:56 +00:00
tron
01e5108f0e Don't fail the X11 check if "/usr/X11R6/lib" doesn't exist. This is
perfectly valid setup (e.g. no X11 or modular X11 from "pkgsrc").
2008-02-13 12:52:14 +00:00
joerg
e7de9c0dbb ANSIfy. 2008-02-13 12:48:11 +00:00