Commit Graph

1682 Commits

Author SHA1 Message Date
David Turner
8db7bcb14f Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics." 2011-02-06 15:01:39 -08:00
David Turner
1447332ffa Merge "move some typedefs to procfs.h required by gdbserver build" 2011-02-06 15:01:02 -08:00
David 'Digit' Turner
62e1f374d1 Merge "libc: Update auto-gen scripts" 2011-02-06 12:53:23 -08:00
Brian Carlstrom
b16b7364e3 Merge commit 'c4dff905d430d9e313efe013dbc03b6388ce351a' into honeycomb-release-to-dalvik-dev 2011-02-05 17:10:52 -08:00
The Android Automerger
c4dff905d4 merge in honeycomb-release history after reset to honeycomb 2011-02-04 22:25:57 -08:00
The Android Automerger
e34bd9e5a2 merge in honeycomb-release history after reset to honeycomb 2011-02-04 21:55:42 -08:00
Andy McFadden
81a844a0fc Added _memmove_words
Added a memmove() variant for Dalvik's System.arraycopy()
implementation.  It guarantees 16-bit or 32-bit atomicity depending
on the alignment of the arguments.

Bug 3398352

(cherry-pick from master)

Change-Id: I5e64de1c76971ba234bf2dd05477ba390e0412a4
2011-02-04 20:06:04 -08:00
The Android Automerger
a15beddec2 merge in honeycomb-release history after reset to honeycomb 2011-02-04 17:35:30 -08:00
Andy McFadden
4ce737f5df Added _memmove_words
Added a memmove() variant for Dalvik's System.arraycopy()
implementation.  It guarantees 16-bit or 32-bit atomicity depending
on the alignment of the arguments.

Bug 3398352

Change-Id: Ie7bd246305ef0ff8290513663327c5b81680368d
2011-02-04 14:49:49 -08:00
The Android Automerger
8d0d37cb9c merge in honeycomb-release history after reset to honeycomb 2011-02-04 11:49:06 -08:00
The Android Automerger
b511304d47 merge in honeycomb-release history after reset to honeycomb 2011-02-04 10:26:03 -08:00
David Turner
dd279aa99f am 2282ecc2: Merge "Use more optimized version of memmove"
* commit '2282ecc295b58197a1e22f38a20750ccab4e3c69':
  Use more optimized version of memmove
2011-02-04 10:16:01 -08:00
The Android Automerger
4f60dabb9f merge in honeycomb-release history after reset to honeycomb 2011-02-04 07:18:56 -08:00
David Turner
2282ecc295 Merge "Use more optimized version of memmove" 2011-02-04 05:13:35 -08:00
Brian Carlstrom
e2d3af00cc Merge commit '94074360b9006a10a00412131c10944ce6daebda' into honeycomb-release-to-dalvik-dev 2011-02-03 21:47:27 -08:00
Brad Fitzpatrick
5b98774566 am b8175727: am 9a330512: Merge "Add time-to-live (TTL) support to resolver cache"
* commit 'b8175727c7a165076311f18c29f09bdc27d7be10':
  Add time-to-live (TTL) support to resolver cache
2011-02-03 18:07:54 -08:00
The Android Automerger
94074360b9 merge in honeycomb-release history after reset to honeycomb 2011-02-03 15:26:32 -08:00
Bruce Beare
f4680b57ed Remove an extra register move.
Change-Id: I63c217b73203b44b1a2e74950b58f2ec12989cab
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:04 -08:00
Bruce Beare
0f2001b147 Replace __atomic_XXX with GCC __sync_XXX intrinsics.
Change-Id: I14f275392fcd70cc15e307470e0a099777c7c09e
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:03 -08:00
Bruce Beare
f6ccc15457 move some typedefs to procfs.h required by gdbserver build
Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:02 -08:00
Brian Carlstrom
599ad0c581 Merge commit 'd40d6bb6158696265df2ea31f328ffe97aff6af3' into honeycomb-release-to-dalvik-dev 2011-02-03 12:03:08 -08:00
Brad Fitzpatrick
b8175727c7 am 9a330512: Merge "Add time-to-live (TTL) support to resolver cache"
* commit '9a3305128920e0ff018d267d1bf4f5e58a5146e5':
  Add time-to-live (TTL) support to resolver cache
