bjh21
3c8394c448
Centralize the various checks for validity of a CPU context in one macro,
...
so we don't have to get it right in lots of different places.
2006-08-05 22:54:28 +00:00
bjh21
d97d9a1480
Xarm32VIDC has supported pckbd(4) for several releases now, so it's probably
...
safe to stop using rpckbd(4) in wscons configurations.
2006-08-05 22:33:44 +00:00
sanjayl
265929b20e
1st cut of Powermac G5 support (uses bridge mode).
2006-08-05 21:26:48 +00:00
bjh21
69c3a7ed34
bcopy -> memcpy
...
bzero -> memset
2006-08-05 21:25:39 +00:00
bjh21
758ec34161
ANSIfy, un-__P, and generally KNF.
2006-08-05 18:22:57 +00:00
bjh21
21a0df473c
This file seems to be unused, left behind by the last I^2C overhaul.
...
Remove it.
2006-08-05 16:44:43 +00:00
bjh21
1426eb6e49
ANSIfy, un-__P, light KNF.
2006-08-05 16:38:57 +00:00
mhitch
74f4d61b61
gcc4 fix: change a couple of volatile void functions.
2006-08-04 02:32:30 +00:00
mhitch
710f94acb4
gcc4 fix: needs string.h
2006-08-04 02:30:48 +00:00
mhitch
856bf4faf5
gcc4 fix: needs stdlib.h
2006-08-04 02:30:00 +00:00
mhitch
7e08a789a6
gcc4 fix: correct declaration of 'end'.
2006-08-04 02:26:49 +00:00
mhitch
1b474f00d6
gcc4 fix: change prototype and definition of volatile void usage().
2006-08-04 02:23:23 +00:00
mhitch
370e3a585e
gcc4 fix: need to cast string variable.
2006-08-04 02:21:19 +00:00
mhitch
8511e80fdb
gcc4 fix: gcc4 more strict on checking signed/unsigned.
2006-08-04 02:19:55 +00:00
mhitch
5a37c00320
gcc4 fix: gcc4 bug generates a label twice. This label can't be conveniently
...
ignored like bpendtsleep, but a clue from the commit skipping the bpendtsleep
label for vax provides a workaround. Move the label to an earlier location
and gcc4 only generates one label. The label just marks the start of
memory protected during a memory test, so excluding a little more memory
from that test should be fine.
2006-08-04 02:17:34 +00:00
mhitch
26264a025e
gcc4 fix: correct of couple of casting errors picked up by gcc4.
2006-08-04 02:09:19 +00:00
mhitch
7e0fcda313
gcc4 fix: include sy/device.h to pick up a definition of something which
...
I've forgotten - needed by gcc4.
2006-08-04 02:07:59 +00:00
mhitch
ce5b58c8c7
gcc4 fix: gcc3 was apparently more lax in structure declarations - change
...
order of including nextkbdvar.h and wskbbdmap_next.h.
2006-08-04 02:05:12 +00:00
mhitch
b9021f4ff0
gcc4 fix: correct declaration of 'end'.
2006-08-04 01:58:49 +00:00
mhitch
1f636ff58a
gcc4 "uninitialized" variable; previous workaround doesn't satisfy gcc4 -
...
explicitly initialize drq.
2006-08-04 01:56:42 +00:00
mhitch
4016823297
gcc4 fix: needs stdlib.h
2006-08-04 01:51:31 +00:00
mhitch
3264771d41
gcc4 fix: static devsw didn't match the prototype.
2006-08-04 01:50:30 +00:00
mhitch
c97e01a899
gcc4 fixes: need to include stdlib.h; fix prototype and definition of
...
local error() function.
2006-08-04 01:48:02 +00:00
mhitch
fa97ed2f83
More gcc4 "uninitilized" variables.
2006-08-04 01:45:05 +00:00
mhitch
425bfd4d05
gcc4 "uninitialized" variables; just like pmap_motorola.c and amiga/pmap.c.
2006-08-04 01:44:12 +00:00
bjh21
62d6ab40d3
Support for timecounters on acorn32, supplied by Mike Pumford. Only
...
compile-tested by me, but he promises it works.
2006-08-03 23:19:06 +00:00
mhitch
977da07ffe
gcc4 checks for and warns of matching constraints that don't specify
...
a register operand. Remove the matching constraint and change the output
operand constraint from "=m" (write-only) to "+m" (read-write).
2006-08-03 20:32:07 +00:00
mhitch
23e6dfaccf
Add a new ADOS partition type, "RAI?" to specify a RaidFrame partiion
...
which can then be autoconfigured. Currently can only use the 'c'
partition of the raid* device, since there will be no RDB on the device.
2006-08-03 20:29:54 +00:00
mhitch
1553e3ad3f
gcc4 uninitialized warning - initialize the darned thing like pmap_motorola.c.
2006-08-03 20:26:24 +00:00
mhitch
7f15b0ef11
gcc4 checks for and warns about specifying a general register constraint
...
for operands that won't accept an address register. Change constraint
to specify only a data register.
2006-08-03 20:24:57 +00:00
hubertf
db43815c20
Add commented-out "joy* at eap?" & point people at eap.4 before enabling.
...
Per discussion with drochner@
2006-08-03 00:19:21 +00:00
reed
242dae6299
Fix comment, removed some periods at end of a couple comments (not all),
...
and alphabetize "ral" before "re".
This will make it easier to diff with GENERIC_LAPTOP.
No real changes.
2006-08-02 16:24:29 +00:00
reed
35728fe8e7
Fix some comments, tabs or indenting, and some ordering
...
to make this easier to diff with the GENERIC config.
No real changes.
2006-08-02 16:20:45 +00:00
jmcneill
165e6acd89
Allow unichromefb(4) to be the system console.
2006-08-02 01:44:50 +00:00
he
788b068ad5
Bump SYMTAB_SPACE so that it fits again.
2006-08-01 22:21:19 +00:00
hubertf
ded0447fa8
spc(4) can also attach to pcmcia(4), as was already in hpcmips/GENERIC
...
for quite some time. Add it to all systems that have pcmcia SCSI.
Pointed out by Björn Johannesson <rherdware@yahoo.com> in private mail,
OK'd by matt@
2006-07-31 23:29:54 +00:00
he
ade3eb1a11
Also comment out audio* at audiobus? now that no audio device is available.
2006-07-31 22:53:43 +00:00
wiz
a1fd1fd937
Sort twa before twe.
2006-07-31 22:23:09 +00:00
mrg
95543a8e6e
add a new "biosmem_implicit" variable that is set when a bootloader
...
info parser sets "biosbasemem" and "biosextmem" from. check for this
when probing memory size, rather than biosbasemem/biosextmem being
zero which is no longer true. also, make the REALBASEMEM/REALEXTMEM
options work properly with multiboot-booted kernels. fixes PR#33918.
2006-07-31 20:59:07 +00:00
christos
fa94c5cda1
mention the correct PR/33725
2006-07-31 18:40:41 +00:00
christos
596f06d2d9
workaround for PR 33918
2006-07-31 17:07:27 +00:00
ad
39e6d49dad
tcfb_cnattach(): pass the slot address through TC_PHYS_TO_UNCACHED() in
...
case the PROM hands us a physical or KSEG0 address.
2006-07-31 00:19:05 +00:00
bouyer
0a5662efed
Add twa(4) and ld at twa
2006-07-30 17:55:31 +00:00
bouyer
7877547494
Add twa(4) and ld at twa where it makes sense.
2006-07-30 17:53:50 +00:00
simonb
6c1cfac08b
Add support for 82945GM and (untested) 82945P AGP. FreeBSD and
...
Linux both treat the 945 series exactly the same as the 915 series
for AGP, so just match a few extra device IDs.
2006-07-30 04:23:44 +00:00
ad
d8360081f7
Remove RASTERCONSOLE support from the pmax port.
2006-07-29 19:10:56 +00:00
kiyohara
43b03eea5b
Alphabetical order.
2006-07-29 19:02:28 +00:00
riz
dd3bbab5ac
Change "-mcpu=i486" to "-mtune=i486" so this will compile with gcc4.
2006-07-28 20:16:14 +00:00
hannken
fc67a08a9c
Remove 'unused variable p'.
2006-07-28 14:08:11 +00:00
simonb
7056ad57e0
Remove a few trailing blank lines.
2006-07-28 08:15:29 +00:00
drochner
84f50d1b92
don't install <machine/db_machdep.h>, this is kernel only
2006-07-26 19:54:56 +00:00
elad
0050618207
deprecate "options VERIFIED_EXEC"
...
veriexec pseudo-device doesn't need a count anymore too
XXX: port masters should propagate this to their ports
2006-07-26 15:34:39 +00:00
tron
30d6332135
Bluetooth fixes by Iain Hibbert:
...
Remove bthset(4) device and add btsco(4) in its place. This is an
improved version which is not just for headsets, as it can receive
incoming connections (eg for Hands Free Profile). Update bthset(1)
control utlitiy to relate to new device.
2006-07-26 10:43:01 +00:00
tron
4241fec1bf
Bluetooth fixes by Iain Hibbert:
...
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00
martin
a8770a2683
Make it compile again
2006-07-26 08:09:21 +00:00
cube
cad5e9a56c
Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
...
already an attachment to the interface attribute (atapi and scsi).
Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
2006-07-26 07:00:23 +00:00
elad
ddf6300b26
typo; from Arnaud Lacombe, thanks!
2006-07-25 18:43:15 +00:00
elad
290bf1e3e7
fix typoe; thanks ober
2006-07-25 18:14:20 +00:00
riz
e0f4b4c3cf
Adapt to change in args for falloc(). Reported by Hisashi T Fujinaka
...
on current-users.
2006-07-25 05:14:38 +00:00
mrg
9eca1294f7
fix a typo in a comment and a very minor KNF.
2006-07-25 00:23:38 +00:00
gdt
cf30106955
Add UGEN_BULK_RA_WB, requested by cube@.
2006-07-24 17:41:30 +00:00
kardel
587059915b
get tickle_tc() prototyped unconditionally
2006-07-24 16:37:24 +00:00
gdt
f9f3dc0a85
Add UGEN_BULK_RA_WB, which allows users of ugen(4) to request read
...
ahead and write behind, improving performance for the Universal
Software Radio Peripheral (USRP) used with GNU Radio.
Enable UGEN_BULK_RA_WB in GENERIC and GENERIC_LAPTOP; behavior is
unchanged unless the new ioctl is called.
This code was written by Joanne Mikkelson under funding from DARPA's
ACERT program.
ok'd by christos@, tested by Berndt Josef Wulf
2006-07-24 14:24:48 +00:00
drochner
53f4a934ae
revert previous (executable mapping of data needed for secondary CPU
...
spinup), this is not needed anymore
2006-07-24 10:57:13 +00:00
drochner
b5d3716437
Set the "NXE" bit (if available) early, before the cpu_info struct
...
is accessed. Without this, the (secondary) CPU chokes on the NX bit in
the PTE.
2006-07-24 10:55:25 +00:00
ad
f474dceb13
Use the LWP cached credentials where sane.
2006-07-23 22:06:03 +00:00
uwe
68272cc770
tlb_exception: Move and indent TLB_ASSERT to reduce visual clutter.
...
Fix function name in the panic message. Print expevt on panic.
Split panic message so that the dumped numbers are on a separate line.
2006-07-22 22:43:43 +00:00
uwe
3ed02eac7c
exp_type[] was constified in exception.c but an extern declaration in
...
db_interface.c was not updated. Declare it publicly. While here,
constify the array itself too.
2006-07-22 21:58:29 +00:00
tsutsui
84180e1158
- reorganize bootinfo structures and fix bootinfo handling in bootloader
...
(mostly based on pmax)
- pass symbol info from bootloader to kernel via bootinfo
(currently bootinfo is allocated in the bootloader and
copied by kernel later; maybe we should rethink about this)
- use passed bootinfo to initialize ksyms(4) in kernel
- remove options SYMTAB_SPACE from kernel config files
- bump bootloader version
2006-07-22 18:15:05 +00:00
tsutsui
6efaa65c79
Add "-I${S}/../common/include" to CPPFLAGS for libprop sources in libkern.
...
XXX: shouldn't this be handled by sys/lib/libkern/Makefile.inc?
2006-07-22 14:11:35 +00:00
tsutsui
83d364980f
TAB/space cleanup.
2006-07-22 06:58:17 +00:00
tsutsui
ecc22258ee
- remove parentheses from return
...
- remove trailing spaces
2006-07-22 06:42:41 +00:00
tsutsui
999dc402f0
KNF, remove register decls
2006-07-22 06:40:44 +00:00
tsutsui
9b4ab881f1
- include <m68k/m68k.h> for fputype decl
...
- some KNF
2006-07-22 06:40:20 +00:00
tsutsui
2bf43cdfa1
remove __P(), ANSIfy, KNF, use pmap_t rather than struct pmap *
2006-07-22 06:37:27 +00:00
tsutsui
2895c250c2
KNF, ANSIfy, remove register decls
2006-07-22 06:36:06 +00:00
tsutsui
4d891ed888
KNF and misc cosmetics
2006-07-22 06:34:41 +00:00
tsutsui
f430313b2d
- remove unused decls.
...
- remove parentheses from return arg
2006-07-22 06:32:17 +00:00
tsutsui
c15c158ffc
KNF, ANSIfy, de-__P(), bzero() -> memset()
2006-07-22 06:27:00 +00:00
uwe
acfbe0b252
Report traps from user break controller as ksi_code = TRAP_TRACE
2006-07-22 03:22:15 +00:00
uwe
2e7b010133
Minor cosmetics.
2006-07-22 03:06:56 +00:00
uwe
43d9f78e91
Using "irq" in different functions to either x or 1<<x is confusing.
...
Rename.
2006-07-22 02:13:06 +00:00
uwe
c50fbd7f2b
We don't need to update HD6446X_NIMR when (dis)establishing an
...
interrupt as splx will update it from the recomputed mask anyway.
2006-07-22 01:53:49 +00:00
uwe
485a350c1b
hd6446x_intr_priority_update: simplify.
2006-07-22 01:34:55 +00:00
uwe
e8ceae81ee
Shave off one instruction in hd6446x_intr_raise.
2006-07-22 01:16:16 +00:00
tsutsui
b6558b0616
Use bus_space_map(9) and bus_space_vaddr(9).
2006-07-21 18:40:58 +00:00
tsutsui
a75de8e2db
Use more proper macro.
2006-07-21 18:11:01 +00:00
tsutsui
3c612311d0
Use bus_space_map(9) and bus_space_vaddr(9) rather than iomap().
2006-07-21 18:05:30 +00:00
tsutsui
888ea5adc5
Use macro defined in dioreg.h.
2006-07-21 15:14:11 +00:00
tsutsui
7d4b57d7bc
Some KNF.
2006-07-21 10:01:39 +00:00
bjh21
cf7ce97e4b
Silly error: xos_cli() should call XOS_CLI, not OS_CLI.
2006-07-20 23:35:20 +00:00
tsutsui
2e21abf224
Identify models HP362 and HP382. From OpenBSD, tested on my HP382.
...
Note now options HP362 and options HP382 are required for these models
in your kernel config file.
2006-07-20 13:21:38 +00:00
rumble
ec5b122721
Regen.
2006-07-20 13:12:32 +00:00
rumble
4d3ba0cd44
Beautify.
2006-07-20 13:12:01 +00:00
rumble
db767e167c
Add entries for the Phobos G100, G130 and Set Engineering GIO Fast Ethernet
...
cards.
2006-07-20 13:11:27 +00:00
bjh21
5bdcc8987d
-mshort-load-words has been removed in GCC 4. It was only an optimisation,
...
so just stop using it.
2006-07-20 10:53:12 +00:00
rumble
b0631951f9
Disable haltwo(4) by default. The driver does not properly determine when
...
the audio hardware is not present and causes a hang on Challenge-S systems.
Approved by pooka@ and sekiya@.
2006-07-20 10:37:25 +00:00
kochi
c8920f2898
eliminate bogus acpi debug #define symbols
2006-07-20 05:05:26 +00:00
ad
2b79369c7e
- Hold a reference to the process credentials in each struct lwp.
...
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.
2006-07-19 21:11:37 +00:00
tsutsui
2c2371cf55
Adjust comments.
2006-07-19 19:29:02 +00:00