Elliott Hughes
15428215c6
am b749a010: am 8637bb53: am b135f6e5: Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."
...
* commit 'b749a010a3cf6b1544d1e27b360ffcb98ae1cdbc':
Remove the unused arch-x86 and arch-x86-64 kernel headers.
2013-11-21 22:59:59 -08:00
Christopher Ferris
e3bc225413
am a626e4d8: am 26f0e54a: Merge "Script to grab uapi headers from android kernel."
...
* commit 'a626e4d8bc3d59cc328942fc30ffc04981b154ed':
Script to grab uapi headers from android kernel.
2013-11-21 18:43:58 -08:00
Elliott Hughes
68a4187c4a
am 50f6b836: am fa7b48bf: Merge "Regenerate uapi header files."
...
* commit '50f6b8363e1429316311450f2a3041040977d67c':
Regenerate uapi header files.
2013-11-21 18:43:57 -08:00
Elliott Hughes
8acd5dd2f8
am 84336795: am eec57b37: Merge "Add support for the ternary operator to the header scrubber."
...
* commit '843367953f40ee84bcc53e08a60c82215303e1fb':
Add support for the ternary operator to the header scrubber.
2013-11-21 18:43:48 -08:00
Elliott Hughes
03adedfc3c
am a18a01f5: am 15a64948: Merge "Remove obsolete kernel/arch-mips headers."
...
* commit 'a18a01f553ce5350923c470c144dca87dfc8e992':
Remove obsolete kernel/arch-mips headers.
2013-11-21 18:43:47 -08:00
Elliott Hughes
b749a010a3
am 8637bb53: am b135f6e5: Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."
...
* commit '8637bb5345bce20374ed345490d6de80cb874554':
Remove the unused arch-x86 and arch-x86-64 kernel headers.
2013-11-21 18:43:46 -08:00
Christopher Ferris
26f0e54ae0
Merge "Script to grab uapi headers from android kernel."
2013-11-21 22:20:14 +00:00
Christopher Ferris
e994d41578
Script to grab uapi headers from android kernel.
...
Change-Id: Ia140e3ab27fbfee6b02f04c085f3e0e351bbe68d
2013-11-21 14:09:54 -08:00
Elliott Hughes
8cb52b056c
Regenerate uapi header files.
...
Change-Id: Idc934ed8ae17aba3300e4022e9b42177b0907e9d
2013-11-21 13:43:23 -08:00
Elliott Hughes
1198fd3864
Add support for the ternary operator to the header scrubber.
...
Used in various uapi headers.
Change-Id: Id0f862d2adc7ddc9727e8a29160d5435f8d547c3
2013-11-21 11:12:34 -08:00
Elliott Hughes
15a6494856
Merge "Remove obsolete kernel/arch-mips headers."
2013-11-21 17:04:44 +00:00
Christopher Ferris
54b98c638a
am 37e5c6ba: am 750668f5: am 862faa12: Merge "Pull in cleaned version.h header."
...
* commit '37e5c6ba89b9daca67b1c09e2b73b4c6eac805a5':
Pull in cleaned version.h header.
2013-11-21 08:12:55 -08:00
Christopher Ferris
37e5c6ba89
am 750668f5: am 862faa12: Merge "Pull in cleaned version.h header."
...
* commit '750668f5abd9813bea6f33cb84d941ae306afea8':
Pull in cleaned version.h header.
2013-11-21 08:09:59 -08:00
Elliott Hughes
b867fd6825
Remove obsolete kernel/arch-mips headers.
...
Bug: 11559337
Change-Id: I70e205ff1f5acd07fddd7d82367e818b13847acd
2013-11-20 18:09:34 -08:00
Elliott Hughes
5cb66cfdc2
Remove the unused arch-x86 and arch-x86-64 kernel headers.
...
x86-64 already used uapi headers, and x86 can too now.
Bug: 11559337
Change-Id: I1196d2500f06ad40f2488b96fc8ccc7e02c7d5c0
2013-11-19 16:57:42 -08:00
Christopher Ferris
e372ec8cf9
Pull in cleaned version.h header.
...
Change-Id: Ia917af9336b63ed5a10147770a8110134cb274cb
2013-11-15 16:29:28 -08:00
Elliott Hughes
ad7e42d6bd
am 1b782289: am 5a70acd1: am ae5c3dd7: Merge "Remove the mips regdef.h and fpregdef.h old kernel headers."
...
* commit '1b782289f4f89434693e3e906df9c9cf43b4d277':
Remove the mips regdef.h and fpregdef.h old kernel headers.
2013-11-13 18:47:59 -08:00
Elliott Hughes
1b782289f4
am 5a70acd1: am ae5c3dd7: Merge "Remove the mips regdef.h and fpregdef.h old kernel headers."
...
* commit '5a70acd176a792868a61c94169d5e6c0679202f2':
Remove the mips regdef.h and fpregdef.h old kernel headers.
2013-11-13 16:28:37 -08:00
Elliott Hughes
007eced93b
Remove the mips regdef.h and fpregdef.h old kernel headers.
...
Bug: 11559337
Change-Id: I6352cac9c4ef425cb21e34d0299223711ec079af
2013-11-13 16:13:01 -08:00
Elliott Hughes
5ebfaf84df
am 5c56512e: am cdd6fdec: am 6768c1ee: Merge "Add a temporary uapi/linux/compiler.h until upstream has one."
...
* commit '5c56512eebc14558a2b3b83cdca09f04084d609c':
Add a temporary uapi/linux/compiler.h until upstream has one.
2013-11-08 16:03:52 -08:00
Elliott Hughes
5c56512eeb
am cdd6fdec: am 6768c1ee: Merge "Add a temporary uapi/linux/compiler.h until upstream has one."
...
* commit 'cdd6fdec6c8175b4b9f132a2b11c1fc5f20e8869':
Add a temporary uapi/linux/compiler.h until upstream has one.
2013-11-08 15:25:38 -08:00
Elliott Hughes
740531354e
Add a temporary uapi/linux/compiler.h until upstream has one.
...
Bug: 11559337
Change-Id: I205974b1a26e4f85d0e11503afa80669195d211c
2013-11-08 15:13:54 -08:00
Elliott Hughes
0538d38a30
am 26d8853a: am cac7eec5: am 68723453: Merge "Generate the uapi headers for mips and x86/x86_64."
...
* commit '26d8853ab5d3c42654a90bf31e54bb851f3b083c':
Generate the uapi headers for mips and x86/x86_64.
2013-11-08 14:28:57 -08:00
Elliott Hughes
26d8853ab5
am cac7eec5: am 68723453: Merge "Generate the uapi headers for mips and x86/x86_64."
...
* commit 'cac7eec55a4853abfcd5b8d7bce35d79ab330132':
Generate the uapi headers for mips and x86/x86_64.
2013-11-08 14:23:38 -08:00
Elliott Hughes
abd626117c
Generate the uapi headers for mips and x86/x86_64.
...
Bug: 11559337
Change-Id: I23b1a43e7bfa8fa6f9df7e59d2e731a0ec52dafc
2013-11-08 11:46:03 -08:00
Rom Lemarchand
d1cd2392c9
Merge "Refresh libc/kernel/common/linux/ion.h"
2013-11-07 13:29:57 +00:00
Ben Cheng
64aca718ee
am 99205dc9: am af10f9e9: Merge "Add processed uapi kernel headers for ARM."
...
* commit '99205dc987735e1d57f2e1b8446448f655808ab5':
Add processed uapi kernel headers for ARM.
2013-11-06 16:10:15 -08:00
Elliott Hughes
a047e0ab51
am afc51b92: am c4dbc16e: Merge "Make cpp.py less braindead."
...
* commit 'afc51b92a0e531f05e0e5477ea857a8669e5e5d1':
Make cpp.py less braindead.
2013-11-06 16:10:12 -08:00
Ben Cheng
af10f9e927
Merge "Add processed uapi kernel headers for ARM."
2013-11-06 23:55:25 +00:00
Ben Cheng
a6b53f03c7
Add processed uapi kernel headers for ARM.
...
Change-Id: Id34de841b7b4b5a1bf7d22eb793860f92f24a6e5
2013-11-06 15:51:05 -08:00
Elliott Hughes
40596aa005
Make cpp.py less braindead.
...
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
2013-11-06 12:04:48 -08:00
Rom Lemarchand
ea699f0cf4
Refresh libc/kernel/common/linux/ion.h
...
Change-Id: Ibd2bf99224b31bbad7b3a9b0d82bfef19162db7b
2013-11-06 09:55:03 -08:00
Elliott Hughes
c76ba85e16
am ffe06880: am f1258672: Merge "Fix <sys/select.h> for LP64, clean up <time.h>."
...
* commit 'ffe068808909c9825807dbaf8679b9f9efc2c690':
Fix <sys/select.h> for LP64, clean up <time.h>.
2013-11-05 14:01:49 -08:00
Elliott Hughes
3503ce2177
Fix <sys/select.h> for LP64, clean up <time.h>.
...
The 64-bit uapi headers don't define FD_CLR and friends, so this
patch updates libc/kernel/common/linux/time.h after the change
b934bbec145e9e084bf48149a3a94ae3dd132157 in external/kernel-headers,
then fixes <sys/select.h> to work in this new world, and removes
some now-unnecessary duplication from <time.h> (with other cruft
cleaned up while I'm here).
Change-Id: Ifd26f901b4d200c65065b3e6ef1b74055127e052
2013-11-05 13:28:36 -08:00
Elliott Hughes
748ad3d3f5
am 00889af0: am 943cc1b5: Merge "Refresh libc/kernel/common/linux/uinput.h"
...
* commit '00889af038359e0a7e97384bad25a809e8887857':
Refresh libc/kernel/common/linux/uinput.h
2013-10-31 16:07:39 -07:00
Scott Anderson
126f66a601
Refresh libc/kernel/common/linux/uinput.h
...
Change-Id: Icd830af5aee63276554ebf7bfe8192965209cc59
Signed-off-by: Scott Anderson <saa@google.com>
2013-10-31 15:45:32 -07:00
Ben Cheng
112b7088e7
am 8b113f75: am fcb37b87: Merge "Add __EXPORTED_HEADERS__ as predefined macro."
...
* commit '8b113f75b3e3835da00d0af61f033410fc29a8ca':
Add __EXPORTED_HEADERS__ as predefined macro.
2013-10-23 15:54:04 -07:00
Ben Cheng
460fa7033b
Add __EXPORTED_HEADERS__ as predefined macro.
...
To weed out stuff like this in uapi/linux/types.h
ifndef __EXPORTED_HEADERS__
warning "Attempt to use kernel headers from user space, see
http://kernelnewbies.org/KernelHeaders "
endif /* __EXPORTED_HEADERS__ */
Change-Id: I6506cea6248f7a3b44a839b98e91bdd0d3a6c4cd
2013-10-23 14:44:38 -07:00
Ben Cheng
2cda66116c
am a458b609: am f89f1eaa: Merge "Refresh libc/kernel/common/linux/auxvec.h"
...
* commit 'a458b609dbbff789a58fe4d2710af947b20d7e29':
Refresh libc/kernel/common/linux/auxvec.h
2013-10-16 16:58:47 -07:00
Ben Cheng
76b795a8ba
Refresh libc/kernel/common/linux/auxvec.h
...
Change-Id: If9bb50a2f233cdb60e91bd979876edb917e0f66d
2013-10-16 16:50:14 -07:00
Ben Cheng
a5e5fad478
am 29351c80: am 3fdd6b83: Merge "Add processed uapi kernel headers (common and aarch64-specific)"
...
* commit '29351c8091c4b7338bd47fb6b3e5aed94a2abf32':
Add processed uapi kernel headers (common and aarch64-specific)
2013-10-16 16:33:50 -07:00
Ben Cheng
2e0b93b01f
am 3b1b9f9f: am f0447ddb: Merge "Tweaked the cleanup scripts to handle uapi and aarch64 headers."
...
* commit '3b1b9f9ff6a2dc88ac0d78fd17f3b58448440357':
Tweaked the cleanup scripts to handle uapi and aarch64 headers.
2013-10-16 16:09:44 -07:00
Ben Cheng
655a7c081f
Add processed uapi kernel headers (common and aarch64-specific)
...
Change-Id: If0be7b83bd8fe7cb02472d173f7c452aabf61124
2013-10-16 16:09:24 -07:00
Ben Cheng
8bea2b6fac
Tweaked the cleanup scripts to handle uapi and aarch64 headers.
...
The processed uapi directory is now placed at libc/kernel/uapi as
opposed to libc/kernel/common/uapi as it contains
architectural-dependent headers now.
Change-Id: I53f814704a4d231b452fde398cd94257a0fb2eea
2013-10-16 15:28:56 -07:00
Elliott Hughes
5cf3b4bd34
am a8f4e905: am e26135ab: Merge "The x86_64 kernel headers are the x86 kernel headers."
...
* commit 'a8f4e905fa3fe5998607ff084091879b77257fd0':
The x86_64 kernel headers are the x86 kernel headers.
2013-10-02 08:57:27 -07:00
Elliott Hughes
86d920c302
The x86_64 kernel headers are the x86 kernel headers.
...
Change-Id: I8763aee7043800eb23a720914b57396e79fa812e
2013-10-01 18:03:23 -07:00
Elliott Hughes
a08be021cc
am 57e55fe3: am fd152c31: Merge "Clean up some comments."
...
* commit '57e55fe3b32465023071a19e368d91f4804ade3b':
Clean up some comments.
2013-10-01 11:14:27 -07:00
Elliott Hughes
c0af695426
Clean up some comments.
...
Copyright headers shouldn't contain the filename (and especially
shouldn't contain a different file's filename).
Change-Id: I82690a3bf371265402bc16f5d2fbb9299c3a1926
2013-10-01 11:10:21 -07:00
Elliott Hughes
5d641bcf70
am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
...
* commit 'f5dcdfc438684bbe93e398b6551f915fe3fe10bf':
Add x86_64 to the bionic headers.
2013-09-30 18:45:57 -07:00
Elliott Hughes
d3e64a3f40
Add x86_64 to the bionic headers.
...
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
2013-09-30 18:42:13 -07:00