summaryrefslogtreecommitdiffstats
path: root/libc/kernel/arch-arm
Commit message (Collapse)AuthorAgeFilesLines
* Remove the non-uapi kernel headers.Christopher Ferris2013-12-1897-6066/+0
| | | | | Bug: 11559337 Change-Id: Id1ee4dadbd673cf35b9c79bc87f9a6fb7b2253c6
* Add x86_64 to the bionic headers.Elliott Hughes2013-09-301-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | Manual changes: cpp.py: cope with macros that refer to other macros. defaults.py: x86 no longer always implies __i386__; use __i386__ to replace the kernel CONFIG_X86_32 flag. asm/page.h: the upstream page.h isn't a uapi header and no longer includes the stuff we were using it for. Let's just have our own static file, since it's the same for all our architectures (both 32- and 64-bit). sys/select.h: we used to use the various FD_SET-related macros from the kernel header files, but they've gone. Adjust by adding trivial equivalent definitions. Automated changes: libc/kernel/arch-x86, libc/kernel/common: regenerated from external/kernel-headers. Change-Id: I84fc0ed52dc742e043b4ae300fd3b58ee99b7fcd
* Clean up trailing whitespace in the kernel headers.Elliott Hughes2013-01-3020-196/+196
| | | | | | And fix the scripts so they stop letting trailing whitespace through. Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
* Use the NetBSD <sys/exec_elf.h>.Elliott Hughes2013-01-291-64/+0
| | | | | | | | Replace a kernel header file dependency with files from NetBSD. They're more complete, and ELF is ELF, whether you're on Linux or a BSD. Bug: 7973611 Change-Id: I83ee719e7efdf432ec2ddbe8be271d05b2f558d7
* Replace __unused in kernel headers with __linux_unused to avoidRaghu Gandham2012-09-251-1/+1
| | | | | | conflicts with __unused macro in sys/cdefs.h Change-Id: Ice664397e0b7c7a90795012f30be5e43a9675525
* Update the kernel headers to match external/kernel-headers.Elliott Hughes2012-09-122-1/+14
| | | | | | | | | | | | | | Note that the Linux kernel handed over responsibility for most of the socket constants to glibc some time ago. Someone had updated our external/kernel-headers file but not regenerated the bionic headers, so this change copies the missing stuff from the old bionic <linux/socket.h> into <sys/socket.h>. This is what glibc does. I've hacked a few of the other files to #include <sys/socket.h> for backward compatibility, but even so this requires numerous other changes to switch people over from direct inclusion of <linux/...> headers. Change-Id: I0e4af64e631d3cef911a31d90f2f806e058278a0
* am c7882ab2: Merge "bionic: add clean kernel header ucontext.h"Jean-Baptiste Queru2012-05-171-0/+34
|\ | | | | | | | | * commit 'c7882ab2a99a74c8f772ab03fdfd9a3b53515e46': bionic: add clean kernel header ucontext.h
| * bionic: add clean kernel header ucontext.hKito Cheng2012-05-141-0/+34
| | | | | | | | Change-Id: I34fd0b0147fa33fd74c13480bc11827634233a41
* | Update unistd.h for new syscallsKenny Root2012-04-131-1/+71
| | | | | | | | | | | | | | gensyscalls.py run from external/kernel-headers at commit efab8f3e49f7f36ef0354b0996ecd5f3fa031e52 Change-Id: I959b64280e184655ef8c713aa79f9e23cb1f7df4
* | Update kernel headers and add syscall "perf_event_open"Ben Cheng2012-03-131-5/+6
| | | | | | | | Change-Id: I43f12b727881df002a8524f2738586c043833bae
* | Update bionic kernel headers using update_all.pyBen Cheng2012-03-0798-745/+1514
| | | | | | | | Change-Id: I9c377436e9bf158e7236b3b7dcebf3e79fa961de
* | Revert "Update bionic kernel headers using update_all.py"Ben Cheng2012-03-0798-1514/+745
| | | | | | | | | | This reverts commit 94a85f663694e1869acb1c2e8a3c374a6fa3ab86 There is a smoke test failure for Prime but Crespo/Stingray are fine. Will revert the change for now until further investigation is made.
* | Update bionic kernel headers using update_all.pyBen Cheng2012-03-0798-745/+1514
|/ | | | Change-Id: I4da6b23cdbce89445f1ca5d2fadeb23345ce694c
* Make sure __u64 is defined even for strict ansi or -std=c99Martin Storsjo2012-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | The x86 asm headers define __u64 regardless of __STRICT_ANSI__. The linux/videodev2.h header requires __u64 to be defined, thus this fixes compiling with -std=c99 when including the linux/videodev2.h header. In glibc, the asm/types.h header defines __u64 regardless of __STRICT_ANSI__. This is the change for the generated arch-arm/asm/types.h header, as produced by the update_all.py script (without all the other unrelated changes that the script produces). FWIW, the same issue also is present in arch-sh/asm/types.h, but there are no source headers for arch-sh in external/kernel-headers (and regenerating the headers simply removes that file). Change-Id: If05fcc9ed6ff5943602be121c7be140116e361fe
* libc: Fix struct user_vfp definition.David 'Digit' Turner2011-02-012-6/+12
| | | | | | | | | | | | | | 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
* am ae5df14f: Merge "Use __asm__ instead of asm in public libc headers"David Turner2010-12-311-1/+1
|\ | | | | | | | | * commit 'ae5df14f9349a000356cf45ec0292bc21ceb5b3a': Use __asm__ instead of asm in public libc headers
| * Use __asm__ instead of asm in public libc headersMartin Storsjo2010-12-081-1/+1
| | | | | | | | | | | | | | | | | | If compiling userland code with -std=c99, the current header produces an error. The content of this header originally is a kernel internal header, where asm() is acceptable. In a header visible to userland, this should be __asm__ instead. Change-Id: I4d3188dd96f7836148ca89f5053d0389dd459d6e
* | Add missing PTRACE_SETVFPREGS.Doug Kwan2010-11-031-0/+1
|/ | | | Change-Id: I070903ea7ceb90a3ff54fbae09c0ac70a7af1e3d
* Add user-space ptrace data structure to dump VFP registers and status word.Ben Cheng2009-12-171-1/+8
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0398-0/+5254
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0398-5254/+0
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-1/+0
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-2198-0/+5255