2011-02-03 11:45:27 -08:00
The Android Automerger
d40c04273d merge in honeycomb-release history after reset to honeycomb 2011-02-03 11:23:20 -08:00
David 'Digit' Turner
d51564f918 Merge "libc: Fix struct user_vfp definition." 2011-02-03 10:31:27 -08:00
David 'Digit' Turner
fc2693110e libc: Update auto-gen scripts
Make the scripts use external/kernel-headers/original by default.

clean_header.py:  Document -k<path>, add -d<path>
find_headers.py:  Make kernel config files optional
update_all.py:    Allow setting the path to kernel headers on the command-line
update_all.py:    Better formatting of output on ttys
update_all.py:    Automatically perform "git add/rm" on affected files.
SYSCALLS.TXT:     Fix typo in __socketcall definition.
checksyscalls.py: Add support for superH architecture in the checks.
gensyscalls.py:   Automatically perform "git add/rm" on affected files.
cpp.py:           Fixed a bug that prevented certain type definitions to
                  be kept in the generated clean header (e.g.
                  struct ethtool_drvinfo in <linux/ethtool.h>)

All scripts will use the content of external/kernel-headers/original by default now.

The generated code removes all empty lines and trailing whitespace. This is useful
to ensure a unified output even if we change the parser again in the future.

The top-level disclaimer has been edited with update instructions to regenerate
the headers when needed.

Also, a warning is now inserted every 8th line in the final output:

/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */

Changes under kernel/arch-arm and kernel/arch-x86 should correspond to whitespace
differences and additionnal struct definitions that were missed by the previous
parser implementation.

Change-Id: Icd1c056bacd766759f3e9b7bb5d63a246f3d656a

WARNING: If you run these script, do not submit the result to gerrit for now.
         It seems there are discrepancies between the content of original headers
         and those currently commited under bionic/libc/kernel/.

         (This problem is the main motivation to insert the warning repeatedly).

         Current list of issues:

           - Missing SuperH headers (i.e. external/kernel-headers/original/asm-sh)
2011-02-03 18:07:41 +01:00
The Android Automerger
4c2fd970ba merge in honeycomb-release history after reset to honeycomb 2011-02-03 07:17:34 -08:00
Johannes Carlsson
0f67de14e6 Use more optimized version of memmove
On ARM there is currently no assembler optimized memmove in libc.
There is however a more optimized bcopy which copies long instead
of bytes where possible. This almost doubles the performance in
best case.

Change-Id: I1f1cd27529443358047c385730deaf938ce4e642
2011-02-03 15:17:13 +01:00
David Turner
820e6867e2 Merge "Bug 3330205 Thread safety for bignum powers of 5" 2011-02-03 04:45:51 -08:00
David Turner
d1c780e5d3 Merge changes I6b304dfb,I4a3c2035,I5af12b3f,I0ef33ca6,I149c46e7
* changes:
  Add icmp6.h and ip6.h files from current NetBSD libc.
  Include the Linux ipv6.h header from netinet/in.h, to get things like in6_pktinfo.
  Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do not provide it anymore.
  Update IPv6 kernel headers with new 2.6.37 headers, cleaned by update_all.py. (It wanted to do many other changes, most of them cosmetic, but I only included the IPv6 changes.)
  Fix syntax error in defaults.py.
2011-02-03 04:44:31 -08:00
The Android Automerger
d40d6bb615 merge in honeycomb-release history after reset to honeycomb 2011-02-02 16:13:06 -08:00
Brad Fitzpatrick
9a33051289 Merge "Add time-to-live (TTL) support to resolver cache" 2011-02-02 14:55:20 -08:00
Mattias Falk
3e0c5102e6 Add time-to-live (TTL) support to resolver cache
Use the the TTL of the answer as the time a query
shall remain in the resolver cache.

