Commit Graph

202682 Commits

Author SHA1 Message Date
dyoung
a0a8f335b9 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 20:47:43 +00:00
dyoung
fea15f47f1 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 20:36:42 +00:00
dyoung
ed9977b122 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 20:26:35 +00:00
dyoung
cf10107d5d #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:51:52 +00:00
dyoung
b6584574fc #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:41:51 +00:00
dyoung
e265f67bc1 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:31:32 +00:00
dyoung
391925c74f #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:21:31 +00:00
dyoung
59e0aa2438 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
dyoung
f5b064ee38 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 17:37:26 +00:00
dyoung
5c997b3e12 Reference <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 17:34:44 +00:00
dyoung
4ada7c5071 Add new files involved in the bus.h->bus_defs.h/bus_funcs.h split. 2011-07-01 17:28:55 +00:00
dyoung
59adf08e17 Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet.  Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
2011-07-01 17:09:58 +00:00
dyoung
5a5fb3ac65 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 16:55:42 +00:00
ahoka
f1e7eb4d21 Make this actually compile by adding a wrapper function which calls
flash_io_submit.
2011-07-01 16:46:13 +00:00
rkujawa
1c3eff98bf Fix DRACO kernel breakage introduced by my previous commit. 2011-07-01 15:46:30 +00:00
christos
cdf62a44d3 - use defines for lengths
- strlcpy/snprintf
- KNK
2011-07-01 15:09:28 +00:00
hannken
661fcc7b37 ffs_copyonwrite(): If the write is to the in-file-system journal
there is no need to lock and check the snapshots.
2011-07-01 14:28:21 +00:00
rkujawa
d6a5da4c75 Add Bluetooth stack to Amiga. Tested with 3Com 3CRWB6096B on an A1200. Change approved by phx. 2011-07-01 13:30:18 +00:00
njoly
e125cce8c5 Small typo (g++debug -> g++.debug). 2011-07-01 12:09:34 +00:00
mrg
9ee2415f4c mknative-gcc regeneration. 2011-07-01 10:06:01 +00:00
mrg
e6ee85c0cf don't set EXTRA_FAKE_HEADERS here. 2011-07-01 10:04:36 +00:00
mrg
f05fee10de everyone needs the options* stuff here. 2011-07-01 10:04:13 +00:00
mrg
ae4d8014dc fix version.c defines. now the version says:
gcc version 4.5.3 (NetBSD nb1 20110620)
instead of:
	gcc version 4.5.320110428
2011-07-01 10:03:17 +00:00
mrg
7c2e122f42 apply some (uintptr_t) between pointer and int casting. 2011-07-01 08:38:10 +00:00
mrg
7e433992a7 use the right variables for the fp and pc, and avoid array bounds
violations.
2011-07-01 08:37:28 +00:00
matt
0a6157e048 Fix uninitialized data warning found by gcc 4.5 2011-07-01 07:45:39 +00:00
matt
0ea8aedfae Fix some array bounds errors found by gcc 4.5 2011-07-01 07:44:33 +00:00
matt
998bcd53a6 xxx_SUB macros should use a variant of subu, not add 2011-07-01 06:00:20 +00:00
mrg
1051078336 various mknative-gcc updates. 2011-07-01 05:10:28 +00:00
mrg
5d603aab9d move the bsd.lib.mk include later so it works properly. 2011-07-01 05:07:59 +00:00
mrg
94d22e3eb3 declare options.h as an EXTRA_FAKE_HEADERS. 2011-07-01 05:07:46 +00:00
mrg
15700d9d35 fix the _fixunssfsi _fixunsdfsi _fixunsxfsi functions. 2011-07-01 05:07:06 +00:00
mrg
3b3943f584 remove LIB2FUNCS_STATIC_EXTRA and supporting code.
netbsd does not need this.
2011-07-01 04:05:22 +00:00
mrg
e7c388dbdf add a comment to confirm a workaround as only being a GCC 4.1 issue. 2011-07-01 03:58:10 +00:00
matt
db6dfce31a Fix some bugs [exceed array bounds]. Simplify. 2011-07-01 03:20:06 +00:00
joerg
7293bf2d37 Replace malloc + incorrect memset with calloc. 2011-07-01 03:09:29 +00:00
joerg
a6bdeabc26 Fix memset usage. 2011-07-01 03:07:21 +00:00
joerg
c4cda1a2a7 Explicitly declare ___start as hidden. 2011-07-01 02:59:05 +00:00
joerg
017dd250ef Fix memset usage. 2011-07-01 02:46:24 +00:00
joerg
30dc9201bb Fix memcpy usage. 2011-07-01 02:46:15 +00:00
mrg
1c1ba33ca6 apply some -Wno-strict-overflow for GCC >= 4.5 2011-07-01 02:42:10 +00:00
mrg
5286814248 avoid an uninitialised variable warning that shouldn't normally happen
in practise but isn't entirely impossible for the future.
2011-07-01 02:34:50 +00:00
mrg
fc8dfe2ed3 fix an uninitialised variable problem. large-ish function, but i
couldn't see how GCC 4.5 isn't wrong about this one.
2011-07-01 02:33:23 +00:00
joerg
b58b5b09d9 Fix memset usage. XXX audit the rest where hard coded sizes are used 2011-07-01 02:24:14 +00:00
mrg
db3c8201d3 avoid an overflow condition. 2011-07-01 02:18:54 +00:00
mrg
1b7bb725cc avoid a potential uninitialised variable problem. 2011-07-01 02:18:37 +00:00
mrg
0debd27c81 avoid creating an unused directory. 2011-07-01 02:11:14 +00:00
joerg
fa1a81643b Fix memset usage. 2011-07-01 02:10:19 +00:00
mrg
e712e9f0f1 various updates for GCC 4.5. finally obsolete some very old gcc stuff. 2011-07-01 02:10:07 +00:00
joerg
22add3a49f Fix memset usage. 2011-07-01 02:01:21 +00:00