Commit Graph

157146 Commits

Author SHA1 Message Date
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
drochner
9916a76d2e It was probably not a good idea to put that scroll stuff to accessops.
But now that it is there, keep it from crashing the box if there is
no valid focus screen.
2007-03-05 16:06:52 +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
he
fdcc1ff67a We need char* for pointer arithmetic. 2007-03-05 14:49:04 +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
christos
033371b01a fix caddr_t lossage 2007-03-05 14:24:18 +00:00
christos
c74f0279ea more caddr_t lossage. 2007-03-05 14:13:10 +00:00
he
1564bbc49c Need a char* for doing pointer arithmetic. 2007-03-05 13:56:24 +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
tsutsui
b8149dbb15 Pass (char *) to mtod(9) for pointer arith
(in #ifndef __NO_STRICT_ALIGNMENT part).
2007-03-05 10:39:09 +00:00
tsutsui
eeef1e87e4 Also check both I/O and memory space on unmap. Pointer out by yamt. 2007-03-05 10:32:05 +00:00
yamt
a71bbfc44d netbsd_elf_signature: fix a caddr_t removal botch which
causes "init: not found".
2007-03-05 09:22:02 +00:00
matt
1f1847fbab Use uint8_t * instead of void */char * for ptr arithmetic. 2007-03-05 08:37:38 +00:00
christos
a4c52808c6 fix caddr_t lossage. 2007-03-05 05:10:04 +00:00
dogcow
66b89c08f2 die, caddr_t, die. 2007-03-05 04:59:19 +00:00
xtraeme
f474b453a0 We are not FreeBSD: .Fx -> .Nx 2007-03-05 04:56:48 +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
mrg
4a3fc2cb1b fix more caddr_t -> void * fallout. 2007-03-05 03:05:16 +00:00
christos
15eacddccc Fix compression problem from Cliff Wright:
Break one: because b_cylinder, and b_resid are one and the same.
The work the routine was commented as being its primary function,
end of patition adjustment, is wiped out, as at the end of
the routine b_cylinder is set, splat, doing a wipe out of the adjustment
to b_resid.
  Break two: When doing the adjustment, a block count is created from a
byte count, a block calculation is done, then the results are compared to
the original byte count. i.e. apples to oranges, not blocks to blocks,
but blocks to bytes.
  Break three: since if all the other drivers that used this routine
would have broken as vnd compress did, I must assume they always ignored
the results of this routine. So if end of patition adjustment is
really required then all these other drivers have been broken for a
long time.
2007-03-05 02:55:32 +00:00
liamjfoy
5aa6f5addf Move ipflow_slowtimo from ip_slowtimo and into in_proto.c
ok matt@
2007-03-05 00:50:53 +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
liamjfoy
f84185c912 inet6domain -> inetdomain
thanks simon
2007-03-04 23:53:36 +00:00
dillo
3827e4b3e7 Fix white space skipping before closing tag when padding characters
are present.

Okayed by thorpej.
2007-03-04 22:31:43 +00:00
christos
90f5cb38b2 it is segvguard. 2007-03-04 22:25:00 +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
pooka
000760c6d5 make print format specifiers match types printed 2007-03-04 21:50:43 +00:00
jnemeth
5e186a4bae yet more caddr_t -> void * fallout 2007-03-04 21:36:38 +00:00
jnemeth
8b8caa1a52 more caddr_t -> void * fallout 2007-03-04 21:18:08 +00:00
degroote
dd86ba7231 Remove useless cast
Use NULL instead of (void*) 0
2007-03-04 21:17:54 +00:00