Added some debugging support as well, i.e.
parse answer and print a la dig.

Change-Id: I724d3392245032592f1912f3ca7a81a8987ebbac
2011-02-02 16:40:01 +01:00
The Android Automerger
1d8bd9da0c merge in honeycomb-release history after reset to honeycomb 2011-02-02 07:21:34 -08:00
Brian Carlstrom
f10a41b5a1 Merge commit '2e5574379e355feef79279ef6b2db0efe7c581e5' into honeycomb-release-to-dalvik-dev 2011-02-01 13:49:41 -08:00
The Android Automerger
8e87548b05 merge in honeycomb-release history after reset to honeycomb 2011-02-01 10:12:06 -08:00
David 'Digit' Turner
30b4d82bba libc: Fix struct user_vfp definition.
This patch moves the definition of struct user_vfp from <asm/ptrace.h>
to <asm/user.h> for the ARM platform, in order to match the original
kernel headers.

See patches  94519 and 94520 for a description of the problem and a
fix for debuggerd that uses the structure.

This prevented us from properly re-running the kernel headers cleanup
scripts.

Change-Id: I43718a59ae49b9d89fc2d1c8affb65973fb2919c
2011-02-01 15:28:36 +01:00
The Android Automerger
2e5574379e merge in honeycomb-release history after reset to honeycomb 2011-01-31 17:24:30 -08:00
David 'Digit' Turner
040e18f362 Merge "libc: fix kernel cleanup script typo." 2011-01-31 07:53:11 -08:00
The Android Automerger
62e10eaef7 merge in honeycomb-release history after reset to honeycomb 2011-01-30 13:37:36 -08:00
The Android Open Source Project
727c443a27 am 977e0cb4: Reconcile gingerbread-plus-aosp and honeycomb
* commit '977e0cb4d378368a655b39157161218f0ce5c078':
2011-01-30 12:53:48 -08:00
The Android Open Source Project
9bfd3f54e6 Mass merge from gingerbread - do not merge
Change-Id: I105c2c728aef42629dbb44af8e3d1044c4ae1e97
2011-01-30 12:39:43 -08:00
The Android Open Source Project
977e0cb4d3 Reconcile gingerbread-plus-aosp and honeycomb
Change-Id: I39eeb24bc7dc2fe2f9223e079aeccf4966d92d38
2011-01-30 12:39:43 -08:00
The Android Automerger
0dae6718be merge in honeycomb-release history after reset to honeycomb 2011-01-30 09:58:53 -08:00
The Android Automerger
9f7b092e01 merge in honeycomb-release history after reset to honeycomb 2011-01-28 15:49:06 -08:00
Steinar H. Gunderson
6846a45882 Add icmp6.h and ip6.h files from current NetBSD libc.
Change-Id: I6b304dfbefaec74c5fb15b216f38d698a55f0642
2011-01-28 18:28:27 +01:00
Steinar H. Gunderson
bdca379412 Include the Linux ipv6.h header from netinet/in.h, to get things like in6_pktinfo.
Change-Id: I4a3c2035ff8e2846352345580756a1bdc2768ec4
2011-01-28 18:28:27 +01:00
Steinar H. Gunderson
3de0321690 Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do not provide it anymore.
Change-Id: I5af12b3f38097ed165e64a408253dc375aa605d7
2011-01-28 18:28:19 +01:00
The Android Automerger
fe6d7ca344 merge in honeycomb-release history after reset to honeycomb 2011-01-28 07:25:04 -08:00
Brian Carlstrom
7f842b3f9c Merge commit '8b9bc8330f90699d027045001389c69f35c55877' into honeycomb-release-to-dalvik-dev 2011-01-27 22:18:02 -08:00
David Turner
b0350d9b22 am 2081fda6: Merge "Only look up A records if the system has IPv4." into gingerbread
* commit '2081fda69a68505c914324797400b1b798516904':
  Only look up A records if the system has IPv4.
2011-01-27 18:28:28 -08:00