summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* msm7x27A: Enable 7x27A specific memset routineM8960AAAAANLYA100530M8960AAAAANLYA100510M8960AAAAANLYA1005M76XXUSNEKNLYA1095M76XXUSNEKNLYA1090M76XXUSNEKNLYA1081M76XXUSNEKNLYA1080M76XXUSNEKNLYA1070Prachee Ramsinghani2011-06-231-3/+3
| | | | | | | | | | Exisiting memset routine gives sub-optimal performance for 7x27A. Experimentally, scorpion memset routine has been found to give better performance on 7x27A. Hence, the scorpion memset routine is enabled for MSM7x27A using CORTEX_CACHE_LINE_32, which is enabled by defining TARGET_CORTEX_CACHE_LINE_32 in BoardConfig.mk. Change-Id: Ife9b21458074b403772cf8fd8078c8812d99c91e
* Merge "LibC definitions for missing elements needed for networking" into ↵M8960AAAAANLYA100406M8960AAAAANLYA1004M8960AAAAANLYA100310M76XXUSNEKNLYA1060M76XXUSNEKNLYA1050M76XXUSNEKNLYA1040Linux Build Service Account2011-06-072-3/+35
|\ | | | | | | gingerbread
| * LibC definitions for missing elements needed for networkingAjay Nambi2011-06-062-3/+35
| | | | | | | | | | | | | | * Implementations for getprotobyname and getprotobynumber. * Add enable_flow flag for PRIO qdisc Change-Id: Ic9facd002e54a19c97ed9ae5e51e97dcdccad1cf
* | msm7627A: Enable 7627A specific memcpy routinePrachee Ramsinghani2011-06-012-1/+132
|/ | | | | | | | | | | | | Cache line size for 7627A is 32 bytes. The existing memcpy routine gives sub-optimal performance for this cache line size. The memcpy routine has been optimized taking this into consideration. Currently 7627A is the only ARM-v7 target with cache line size of 32 bytes, hence this optimized code has been featurized under CORTEX_CACHE_LINE_32 in memcpy.S, which can be enabled by defining TARGET_CORTEX_CACHE_LINE_32 in BoardConfig.mk This change also adds corresponding cflag definition in Android.mk. Change-Id: I984e8fbb6fa7f32ccfa2264809f1668f7633cb99
* Merge commit 'android-2.3.4_r1' into merge_branchM8960AAAAANLYA1003M8960AAAAANLYA100219M76XXUSNEKNLYA1030M76XXUSNEKNLYA1020Yen-Pin Hsiao2011-04-291-0/+43
|\ | | | | | | | | | | | | * commit 'android-2.3.4_r1': DO NOT MERGE: Update USB accessory kernel header to include serial number support DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
| * DO NOT MERGE: Update USB accessory kernel header to include serial number ↵android-sdk-2.3.4_r1android-cts-2.3_r5android-cts-2.3_r4android-cts-2.3_r3android-2.3.5_r1android-2.3.4_r1android-2.3.4_r0.9Mike Lockwood2011-03-141-0/+2
| | | | | | | | | | | | | | support Change-Id: I61d889b107bd5e052ebac393883b87dac730ea6a Signed-off-by: Mike Lockwood <lockwood@android.com>
| * DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel headerMike Lockwood2011-03-111-4/+7
| | | | | | | | | | | | | | For bugs b/4079236, b/4073248 and b/4080288 Change-Id: Id9cdbe95d7dd892bf38e16e7da505ee0eae26b99 Signed-off-by: Mike Lockwood <lockwood@android.com>
| * Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGEMike Lockwood2011-02-211-0/+38
| | | | | | | | | | Change-Id: I972d28065ee7e77e93699512310fcd6d5742ed0d Signed-off-by: Mike Lockwood <lockwood@android.com>
* | TLS: Call kernel helper in additional situationsM8960AAAAANLYA1002M76XXUSNEKNLYA1010Michael Bohan2011-04-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ARMv6 has HW TLS support, and thus we should be using it rather than hacking the Linux Kernel to use the software mechanism. Unfortunately, ARMv6 targets without Thumb2 do not support the necessary TLS instructions in Thumb Mode. Converting the tls libc routines to ARM Mode will require an additional branch to switch modes. Therefore, let's simply use the Kernel's Helper Routine which already operates in ARM Mode. This changed behavior only applies if the HAVE_ARM_TLS_REGISTER option is defined. Otherwise, the existing paradigm is used. Change-Id: Iedf7036c0c2539cab0f82507bef810e1e0cbd4f6
* | linker: Increases the number limit for the total libraries loadedM8960AAAAANLYA1001M8660AAABQNLZA31403BM8660AAABQNLZA314011M8660AAABQNLZA3140M8660AAABQNLZA3135M8660AAABQNLZA3130M8660AAABQNLYA2150M8660AAABQNLYA2145M8660AAABQNLYA2140M8660AAABQNLYA2130M8260AAABQNLZA3042M8260AAABQNLZA3040M8260AAABQNLZA30370BM8260AAABQNLZA3037M8260AAABQNLZA3035M8260AAABQNLZA3030M8260AAABQNLZA3025M76XXUSNEKNLYA1007M76XXUSNEKNLYA1005M76XXTSNCJNLYA7130M76XXTSNCJNLYA7125M76XXTSNCJNLYA7120M76XXTSNCJNLYA7106M7630AABBQMLZA4150M7630AABBQMLZA4130M7630AABBQMLZA4125Raj Kushwaha2011-03-051-1/+1
| | | | | | | | | | | | | | | | | | Changes to increase the library limit so that the sharedlibrary along with the associated RPC libraries get loadedon boot-up. CRs-Fixed: 277116 Change-Id: I4666ce2c3b7bb5de5330ee7a32ca727816c90c3b
* | Merge "Merge commit 'android-2.3.3_r1' into gingerbread" into gingerbreadLinux Build Service Account2011-03-042-46/+100
|\ \
| * \ Merge commit 'android-2.3.3_r1' into gingerbreadSridhar Parasuram2011-02-242-46/+100
| |\ \ | | |/
| | * Merge "Only look up A records if the system has IPv4." into gingerbreadandroid-cts-2.3_r2android-2.3.3_r1aandroid-2.3.3_r1.1android-2.3.3_r1David Turner2011-01-181-29/+59
| | |\
| | | * Only look up A records if the system has IPv4.Lorenzo Colitti2011-01-151-29/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getaddrinfo only asks DNS for IPv6 addresses if the system has IPv6 connectivity, but always asks for IPv4 addresses. Don't ask for IPv4 addresses if there is no IPv4 connectivity. Change-Id: Iefe9fcb006fabe60b4b11dd4653a7c4a406506f4
| | * | Backport (simple cherry-pick) d33019030c1f0cddca557f9659e3c471bde0e6a9Steinar H. Gunderson2011-01-141-13/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to gingerbread. Implement RFC3484 policy table changes from draft-ietf-6man-rfc3484-revise-01. The changes in a nutshell: - Handle v4-mapped as different from v4-compat (this was probably an existing bug in our code). - Add policy entries for ULA, above most everything else. - Put v4-compat, old-style IPv6 site-local and 6bone addresses way down in the preference table. The rest is just shuffling numbers around (no actual changes to priority).
| | * | Backport (simple cherry-pick) 64b6c43379dba176659bc1313b6bb488ac94cfd6Steinar H. Gunderson2011-01-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | to gingerbread. Add a new #define IN6_IS_ADDR_ULA, for testing for Universal Local IPv6 Unicast addresses (ULAs). These replace the old site-local IPv6 addresses.
| | * | Backport (simple cherry-pick) d1624add2b73ce8ff7826ce27b1d6d6e35bb83a6Steinar H. Gunderson2011-01-141-4/+6
| | |/ | | | | | | | | | | | | | | | to gingerbread. Don't treat private IPv4 addresses as being in a non-global scope. The effect of this change is essentially to prefer NATed IPv4 over 6to4.
* | | Fix issue with bcopy.M8660AAABQNLZA312001M7630AABBQMLZA4120Pat Galizia2011-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The initial bcopy replacement copies the destination register to both arguments, so that the copy drops through and nothing is done. This modifies the register switch such that it now functions properly. Change-Id: I91da6bdbfd6295da32ec3131cc6fe5b18cd9e3ad
* | | Modify Android mem* routines with CodeAurora versions.Pat Galizia2011-02-254-15/+573
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the memcpy, memmove, and memset routines to use the versions from CodeAurora when specified in the bionic/Android.mk file (actually activated in the BoardConfig.mk file under device/<vendor>/<board>). With this change, the mem* routines are only used for the msm8660, while other platforms will use the current Android mem* routines. Future platforms can modify the makefile to use the CodeAurora-based mem* routines as desired. This has the benefit of making the CodeAurora- based routines opt-in instead of opt-out. Also, PLDSIZE and PLDOFFS can be specified in the BoardConfig.mk as well, so other platforms with different PLD tunings can use the same code without modifying the source file itself. Tests with FileCycler-0.3 showed a slight 1.1% improvement with these files on an 8660v2, based on the average of three FileCycler runs with and without the patch. Since the min/max values did not overlap, and the average score showed an improvement, we can consider upstreaming these modifications. Change-Id: I5607fe6f116f8fd2b2bd5ade151778eb0d5a3663
* | Bionic: Updated kernel includes used in FM userspace for FM Tx.M8660AAABQNLZA3120M8260AAABQNLZA3020Srinivas Krovvidi2011-02-212-155/+417
| | | | | | | | | | Change-Id: Ia903434d25438d13ef93d115c073aba240fea3a1 Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org>
* | [bionic]: Fixing futex problem in cpuacct update.M8260AAABQNLZA301103Shashank Mittal2011-02-071-7/+8
| | | | | | | | | | | | | | | | | | | | | | With fprintf, sometimes after fork child process gets stuck in fuxtex waiting queue. To fix this problem this change opens the file in SYNC mode using open command and writes to the file using write command. CRs-Fixed: 272695 Change-Id: Ia91b789effca2dafa12ee388211f7e54001fb8cb Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
* | Update msm_mdp.hM8260AAABQNLZA2530M7630AABBQMLZA4110Omprakash Dhyade2011-01-261-0/+5
| | | | | | | | | | | | Update msm_mdp.h as kernel msm_mdp.h has been updated. Change-Id: I3270e9c0ade666c098451d351b5e6cb11c6b178d
* | bionic: Change cache line size to 32M8660AAABQNLZA3110M8660AAABQNLYA107616M8660AAABQNLYA107614M8660AAABQNLYA107502M8660AAABQNLYA1075M8260AAABQNLZA2520M76XXTSNCJNLYA6120Brian Steuer2011-01-141-1/+1
| | | | | | | | | | | | | | Setting the cache line size to 32 for cache readahead purposes improves performance for most memcpy sizes. Change-Id: I923649c7bfca352d0d520c9d017c820eb6f6b005
* | Merge "bionic: remove V5 instruction for V6 targets" into gingerbreadLinux Build Service Account2011-01-141-0/+11
|\ \
| * | bionic: remove V5 instruction for V6 targetsBrian Steuer2011-01-061-0/+11
| | | | | | | | | | | | | | | | | | | | | Instructions in memcpy that are only needed for ARMV5 targets are now conditionally compiled for those targets. Change-Id: I4c203bf43b6ea2df35f34f4a7917290f8463afc5
* | | bionic: camera: Support for providing sensor mount angle to the APPM8660AAABQNLYA107001M8660AAABQNLYA1070M7630AABBQMLZA4020Ninad Patgaonkar2011-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Added support to provide the sensor mount angle. This will enable the camera application to display the camera preview with the correct orientation. Change-Id: I5ef66167f3caf733a929122236819a78bf4add0d
* | | vidc: Venc: B frame supportM76XXTSNCJNLYA6110Ashray Kulkarni2011-01-031-0/+1
|/ / | | | | | | Change-Id: I5835e6df0937a462403b09efc5cfac1c206872f1
* | Add i2c-dev.h and spidev.h kernel headersM8660AAABQNLYA1066M7630AABBQMLZA4015Ajay Dudani2010-12-172-0/+111
| | | | | | | | Change-Id: I868994bc8775f88eeba1b1d2e389c646d30695b6
* | Update kernel headers to CodeAuroraForum caf/android-msm-2.6.35Ajay Dudani2010-12-1730-222/+2854
|/ | | | Change-Id: I490e62adbe3b84ff2280f1cd88c6a3e8fed73109
* Add pn544.h clean kernel headerandroid-cts-2.3_r1android-2.3_r1android-2.3.2_r1android-2.3.1_r1Nick Pelly2010-11-011-0/+21
| | | | | | | Allows pn544 hardware reset Change-Id: I6d6d22b16c228f03a70a14a4655a41005761b5d6 Signed-off-by: Nick Pelly <npelly@google.com>
* libc: fix executable destruction support.David 'Digit' Turner2010-10-214-5/+61
| | | | | | | | | | | | | This change allows an executable to call its destructor functions (declared with __attribute__((destructor))) to be properly called when it normally exits. Note that this is different from calling the destructors of a shared library when it is unloaded with dlclose() or through program exit, which are already supported. Bug: 3106500 Change-Id: I1412ef5407f13b613fc6cb6103e0a691dbee4b1a
* libc: fix typo in waitid() declaration.David 'Digit' Turner2010-10-131-1/+1
| | | | | | The implementation file uses the correct spelling. Change-Id: I572e336f8695a9754267c8d2e0a67b1b69bacb06
* Fix the build. Oops.David 'Digit' Turner2010-10-111-0/+2
| | | | | | | (We remove the declaration for on_exit() from the C library headers, so do the same for the C++ <cstdlib>) Change-Id: I31a21d5643068cd160724908dd8156863a44d95a
* Merge "libc: tag missing functions in system headers." into gingerbreadDavid 'Digit' Turner2010-10-118-12/+34
|\
| * libc: tag missing functions in system headers.David 'Digit' Turner2010-10-098-12/+34
| | | | | | | | | | | | | | | | | | This matches recent changes in the NDK header. We enclose missing functions in #if 0 .. #endif blocks with a clear "MISSING" in comments in order to locate them later. Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
* | libc: optimize memmove() with memcpy() if possible.David 'Digit' Turner2010-10-071-1/+4
|/ | | | Change-Id: I90e578fdc82e427caee8fa4157ce3f8c6c99926d
* Revert "libc: memmove(): non-overlapping block optim."Marco Nelissen2010-09-281-5/+1
| | | | | | | | This reverts commit 80fba9a2fe4eacaabee99cf0bbead872c2792231, which caused the system to not boot anymore, aborting with: "java.lang.RuntimeException: Missing static main on com.android.server.SystemServer". Change-Id: I745e0a23c728cccf5f95a3c7642d544478a4e57e
* libc: add <sys/eventfd.h> and corresponding implementations.David 'Digit' Turner2010-09-2812-0/+162
| | | | Change-Id: Ide040884c456190226e580513099fdb8377e015b
* libc: Add missing waitid() implementation.David 'Digit' Turner2010-09-2810-14/+30
| | | | Change-Id: I312ee608dbf9249e4886a10d45d13e3cda8a9042
* libc: Add missing fdatasync() implementationDavid 'Digit' Turner2010-09-289-0/+80
| | | | Change-Id: I04bb655d77e414021e1f2a973329167ad76ca1c4
* Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbreadDavid 'Digit' Turner2010-09-281-0/+6
|\
| * libc: Add missing C++ guards to <pathconf.h>David 'Digit' Turner2010-09-271-0/+6
| | | | | | | | Change-Id: I94dad48678181d8b02431b1c1f5d507beafb5406
* | Merge "libc: memmove(): non-overlapping block optim." into gingerbreadDavid 'Digit' Turner2010-09-281-1/+5
|\ \
| * | libc: memmove(): non-overlapping block optim.David 'Digit' Turner2010-09-271-1/+5
| |/ | | | | | | Change-Id: I5652f4f97ca59d95176443fc27c737ef76258183
* | Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbreadDavid 'Digit' Turner2010-09-281-0/+4
|\ \
| * | libc: add missing O_CLOEXEC from <fcntl.h>David 'Digit' Turner2010-09-271-0/+4
| |/ | | | | | | Change-Id: Ie7ad57898e67800a9fe92bb52589d67ec30e1cd9
* | Merge "libc: Add missing pipe2() declaration and implementation." into ↵David 'Digit' Turner2010-09-2810-4/+92
|\ \ | | | | | | | | | gingerbread
| * | libc: Add missing pipe2() declaration and implementation.David 'Digit' Turner2010-09-2710-4/+92
| |/ | | | | | | Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
* | Merge "libm: remove aliasing issue." into gingerbreadDavid 'Digit' Turner2010-09-281-1/+1
|\ \
| * | libm: remove aliasing issue.David 'Digit' Turner2010-09-271-1/+1
| |/ | | | | | | | | | | | | See http://code.google.com/p/android/issues/detail?id=6697 for details about this change. Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d