summaryrefslogtreecommitdiffstats
path: root/libc/kernel/arch-mips
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete kernel/arch-mips headers.Elliott Hughes2013-11-20155-18428/+0
| | | | | Bug: 11559337 Change-Id: I70e205ff1f5acd07fddd7d82367e818b13847acd
* Remove the mips regdef.h and fpregdef.h old kernel headers.Elliott Hughes2013-11-132-228/+0
| | | | | Bug: 11559337 Change-Id: I6352cac9c4ef425cb21e34d0299223711ec079af
* Make cpp.py less braindead.Elliott Hughes2013-11-061-1/+1
| | | | | | | | | | | | | | | | | | The old code ignored operator precedence (!), despite having two tables of operator precedence. The code's still pretty awful, but I've cleaned it up enough to fix this, the most important bug. This patch lets us correctly clean the uapi unistd.h, stat.h, and swab.h files, and also fixes the mess we were already making of various old kernel header files. I've added a bunch more tests, fixed the existing tests that the existing script was already failing (!), and changed the script so that the tests are run every time the script is run. We can probably remove some of the old kernel header files that we were parsing incorrectly, but we can worry about that later. Bug: 11253477 Change-Id: Ie66c65b3a7ae13b4e98ed8038a6a534f06eae0e5
* Add x86_64 to the bionic headers.Elliott Hughes2013-09-301-28/+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-3061-1902/+1902
| | | | | | 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-218/+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
* Add functionlity to the scripts to replace tokens in kernel headersRaghu Gandham2013-01-173-5/+5
| | | | based on architecture.
* Add the cleaned kernel headersRaghu Gandham2012-09-241-0/+79
| | | | Change-Id: Ied4e3ca765672ebaebe9d4d0909b3278c2ff3cd8
* [MIPS] Removed the unused headerRaghu Gandham2012-09-241-24/+0
| | | | Change-Id: I8756a862669d4e5f283945496983f11a59dea30c
* [MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS.Raghu Gandham2012-09-2116-80/+169
| | | | | | Some of the required structure definitons are defined under this macro. Change-Id: I7a9a986e371381697dcb56bd8ea362856ffa7509
* Update the kernel headers to match external/kernel-headers.Elliott Hughes2012-09-123-7/+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
* Update arch-mips/asm/unistd.h for the newer syscallsRaghu Gandham2012-08-131-154/+220
| | | | Change-Id: Ie292c091cbf4b972e1b5faa7d779645c6e4442f0
* Updated the cleaned header file mman.h for MIPS.Raghu Gandham2012-07-311-4/+16
| | | | Change-Id: I8b3734e535711ca07fbf4066e6d967d1ce0f30eb
* bionic: add clean kernel header ucontext.hKito Cheng2012-05-141-0/+19
| | | | Change-Id: I34fd0b0147fa33fd74c13480bc11827634233a41
* [MIPS] Fix the warning originating from the kernel header signal.h.Raghu Gandham2012-04-231-6/+7
| | | | | This is a clean header generated from the corresponding change in external/kernel-headers repository. (CL 35760)
* [MIPS] Clean Kernel headers are generated by runningRaghu Gandham2012-03-27158-0/+18653
libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture. Change-Id: I2c9e461dccb7c33eb4420be2db1a562f45137c8d Signed-off-by: Raghu Gandham <raghu@mips.com> Signed-off-by: Chris Dearman <chris@mips.com>