Commit Graph

202747 Commits

Author SHA1 Message Date
jruoho
54bb10746c Split out the string tests from t_string.c for consistency. 2011-07-07 08:59:30 +00:00
mrg
602d34897a fix an off by one array bounds issue, and also fix a potentially non
nul-terminated string.
2011-07-07 08:48:34 +00:00
mrg
0514da4400 adb_kbd.c and adb_ms.c need -Wno-cast-qual due to sysctl const issue. 2011-07-07 08:47:22 +00:00
mrg
9692f6d4a2 - un-obsolete a pair of files we want to remain installed (XXX i wonder
if a way to have "clean builds" not run "postinstall fix obsolete" in
  the $DESTDIR so that these sorts of errors will appear as set list
  errors instead of being skipped
- fix the list of headers to install for GCC 4.5, based upon the mknative
  ${G_EXTRA_HEADERS}.  XXX move the location of G_EXTRA_HEADERS.
2011-07-07 08:46:20 +00:00
jruoho
1c3ef2c741 Rename some test case names for consistency. 2011-07-07 08:27:36 +00:00
mrg
bdf189d888 for now, compile all the powerpc asm files -DPIC. fix this properly by
either compiling the dynamic version in a other dir separately, or call
gcc on the fly with the right arguments without generating .S file at all.
2011-07-07 08:02:52 +00:00
mrg
fc24f81836 apply a couple of (int) before r_type switch usage. 2011-07-07 07:47:11 +00:00
jruoho
1d3a88895d Remove ../tests/syscall. 2011-07-07 07:40:46 +00:00
matt
da43c56109 Distribute libmpfr and libmpc across the dependency barriers so that
additional .WAITs are not needed.
2011-07-07 07:37:17 +00:00
mrg
d28869abd7 add .WAIT's between libgmp and libmpfr, and between libmpfr and libmpc. 2011-07-07 07:33:40 +00:00
jruoho
7e7bf0e2e7 Remove syscall SUBDIR. 2011-07-07 07:31:29 +00:00
jruoho
4f84d54f76 Add some errno-checks. 2011-07-07 07:27:49 +00:00
matt
85c07878cd Don't define a new enum. Just #define round_* to their FP_Rx instead. 2011-07-07 07:14:57 +00:00
jruoho
e32f731829 Remove 't_cerror' (this is tested by numerous individual tests).
Rename 't_context' to 't_getcontext' for consistency.
2011-07-07 07:06:21 +00:00
jruoho
f77aadf3e8 Adjust for tests/libc/sys. 2011-07-07 06:58:53 +00:00
jruoho
068fb4f133 Add the syscall tests back. Couple of files and tests were also renamed for
consistency. All of these now mimic the libc structure.
2011-07-07 06:57:53 +00:00
mrg
dc1519dda0 remove CONFIG_TOP_SRCDIR definitions provided by our Makefile. 2011-07-07 06:30:02 +00:00
jruoho
5152b0c082 Deprecate tests/sycall. The tests will be added back to tests/libc/sys. 2011-07-07 06:16:59 +00:00
mrg
869a957f9f apply some parens around an expression to get the desired behaviour,
as suggested by gcc 4.5
2011-07-07 06:02:06 +00:00
mrg
cbb4a4007a avoid pointer aliasing issues 2011-07-07 06:01:51 +00:00
mrg
06406d0075 apply some -fno-strict-aliasing 2011-07-07 06:01:30 +00:00
mrg
831fb48644 remove inline from some non-inline function prototypes. 2011-07-07 06:01:12 +00:00
mrg
7335abb57a add missed mknative-gcc hppa file 2011-07-07 05:58:10 +00:00
jruoho
b54ff1eb07 Move the 'syscall/t_cmsg' test to 'include/sys/t_socket'. 2011-07-07 05:50:26 +00:00
matt
464af93e1a Fix cleandir-llvm (only remove config if it exists) 2011-07-07 05:41:59 +00:00
kefren
e733a1c2f0 Mention that it doesn't support Path Vectors and Hop Counts
Mention RFC3037 and xref ldpd.conf
2011-07-07 05:20:16 +00:00
matt
e931c2ad66 Atheros MIPS-based SoC changes. 2011-07-07 05:09:11 +00:00
matt
81d18a2f73 Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC.  Force use
of -mips32 for all Atheros kernels.  Make code much more common.
2011-07-07 05:06:44 +00:00
mrg
3eb93c2d5b alpha and hppa mknative-gcc files. 2011-07-07 02:07:31 +00:00
mrg
c9663b8648 gmp files for alpha and hppa. 2011-07-07 02:06:32 +00:00
mrg
1307b14960 add ${G_LIB2ADD:H:O:u} to the .PATH to find all headers 2011-07-07 01:27:47 +00:00
mrg
3884174ae9 add hppa-netbsd support. 2011-07-07 01:27:30 +00:00
mrg
8f21de0400 port to GCC 4.5. 2011-07-07 01:27:13 +00:00
mrg
1f68493387 avoid a multi-level cast issue 2011-07-07 01:26:55 +00:00
mrg
9b52d8be93 mark heathrow_read_events() and ohare_read_events() static. 2011-07-07 01:26:37 +00:00
mrg
b90ae05b33 add some (uintptr_t) between pointer and uint64_t casts 2011-07-07 01:26:16 +00:00
dyoung
5fc6496c2d Describe bus_space_tag_create(9) and bus_space_tag_destroy(9) for
implementing bus spaces in MI code.

(This documentation may be several hours ahead of the implementation,
sorry.)
2011-07-06 21:36:16 +00:00
dyoung
db2ed62f16 Missed another one: #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-06 20:47:05 +00:00
dyoung
f1d6b12f5e Oops, missed one: #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-06 20:44:47 +00:00
dyoung
f508569201 Bring the bus_space_is_equal() declaration out of the #ifdef
__HAVE_NEW_STYLE_BUS_H, since we need it either way.
2011-07-06 20:24:21 +00:00
drochner
d2fc1968ed update mpfr to PL4 (minor fixes) 2011-07-06 19:53:24 +00:00
drochner
13669b2e41 cleanup:
-fix for OBJDIR
-link mpfr against gmp, and mpc against gmp+mpfr
-clean up generated files
2011-07-06 19:52:05 +00:00
dyoung
24e681f5cd Implement bus_space_tag_create() and _destroy().
Factor bus_space_reserve(), bus_space_release(), et cetera out of
bus_space_alloc(), bus_space_map(), bus_space_free(), bus_space_unmap(),
et cetera.

For i386 and amd64, activate the use of <machine/bus_defs.h> and
<machine/bus_funcs.h> by #defining __HAVE_NEW_STYLE_BUS_H in
their respective types.h.  While I'm here, remove unnecessary
__HAVE_DEVICE_REGISTER #defines.
2011-07-06 18:46:04 +00:00
dyoung
9063212b84 Document bus_space_reserve(9), bus_space_reserve_subregion(9),
bus_space_release(9), bus_space_reservation_map(9),
bus_space_reservation_unmap(9), bus_space_reservation_addr(9),
bus_space_reservation_size(9), bus_space_handle_is_equal(9).
2011-07-06 18:27:31 +00:00
dyoung
22c58b4530 Add default implementations for new bus_space(9) routines. 2011-07-06 18:24:26 +00:00
dyoung
edd1b42507 Install /usr/include/sys/bus.h for oddball ports whose userland somehow
#includes it.
2011-07-06 18:18:07 +00:00
dyoung
6b137c9d39 If __HAVE_NEW_STYLE_BUS_H is #defined, make <sys/bus.h> declare the
new MI API for reserving bus space without mapping it, #include
<machine/bus_defs.h>, <machine/bus_funcs.h>, and <sys/bus_proto.h>.

Refine the bus_space_tag_create() API.
2011-07-06 18:11:45 +00:00
matt
223a8c0b87 Make this play nicely with GCC 4.5. While there, make everything static,
get rid of global inlines, and move the init function to the end.
2011-07-06 10:01:02 +00:00
matt
dd7c33eb68 Add
uint32_t kfetch_32(volatile uint32_t *, uint32_t);

which fetches a 32-bit value from a provided addess or returns
an user supplied value on error.
2011-07-06 09:27:35 +00:00
mrg
4cd6566dd0 switch from an ugly cast and ntohl() usage to be32dec(). use sizeof.
idea from dh, and fixes a GCC 4.5 warning.
2011-07-06 09:02:54 +00:00