yamt
a36286ca6a
multiple inclusion protection.
2007-03-06 12:32:46 +00:00
dillo
56c3e41252
Complete rename of hfsp to hfs, requested by thorpej.
2007-03-06 11:28:44 +00:00
dogcow
b9b4ca0bf0
more caddr_t fallout.
2007-03-06 02:30:16 +00:00
simonb
a92d5c5157
Fix some caddr_t rototill fallout.
2007-03-06 00:48:07 +00:00
he
ffac364e10
Make the various graphics card drivers compile again.
...
Try to preserve `volatile' qualification where possible, though
uses of kvtop() gain an unfortunate but probably unavoidable __UNVOLATILE().
Correct various instances of "void *ba, fb" to have * in front of fb as well.
2007-03-06 00:46:00 +00:00
simonb
80c8d64aa9
Fix some caddr_t rototill fallout.
2007-03-06 00:43:50 +00:00
dillo
23c2619e4d
Add file-system HFSP (commented out) to GENERIC kernels of ports
...
on which Mac OS runs.
2007-03-05 23:30:18 +00:00
dogcow
b347627ab1
The recent cpu_attach changes broke the xen build; while this compiles,
...
I'm far from positive it's the correct fix.
2007-03-05 23:26:40 +00:00
dillo
2d2ddd2830
Integrate apmlabel and HFS+ file system.
2007-03-05 23:19:17 +00:00
he
f41cb0f1b1
Use mtod(m, char *) when you want to do pointer arithmetic on the result.
2007-03-05 22:36:16 +00:00
he
bc250f04cf
Cast to char* before doing pointer arithmetic, convert one void* to char*
...
for ease of pointer arithmetic.
2007-03-05 22:18:59 +00:00
he
13e2842780
Use mtod(m, char*) when you want to do pointer arithmetic on the result.
2007-03-05 21:40:30 +00:00
he
3b9acdf0e9
Cast to char* before doing pointer arithmetic.
2007-03-05 21:35:42 +00:00
he
176f2ec48f
Use char* for pointer arithmetic.
2007-03-05 21:31:30 +00:00
he
0e9b57828a
Use a char* for pointer arithmetic.
2007-03-05 21:27:10 +00:00
he
6b92c489c9
Fix this so that it builds after sc_txbuf and sc_rxbuf no longer are void*.
2007-03-05 21:23:49 +00:00
he
24b1466937
On second thought, make sc_txbuf and sc_rxbuf uint8_t*s, since if_mc_obio.c
...
likes to index directly into sc_rxbuf.
2007-03-05 21:22:45 +00:00
he
5c33ca91fd
Cast to char* or u_char* before doing pointer arithmetic.
2007-03-05 21:17:27 +00:00
he
253f3852ca
Fix another instance of "void * a, b;" to be "void *a, *b;".
2007-03-05 21:16:58 +00:00
he
04f908096c
Use a char* helper variable for pointer arithmetic.
2007-03-05 21:13:36 +00:00
he
d938af0344
Cast to char* before doing pointer arithmetic.
2007-03-05 21:11:04 +00:00
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