tsutsui
de8ce52c3b
Add missed '*', use or add (char *) where pointer arithmetics are needed.
2007-03-07 13:57:30 +00:00
tsutsui
2e775e899c
Change variables which are used to read byte stream data
...
from (void *) to (char *).
2007-03-07 13:54:49 +00:00
he
e651aa0bfe
Add a required __UNVOLATILE() around argument to memcpy() / memset().
2007-03-07 11:49:00 +00:00
skrll
fc4b2491b2
caddr_t fallout
2007-03-07 11:29:46 +00:00
he
2f5c434280
Change casts from void* to char* when doing pointer arithmetic.
2007-03-07 09:24:46 +00:00
he
820deae228
Change a cast from void* to char* due to the need to do pointer arithmetic.
2007-03-07 09:23:32 +00:00
he
2c6b5facb2
Change a cast from void* to char* when doing pointer arithmetic.
2007-03-07 09:22:38 +00:00
he
86747a56e1
Cast to char* before doing pointer arithmetic.
2007-03-07 09:18:56 +00:00
he
331a9e6c5c
Fix an instance of "void *v, x;" and cast to char* before doing
...
pointer arithmetic.
2007-03-07 09:10:16 +00:00
he
a0f301859f
Cast to char* before doing pointer arithmetic.
2007-03-06 23:50:20 +00:00
he
8a3ceb1726
Cast to char* before doing pointer arithmetic.
2007-03-06 23:38:37 +00:00
simonb
0f3b0c048d
Fix some caddr_t rototill fallout.
...
Some from Erik Bertelsen on port-pmax@.
2007-03-06 22:31:36 +00:00
bouyer
ff6bcd05a5
For the benefit of modern hardware, enable ACPI by default in INSTALL and
...
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
2007-03-06 21:47:45 +00:00
he
15e52c3822
Cast to char* before doing pointer arithmetic.
2007-03-06 17:32:05 +00:00
he
c574c4ccc1
Use char* with mtod() when doing pointer arithmetic on the result.
2007-03-06 17:30:34 +00:00
tsutsui
f343bfa8eb
Treat bus_space_handle_t as opaque, and use bus_space_vaddr(9) to
...
get device address.
XXX: This driver should be rewritten to use bus_space(9) more properly.
2007-03-06 14:45:31 +00:00
tsutsui
d5aef94bf1
Change bus_space_handle_t from void * (formerly caddr_t) to u_long
...
to make things easier.
2007-03-06 14:42:44 +00:00
tsutsui
35788e9981
- remove volatile from *regkva member in struct grfabs_et_priv
...
and use temporary variables on register accesses
- also remove volatile from *memkva member in struct grfabs_et_priv
because it isn't used to refer memory
XXX: I'm not sure if bm->plane should be volatile or not
but I don't think previous code treats it as volatile anyway.
(though I'm not sure how compiler handled "volatile caddr_t")
2007-03-06 14:40:25 +00:00
tsutsui
7bad4d945e
- change pointers which actually required caddr_t to calculate address
...
from (void *) to (char *)
- add (char *) cast to appease -Wpointer-arith
2007-03-06 14:15:13 +00:00
tsutsui
46cc919e1f
Make TX buffer (uint8_t *) and remove an unnecessary cast.
2007-03-06 14:13:02 +00:00
tsutsui
a977b2956f
Pass (char *) to mtod(9) on pointer arith.
2007-03-06 14:12:10 +00:00
tsutsui
1f79355c9b
Add (char *) cast to appease -Wpointer-arith.
2007-03-06 14:10:07 +00:00
tsutsui
bc4a41fd8b
Make req_addr (char *) rather than adding an extra cast
...
since it's used only in this function to calculate buffer address.
2007-03-06 14:07:15 +00:00
tsutsui
d319901154
Make io_data (char *) rather than adding an extra cast
...
since it's used only in this file to calculate buffer address.
2007-03-06 14:03:07 +00:00
he
582dc91458
More fixes after the caddr_t removal.
...
Mostly cast to char* for pointer arithmetic,
but also one missing indirection, and one "void *v, x;" fix.
2007-03-06 13:54:44 +00:00
tsutsui
7474a23441
Add a missed '*'.
2007-03-06 13:53:59 +00:00
tsutsui
57eb9123e8
Remove an unnecessary cast.
2007-03-06 13:53:32 +00:00
tsutsui
4fc7add5a3
Use (char *) to appease -Wpointer-arith.
2007-03-06 12:41:52 +00:00
yamt
dedaf26748
fix vcpu after recent cpubus changes.
2007-03-06 12:35:39 +00:00
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