Commit Graph

202489 Commits

Author SHA1 Message Date
dyoung e39b75c43a Increase SYMTAB_SPACE. 2011-07-01 22:28:07 +00:00
mrg 9d577174a3 new gcc 4.5 g++ dirs are for everyone, not just gcc 4.5 users.
fixes build problems.
2011-07-01 22:23:19 +00:00
dyoung b5484cb842 Increase SYMTAB_SPACE. 2011-07-01 22:10:31 +00:00
dyoung ccc7f8f112 Don't #include "opt_cputype.h" unless _KERNEL_OPT is #defined. 2011-07-01 22:08:22 +00:00
dyoung 92f34ea0d6 Bump date. 2011-07-01 22:06:19 +00:00
dyoung 1832697851 Switch machine/bus.h references to machine/bus_defs.h and
machine/bus_funcs.h references.
2011-07-01 22:05:28 +00:00
dyoung 9aff02ebc1 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 20:57:45 +00:00
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