Commit Graph

225127 Commits

Author SHA1 Message Date
matt
ad99a1aa4d Use uintptr_t instead of int. 2014-02-28 05:35:49 +00:00
matt
8937f9fe62 Use more appropriate type. 2014-02-28 05:34:39 +00:00
matt
d4182252d5 Make this 64-bit aware. 2014-02-28 05:33:53 +00:00
matt
2d773d76bf Add pmap_ste_spill 2014-02-28 05:32:01 +00:00
matt
648cd98c19 Make this work. 2014-02-28 05:31:38 +00:00
matt
d7c76f4df3 Add trapframe32 for COMPAT_NETBSD32 2014-02-28 05:30:24 +00:00
matt
c4eb371e6c Add ALIGNBYTES32 for COMPAT_NETBSD32 2014-02-28 05:29:57 +00:00
matt
7f94f535b0 Use uintptr_t for bus_size_t, bus_addr_t, bus_space_handler_t since uint32_t
doesn't really work too 64-bit platforms.
2014-02-28 05:28:40 +00:00
matt
523fe23684 support PPC_OEA64 2014-02-28 05:27:38 +00:00
matt
2568724ec2 Add mcontext32_t 2014-02-28 05:27:05 +00:00
matt
0020224196 Add cmp{ptr,long,reg}{,l}{,i} 2014-02-28 05:26:23 +00:00
joerg
f0a4a705d9 GC __raise. 2014-02-27 22:57:36 +00:00
joerg
95025127f1 GC writeback_dcache_line and clear_dcache_line. 2014-02-27 22:57:22 +00:00
dsl
7b1adb697e Allow CTLTYPE_INT and CTLTYPE_QUAD to be read and written as either 4 or 8
byte values regardless of the type.
64bit writes to 32bit variables must be valid (signed) values.
32bit reads of large values return -1.
Amongst other things this should fix libm's code that reads machdep.sse
  as a 32bit int, but I'd changed it to 64bit (to common up some code).
2014-02-27 22:50:52 +00:00
mrg
93fdebb1e5 remove the GCC 4 EXTERNAL_GCC_SUBDIR, and switch GCC 4.8 to use gcc.old. 2014-02-27 20:43:33 +00:00
mrg
b53d27fc90 define GCCDIST properly for GCC 4.1, and since it is now the same
as GCCSRCDIR remove the latter.
2014-02-27 20:15:53 +00:00
joerg
79880c64ab Global variable is never a null pointer. 2014-02-27 18:20:21 +00:00
joerg
7c2828eb96 Cast argument to abs, not the result. 2014-02-27 18:14:52 +00:00
joerg
f866147165 offs_from_utc is known to be small, so explicitly cast it to int. 2014-02-27 18:12:41 +00:00
matt
8c93c0eb27 Use ## for concatenation 2014-02-27 18:12:28 +00:00
joerg
39ea0713df Use abs for difference of integers. 2014-02-27 18:12:11 +00:00
joerg
7088bf673b Use labs for long arguments and fabs for double ones. 2014-02-27 18:11:41 +00:00
matt
22332fd4bf Use _ENTRY 2014-02-27 18:11:08 +00:00
joerg
f95f4dd350 time_t is larger than int, so don't use abs. 2014-02-27 18:11:04 +00:00
joerg
fa6e4f803c Member will never be null, so remove check. 2014-02-27 18:10:01 +00:00
joerg
0d337fe4e9 Remove tautological check. 2014-02-27 18:09:38 +00:00
joerg
519f354c13 Cast strlen of constant down to avoid argument widening. Change an abs
to labs based on the arguments.
2014-02-27 18:09:18 +00:00
joerg
2ce54a14d1 Provide labs, llabs and imaxabs for kernel use. 2014-02-27 18:05:07 +00:00
matt
96ed0d69f5 Use the CALL() macro. 2014-02-27 18:01:51 +00:00
joerg
4f76b089a9 Don't use abs on unsigned values. 2014-02-27 17:43:35 +00:00
joerg
33ddbd4a4d Expect long long to be larger than uint32_t and use llabs after casting
the uint32_t.
2014-02-27 17:43:02 +00:00
joerg
937ce279d6 Timestamps can be quite large, so use llabs. 2014-02-27 17:42:23 +00:00
joerg
191a32cdd1 Avoid promotion in subexpressions. 2014-02-27 17:26:02 +00:00
joerg
7fd630031b Don't use integer downcasts, use correctly sized constants for each test. 2014-02-27 17:25:28 +00:00
hannken
2b6ec89863 The current implementation of vn_lock() is racy. Modification of
the vnode operations vector for active vnodes is unsafe because it
is not known whether deadfs or the original file system will be
called.

- Pass down LK_RETRY to the lock operation (hint for deadfs only).

- Change deadfs lock operation to return ENOENT if LK_RETRY is unset.

- Change all other lock operations to check for dead vnode once
  the vnode is locked and unlock and return ENOENT in this case.

With these changes in place vnode lock operations will never succeed
after vclean() has marked the vnode as VI_XLOCK and before vclean()
has changed the operations vector.

Adresses PR kern/37706 (Forced unmount of file systems is unsafe)

Discussed on tech-kern.

Welcome to 6.99.33
2014-02-27 16:51:37 +00:00
matt
a877c70108 Add powerpc64 support 2014-02-27 16:47:48 +00:00
reinoud
ff651e247c Fix typo in comment BEAGLEBOARD->CUBIEBOARD 2014-02-27 16:00:32 +00:00
matt
2b39b08a8f Add P2SZREG to be usign with .p2align 2014-02-27 15:58:03 +00:00
joerg
45ad289cdd Use gcc,compat, directory creation only depends on the MKCOMPAT switch. 2014-02-27 15:56:12 +00:00
hannken
d940ddcc62 Currently dead vnodes still reside on the vnodelist of the file system
they have been removed from.

Create a "dead mount" that takes dead vnodes until they get freed.

Discussed on tech-kern.
2014-02-27 13:00:06 +00:00
martin
6d0f155ac4 For now, provide a path to the gcc 4.1 distribution as well 2014-02-27 10:42:30 +00:00
maxv
ff3f3d5c44 We have to ensure the string is NUL-terminated and of the expected
length to avoid copying uninitialized data.

ok christos@
2014-02-27 09:58:05 +00:00
matt
d9d3fe3d18 Add atomic_cas_64 support for ARM EABI on V5TE and V5TEJ cpus.
(strd is atomic).
2014-02-27 09:39:00 +00:00
matt
99ca27526b Add a method to test the compiler for things like LDREX availability,
LDRD availability, THUMB2, EABI.
2014-02-27 09:37:02 +00:00
isaki
0f8a3551c1 Increase the image size to 1600KB. 2014-02-27 09:13:20 +00:00
mrg
6095fc3e45 re-import GCC 4.5* with latest fixes to build as gcc.old.
should be the last time we need to do this.
2014-02-27 09:11:34 +00:00
mrg
da20665cd1 fix some paths. 2014-02-27 09:08:49 +00:00
martin
2475eadfda Explicitly remove .note.netbsd.mcmodel sections (eroneously generated
on sparc64 during intermediate linking)
2014-02-27 09:05:08 +00:00
tteras
a96c32cedb From Adam Majer <adamm@zombino.com>: Support IPv6 in X509 subjectAltName 2014-02-27 08:37:58 +00:00
mrg
1d17fc7d57 fix another dated DIST. 2014-02-27 07:35:04 +00:00