he
0585b687ec
Add two instances of an overlooked indirection.
2007-03-05 21:08:24 +00:00
he
5ae7dde94e
Cast to uint8_t* or char* before indexing or doing pointer arithmetic.
2007-03-05 21:06:24 +00:00
he
edd27801a8
Use a helper variable so that we can index it as an array.
2007-03-05 21:05:35 +00:00
dogcow
f18ef70a25
semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
...
caddr_t fallout.
2007-03-05 21:05:00 +00:00
he
7ee7450e6f
Cast to char* before doing pointer arithmetic.
2007-03-05 20:55:45 +00:00
christos
47c1e3335d
another caddr_t botch
2007-03-05 20:53:34 +00:00
he
9f6b24c0fa
Cast to char* before doing pointer arithmetic.
2007-03-05 20:48:42 +00:00
he
f1f47464be
Cast to char* before doing pointer arithmetic.
2007-03-05 20:38:19 +00:00
he
a24f5d1f55
Convert "void * a, b, c;" to "void *a, *b, *c;" to make this build again.
2007-03-05 20:34:51 +00:00
he
068d2b32bc
Use char* for pointer arithmetic.
2007-03-05 20:30:09 +00:00
he
3ba91b0595
Propagate volatile-ness from g_fbkva or g_regkva etc. as best as possible.
...
Some uses of __UNVOLATILE(), either in preparation of calls to bcopy()
or in the invocations themselves.
2007-03-05 20:29:07 +00:00
he
9b5b94d987
Cast to char* before doing pointer arithmetic.
2007-03-05 20:00:00 +00:00
he
8ecc297897
Do pointer arithmetic on char* or u_char* pointers.
2007-03-05 19:58:43 +00:00
he
8247f5f1d2
Make the various graphics card drivers compile again.
...
Use casts to char* before pointer arithmetic.
Try to preserve `volatile' qualification where possible, though
uses of kvtop(), strcpy(), copyin() and copyout() gain an unfortunate
but probably unavoidable __UNVOLATILE().
Correct various instances of "void *ba, fb" to have * in front of fb as well.
Remove some redundant parenthesis pairs in some of the vga* macros.
2007-03-05 19:48:19 +00:00
he
b5a6705297
Fix one missing indirection causing a type conflict, and use char* for
...
pointer arithmetic.
2007-03-05 18:46:41 +00:00
he
51b20dc64d
Use char* for pointer arithmetic.
2007-03-05 18:43:30 +00:00
he
d6887d96f0
Fix one missing indirection causing a type conflict, and use char* for
...
pointer arithmetic.
2007-03-05 18:35:58 +00:00
he
38678ed9a1
Use char* for pointer arithmetic.
2007-03-05 18:33:34 +00:00
he
9c1c8a7683
Use char*, not void* for pointer arithmetic.
2007-03-05 18:25:29 +00:00
matt
398339900b
Use uint8_t * for pointer arith with mbuf data
2007-03-05 18:21:59 +00:00
he
8ed0e0b4a6
Follow Izumi Tsutsui's advice, and use uint8_t* rather than char*.
2007-03-05 18:06:09 +00:00
he
002b93be68
Cast to char* before doing pointer arithmetic.
2007-03-05 17:55:19 +00:00
he
6f4945e435
Do some casts via paddr_t and void* to compute address of msgbuf and
...
pass it to initmsgbuf().
2007-03-05 17:52:26 +00:00
drochner
d880082522
clean up how cpus and ioapics are attached at the mainbus:
...
Seperate "cpubus" and "ioapicbus" -- while they share a common "address
space" (the apic id), the kernel doesn't use this fact. There are different
data passed to cpus and apics, which caused some ugly polymorphism. This
also saves the special "submatch" functions needed to distingush cpus
and ioapics for autoconf. (And it makes that "apid" locators wired
in the kernel configuration are honored now; this allows one to dumb down
an mp box to singleprocessor by userconfig.)
Print "apid" locators in the buses "print" function "as everyone does",
so the per-port cpu drivers don't need to do it.
Being here, constify "struct cpu_functions" and g/c the unused MP_PICMODE
flag.
2007-03-05 16:50:59 +00:00
he
8485493114
Cast to char* before doing pointer arithmetic.
2007-03-05 16:41:03 +00:00
he
f216f1649f
Cast to char* before pointer arithmetic.
2007-03-05 16:39:21 +00:00
he
5d3a459b83
Use a local variable of the appropriate type, assign from argument,
...
and get rid of some casts as a bonus, following caddr_t removal.
2007-03-05 15:55:19 +00:00
he
2d94cf729d
Add a couple of casts to char* before doing pointer arithmetic.
2007-03-05 15:42:23 +00:00
he
ac662e9e5f
Remove an unneeded addition of 0 to what is now a void*.
2007-03-05 15:40:28 +00:00
he
b4a156898e
Need some casts to char* for pointer arithmetic, following caddr_t removal.
2007-03-05 15:36:26 +00:00
he
23e49d8fa8
Need char* for pointer arithmetic done in iwm_fd.c.
2007-03-05 15:32:33 +00:00
he
08cd807f1c
Need char* for pointer arithmetic and array indexing.
2007-03-05 15:29:13 +00:00
tsutsui
f29951d982
Fix caddr_t fallout. Well, this driver is too ugly to read...
2007-03-05 15:05:24 +00:00
tsutsui
90b5f236a9
Use (char *) on pointer arith.
2007-03-05 14:31:08 +00:00
xtraeme
da8fba5413
die caddr_t, die.
2007-03-05 14:30:16 +00:00
christos
fd0949947b
more caddr_t lossage.
2007-03-05 14:27:38 +00:00
tsutsui
0092fa7c2d
MI softintr(9)'fy. Untested.
...
This port needs much more cleanups, it seems...
2007-03-05 13:06:43 +00:00
tsutsui
d5a5c6095d
Allocate msgbufaddr in pmap_bootstrap.c where it's initilized,
...
and move its declaration into <m68k/pmap_motorola.h>.
2007-03-05 12:50:15 +00:00
tsutsui
2735750cca
Add (char *) casts on pointer arith.
2007-03-05 12:37:53 +00:00
tsutsui
980acc7d7b
Remove an unnecessary cast and use (char *) on pointer arith.
2007-03-05 12:30:37 +00:00
tsutsui
cdfa69a5f8
- add missed '*'
...
- vmmap is (char *) in pmap_motorola.h
2007-03-05 12:26:55 +00:00
tsutsui
6dd319dcc5
Use (char *) cast on pointer arith.
2007-03-05 10:50:24 +00:00
tsutsui
4082de62d1
Use (uint8_t *) for RX buffer.
2007-03-05 10:50:01 +00:00
tsutsui
2036f3e3a3
- use (uint8_t *) for buffer args on *_adbcomplete() functions
...
- remove kbd_adbcomplete() decl from akbd.c since it's in akbdvar.h
2007-03-05 10:47:05 +00:00
tsutsui
48174a79c0
Use (char *) cast on pointer arith.
2007-03-05 10:43:32 +00:00
matt
1f1847fbab
Use uint8_t * instead of void */char * for ptr arithmetic.
2007-03-05 08:37:38 +00:00
dogcow
d2c694ade7
fix more caddr_t -> void * fallout.
2007-03-05 04:03:57 +00:00
dogcow
fc8b4c24ce
fix more caddr_t -> void * fallout.
2007-03-05 03:22:06 +00:00
nonaka
e8284b2c49
Use (char *) on pointer arith.
2007-03-05 00:44:31 +00:00
nonaka
cc37e30de1
Use (char *) on pointer arith.
2007-03-05 00:30:58 +00:00
mrg
a4960a24c9
fix fall out from caddr_t changes.
2007-03-04 22:12:43 +00:00
mrg
6b1e46c136
avoid unused variable warnings in pci_up1000_pickintr().
2007-03-04 21:58:16 +00:00
christos
06a8516672
Fix caddr_t fallout.
2007-03-04 19:21:55 +00:00
ad
7c39f19f69
Back out 1.199. It may be causing problems even on UP systems.
2007-03-04 18:00:28 +00:00
chris
282f3bfbc1
Fix caddr_t fallout for cats kernel builds.
2007-03-04 17:55:10 +00:00
yamt
45cdcb0e37
fix fallout from caddr_t changes.
2007-03-04 15:59:31 +00:00
yamt
5b23251544
fix fallout from caddr_t changes.
2007-03-04 15:17:20 +00:00
bjh21
5dbe04b416
Finally make cpufuncs work properly on acorn26, since something seems to be
...
using it. This entailed adding support for ARM2 and ARM2as, and allowing
for getting CPU IDs other than from CP15, since ARM2(as) doesn't have CP15.
2007-03-04 14:47:18 +00:00
yamt
65c9a0b32e
fix fallout from caddr_t changes.
2007-03-04 14:46:45 +00:00
yamt
91302730a6
fix fallout from caddr_t changes.
2007-03-04 14:36:11 +00:00
tsutsui
9584de92d9
Use (char *) casts.
...
Umm, vmmap on sun3/sun3x is vaddr_t, not (char *)...
2007-03-04 14:03:03 +00:00
tsutsui
6b6f21d112
Use (char *) on pointer arith.
2007-03-04 14:01:22 +00:00
tsutsui
a6dd0468f5
Use proper casts.
2007-03-04 14:00:54 +00:00
tsutsui
006ca42cab
Minor space nits.
2007-03-04 14:00:24 +00:00
tsutsui
bc8b643653
Add (char *) casts on pointer arith.
2007-03-04 13:59:47 +00:00
bjh21
d4eec8400b
Un-__P.
2007-03-04 13:42:51 +00:00
bjh21
6c6b1ee9b1
Strip ARM mapping symbols ($a etc) the same was as Makefile.arm does, so
...
as to make DDB's stack traces more useful. It might be better if acorn26
just used Makefile.arm, but one thing at a time.
2007-03-04 13:12:22 +00:00
tsutsui
abbae2fb20
- add missed '*'
...
- vmmap is (char *) in pmap_motorola.h
2007-03-04 12:49:41 +00:00
tsutsui
a4a1365daf
Remove an unnecessary cast and use (char *) on pointer arith.
2007-03-04 12:49:10 +00:00
tsutsui
6286e7e090
Use (uint8_t *) for framebuffer address.
2007-03-04 12:48:38 +00:00
tsutsui
59e2eba553
Use (char *) on pointer arith.
2007-03-04 12:33:32 +00:00
tsutsui
e0696f4b10
Add a proper cast to bus_dmamem_map(9) on mapping shared memory.
2007-03-04 12:31:29 +00:00
tsutsui
81447cbc34
Use (char *) cast on pointer arith.
2007-03-04 12:24:58 +00:00
tsutsui
e2e037b261
Add (char *) cast on pointer arith.
2007-03-04 12:24:09 +00:00
bjh21
c58989c955
src/sys/arch/arm32 is long gone, so stop referring to it.
2007-03-04 12:08:58 +00:00
tsutsui
29c9f71f20
Use (char *) cast on pointer arith.
2007-03-04 12:06:16 +00:00
tsutsui
daeb14ee82
- add missed '*'
...
- vmmap is declared as (char *) in <m68k/pmap_motorola.h>
2007-03-04 12:03:48 +00:00
tsutsui
d5d72a7a81
Use appropriate casts.
2007-03-04 12:02:02 +00:00
tsutsui
8cb08f311c
Use (char *) on pointer arith.
...
XXX: these "params" variables seem unused.
2007-03-04 11:59:16 +00:00
tsutsui
2d4d66df69
Use appropriate temporary variables to handle pointer passed via (void *).
2007-03-04 11:55:04 +00:00
tsutsui
aa03d48a2b
- use (uint8_t *) for framebuffer address
...
- remove unneeded casts
- misc cosmetics
2007-03-04 11:53:21 +00:00
tsutsui
5726cfb524
- add missed '*'
...
- move extiobase decl into <machine/cpu.h>
2007-03-04 11:23:25 +00:00
tsutsui
e5f9539882
Use (char *) where pointer arith is required.
2007-03-04 11:18:25 +00:00
tsutsui
f6f3edac05
Move declarations of CADDR1 and CADDR2 from m68k/pmap_motorola.c
...
to <m68k/pmap_motorola.h>.
2007-03-04 11:09:39 +00:00
tsutsui
820ffe52e1
- void *CADDR1, CADDR2; -> void *CADDR1, *CADDR2;
...
- vmmap is declared as (char *) in <m68k/pmap_motorola.h>
2007-03-04 11:05:53 +00:00
tsutsui
e5d3d8c8fd
- remove unnecessary cast
...
- use (char *) on pointer arith
2007-03-04 11:00:01 +00:00
tsutsui
8c7e65a3e1
Replace (void *) with (char *) where pointer arith is required.
2007-03-04 10:56:21 +00:00
tsutsui
9fc72fad14
Add (char *) casts on pointer arithmetic.
2007-03-04 10:50:30 +00:00
tsutsui
b9fead901a
Remove a declaration for extiobase, which is in <machine/cpu.h>.
2007-03-04 10:46:23 +00:00
tsutsui
1032472464
Call uvm_pageidlezero() only if uvm.page_idle_zero is true.
2007-03-04 10:41:59 +00:00
tsutsui
4f709d5416
Make GENERIC really generic, remove GENERIC.in, and
...
use <no> keyword in model specific HDL-U and USL-5P files.
2007-03-04 10:39:43 +00:00
tsutsui
82d1d0d63e
Add pci(4) node for pcictl(8).
2007-03-04 10:35:19 +00:00
macallan
e7e67900ab
make this compile again
2007-03-04 10:26:25 +00:00
christos
5ebcdbe8b5
fix caddr_t fallout.
2007-03-04 10:21:25 +00:00
macallan
b47de51335
make this compile again
2007-03-04 10:18:03 +00:00
macallan
287d873bc3
make this compile again
2007-03-04 10:06:49 +00:00
tsutsui
2f5e95ec66
Merge #ifdef _KERNEL stuff into one place.
2007-03-04 10:02:42 +00:00
macallan
ba442162aa
make this compile again
2007-03-04 10:02:23 +00:00
tsutsui
e06ffd4f4e
Remove #ifdef _KERNEL since this file is no longer exported.
2007-03-04 09:59:10 +00:00
tsutsui
f6b24c6d1c
Stop installing <machine/intr.h> on hp300. Suggested by simonb.
2007-03-04 09:57:43 +00:00