Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Copy the parts of prebuilt we actually need

  • Loading branch information...
commit 16a1a696f601f67c4611c1c0e0280c5599bb04d2 0 parents
@michaelwu michaelwu authored
Showing with 23,992 additions and 0 deletions.
  1. +19 −0 ndk/Android.mk
  2. +34 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/alloca.h
  3. +128 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/android/log.h
  4. +54 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/arpa/inet.h
  5. +41 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/arpa/nameser.h
  6. +42 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/4level-fixup.h
  7. +11 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/audit_dir_write.h
  8. +19 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/__ffs.h
  9. +23 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/atomic.h
  10. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/ffz.h
  11. +18 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/find.h
  12. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/fls.h
  13. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/fls64.h
  14. +53 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/le.h
  15. +20 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/non-atomic.h
  16. +33 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bug.h
  17. +60 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/cputime.h
  18. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/emergency-restart.h
  19. +50 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/errno-base.h
  20. +119 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/errno.h
  21. +148 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/fcntl.h
  22. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/futex.h
  23. +58 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/ioctl.h
  24. +37 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/ipc.h
  25. +51 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/local.h
  26. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/memory_model.h
  27. +46 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/mman.h
  28. +16 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/mutex-xchg.h
  29. +29 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/percpu.h
  30. +39 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/pgtable-nopud.h
  31. +95 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/pgtable.h
  32. +46 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/poll.h
  33. +57 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/resource.h
  34. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/sections.h
  35. +213 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/siginfo.h
  36. +39 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/signal.h
  37. +37 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/tlb.h
  38. +35 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/topology.h
  39. +14 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/xor.h
  40. +42 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/a.out.h
  41. +27 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/board-perseus2.h
  42. +163 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/board.h
  43. +57 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/cpu.h
  44. +318 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/dma.h
  45. +160 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/fpga.h
  46. +37 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/gpio-switch.h
  47. +49 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/gpio.h
  48. +157 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/hardware.h
  49. +54 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/io.h
  50. +242 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/irqs.h
  51. +185 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/mcbsp.h
  52. +19 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/memory.h
  53. +31 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/mtd-xip.h
  54. +391 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/mux.h
  55. +30 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/omap24xx.h
  56. +21 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/serial.h
  57. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/timex.h
  58. +13 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/vmalloc.h
  59. +21 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/atomic.h
  60. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/auxvec.h
  61. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/bitops.h
  62. +51 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/byteorder.h
  63. +18 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/cache.h
  64. +107 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/cacheflush.h
  65. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/cputime.h
  66. +22 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/delay.h
  67. +27 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/div64.h
  68. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/dma-mapping.h
  69. +45 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/dma.h
  70. +32 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/domain.h
  71. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/dyntick.h
  72. +63 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/elf.h
  73. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/errno.h
  74. +22 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/fcntl.h
  75. +68 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/fpstate.h
  76. +11 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/glue.h
  77. +38 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/hardirq.h
  78. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/hardware.h
  79. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/hw_irq.h
  80. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ide.h
  81. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/io.h
  82. +12 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ioctl.h
  83. +88 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ioctls.h
  84. +30 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ipcbuf.h
  85. +45 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/irq.h
  86. +18 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/linkage.h
  87. +12 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/local.h
  88. +55 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/locks.h
  89. +26 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/mc146818rtc.h
  90. +95 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/memory.h
  91. +28 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/mman.h
  92. +26 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/module.h
  93. +32 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/msgbuf.h
  94. +20 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/mtd-xip.h
  95. +19 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/page.h
  96. +25 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/param.h
  97. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/percpu.h
  98. +23 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/pgalloc.h
  99. +70 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/pgtable-hwdef.h
  100. +20 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/pgtable.h
  101. +36 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/poll.h
  102. +70 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/posix_types.h
  103. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/proc-fns.h
  104. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/processor.h
  105. +51 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/procinfo.h
  106. +95 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ptrace.h
  107. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/resource.h
  108. +28 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/scatterlist.h
  109. +36 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/semaphore.h
  110. +26 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/sembuf.h
  111. +43 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/shmbuf.h
  112. +19 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/shmparam.h
  113. +39 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/sigcontext.h
  114. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/siginfo.h
  115. +103 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/signal.h
  116. +39 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/sizes.h
  117. +34 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/smp.h
  118. +61 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/socket.h
  119. +22 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/sockios.h
  120. +27 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/spinlock.h
  121. +31 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/spinlock_types.h
  122. +93 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/stat.h
  123. +43 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/statfs.h
  124. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/suspend.h
  125. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/system.h
  126. +174 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/termbits.h
  127. +67 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/termios.h
  128. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/thread_info.h
  129. +19 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/timex.h
  130. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/tlbflush.h
  131. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/topology.h
  132. +36 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/types.h
  133. +77 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/uaccess.h
  134. +38 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/unaligned.h
  135. +359 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/unistd.h
  136. +61 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/user.h
  137. +23 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/vga.h
  138. +65 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/assert.h
  139. +37 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/byteswap.h
  140. 0  ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/cstddef
  141. +207 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ctype.h
  142. +79 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/dirent.h
  143. +55 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/dlfcn.h
  144. +58 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/elf.h
  145. +33 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/endian.h
  146. 0  ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/err.h
  147. +55 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/errno.h
  148. +50 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/fcntl.h
  149. +58 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/features.h
  150. +217 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/fenv.h
  151. +52 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/fnmatch.h
  152. +85 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/getopt.h
  153. +82 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/grp.h
  154. +258 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/inttypes.h
  155. +1,140 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/jni.h
  156. 0  ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/lastlog.h
  157. +57 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/libgen.h
  158. +96 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/limits.h
  159. +220 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/a.out.h
  160. +64 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/aio_abi.h
  161. +89 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/akm8976.h
  162. +50 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/android_alarm.h
  163. +52 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/android_pmem.h
  164. +55 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/android_power.h
  165. +94 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/apm_bios.h
  166. +46 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ashmem.h
  167. +265 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ata.h
  168. +161 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/atm.h
  169. +24 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/atmapi.h
  170. +161 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/atmdev.h
  171. +40 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/atmioc.h
  172. +26 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/atmppp.h
  173. +117 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/atmsap.h
  174. +34 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/attribute_container.h
  175. +56 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/auto_fs.h
  176. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/autoconf.h
  177. +40 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/auxvec.h
  178. +53 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/backing-dev.h
  179. +186 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/binder.h
  180. +23 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/binfmts.h
  181. +171 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/bio.h
  182. +24 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/bitmap.h
  183. +18 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/bitops.h
  184. +461 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/blkdev.h
  185. +41 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/blkpg.h
  186. +29 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/blockgroup_lock.h
  187. +67 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/byteorder/big_endian.h
  188. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/byteorder/generic.h
  189. +67 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/byteorder/little_endian.h
  190. +72 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/byteorder/swab.h
  191. +52 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/byteorder/swabb.h
  192. +54 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/cache.h
  193. +22 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/calc64.h
  194. +95 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/capability.h
  195. +88 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/capi.h
  196. +14 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/cdev.h
  197. +718 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/cdrom.h
  198. +29 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/circ_buf.h
  199. +23 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/clk.h
  200. +594 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/coda.h
  201. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/coda_fs_i.h
  202. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/compat.h
  203. +22 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/compiler-gcc.h
  204. +38 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/compiler.h
  205. +32 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/completion.h
  206. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/config.h
  207. +121 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/console_struct.h
  208. +36 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/cpu.h
  209. +87 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/cpumask.h
  210. +43 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ctype.h
  211. +135 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/dccp.h
  212. +26 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/debug_locks.h
  213. +29 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/delay.h
  214. +222 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/device.h
  215. +30 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/dirent.h
  216. +146 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/dm-ioctl.h
  217. +48 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/dma-mapping.h
  218. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/dmaengine.h
  219. +45 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/efs_dir.h
  220. +63 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/efs_fs_i.h
  221. +61 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/efs_fs_sb.h
  222. +109 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/elevator.h
  223. +51 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/elf-em.h
  224. +361 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/elf.h
  225. +23 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/err.h
  226. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/errno.h
  227. +33 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/errqueue.h
  228. +19 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/etherdevice.h
  229. +378 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ext2_fs.h
  230. +448 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ext3_fs.h
  231. +28 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/fadvise.h
  232. +347 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/fb.h
  233. +35 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/fcntl.h
  234. +258 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/fd.h
  235. +64 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/file.h
  236. +104 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/filter.h
  237. +162 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/fs.h
  238. +51 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ftape.h
  239. +61 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/futex.h
  240. +55 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/genhd.h
  241. +76 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/gfp.h
  242. +73 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/hardirq.h
  243. +57 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/hdlc/ioctl.h
  244. +432 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/hdreg.h
  245. +114 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/hdsmart.h
  246. +31 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/highmem.h
  247. +256 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/hil.h
  248. +95 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/i2c.h
  249. +81 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/icmp.h
  250. +176 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if.h
  251. +94 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_arcnet.h
  252. +119 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_arp.h
  253. +100 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_bridge.h
  254. +81 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_ether.h
  255. +35 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_fc.h
  256. +83 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_fddi.h
  257. +99 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_hippi.h
  258. +96 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_packet.h
  259. +116 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_ppp.h
  260. +76 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_tr.h
  261. +45 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_tun.h
  262. +52 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/if_vlan.h
  263. +211 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/in.h
  264. +158 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/in6.h
  265. +137 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/init.h
  266. +53 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/inotify.h
  267. +715 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/input.h
  268. +121 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/interrupt.h
  269. +18 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ioctl.h
  270. +95 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ioport.h
  271. +44 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ioprio.h
  272. +118 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ip.h
  273. +48 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ipc.h
  274. +69 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ipmi_msgdefs.h
  275. +79 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ipmi_smi.h
  276. +78 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ipx.h
  277. +100 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/irq.h
  278. +24 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/irq_cpustat.h
  279. +34 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/irqflags.h
  280. +21 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/irqreturn.h
  281. +118 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/jbd.h
  282. +115 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/jiffies.h
  283. +176 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kd.h
  284. +18 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kdev_t.h
  285. +39 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kernel.h
  286. +42 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kernel_stat.h
  287. +41 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kernelcapi.h
  288. +17 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kexec.h
  289. +21 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/key.h
  290. +446 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/keyboard.h
  291. +30 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/keychord.h
  292. +41 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/klist.h
  293. +23 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kmod.h
  294. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kobject.h
  295. +15 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/kref.h
  296. +52 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ktime.h
  297. +33 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/limits.h
  298. +66 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/linkage.h
  299. +16 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/list.h
  300. +50 −0 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/lockd/nlm.h
Sorry, we could not display the entire diff because too many files (17,285) changed.
19 ndk/Android.mk
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH:= $(call my-dir)
+
+include $(call all-makefiles-under,$(LOCAL_PATH))
34 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/alloca.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+#ifndef _ALLOCA_H
+#define _ALLOCA_H
+
+#define alloca(size) __builtin_alloca(size)
+
+#endif /* _ALLOCA_H */
+
128 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/android/log.h
@@ -0,0 +1,128 @@
+/*
+ * Copyright (C) 2009 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ANDROID_LOG_H
+#define _ANDROID_LOG_H
+
+/******************************************************************
+ *
+ * IMPORTANT NOTICE:
+ *
+ * This file is part of Android's set of stable system headers
+ * exposed by the Android NDK (Native Development Kit) since
+ * platform release 1.5
+ *
+ * Third-party source AND binary code relies on the definitions
+ * here to be FROZEN ON ALL UPCOMING PLATFORM RELEASES.
+ *
+ * - DO NOT MODIFY ENUMS (EXCEPT IF YOU ADD NEW 32-BIT VALUES)
+ * - DO NOT MODIFY CONSTANTS OR FUNCTIONAL MACROS
+ * - DO NOT CHANGE THE SIGNATURE OF FUNCTIONS IN ANY WAY
+ * - DO NOT CHANGE THE LAYOUT OR SIZE OF STRUCTURES
+ */
+
+/*
+ * Support routines to send messages to the Android in-kernel log buffer,
+ * which can later be accessed through the 'logcat' utility.
+ *
+ * Each log message must have
+ * - a priority
+ * - a log tag
+ * - some text
+ *
+ * The tag normally corresponds to the component that emits the log message,
+ * and should be reasonably small.
+ *
+ * Log message text may be truncated to less than an implementation-specific
+ * limit (e.g. 1023 characters max).
+ *
+ * Note that a newline character ("\n") will be appended automatically to your
+ * log message, if not already there. It is not possible to send several messages
+ * and have them appear on a single line in logcat.
+ *
+ * PLEASE USE LOGS WITH MODERATION:
+ *
+ * - Sending log messages eats CPU and slow down your application and the
+ * system.
+ *
+ * - The circular log buffer is pretty small (<64KB), sending many messages
+ * might push off other important log messages from the rest of the system.
+ *
+ * - In release builds, only send log messages to account for exceptional
+ * conditions.
+ *
+ * NOTE: These functions MUST be implemented by /system/lib/liblog.so
+ */
+
+#include <stdarg.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Android log priority values, in ascending priority order.
+ */
+typedef enum android_LogPriority {
+ ANDROID_LOG_UNKNOWN = 0,
+ ANDROID_LOG_DEFAULT, /* only for SetMinPriority() */
+ ANDROID_LOG_VERBOSE,
+ ANDROID_LOG_DEBUG,
+ ANDROID_LOG_INFO,
+ ANDROID_LOG_WARN,
+ ANDROID_LOG_ERROR,
+ ANDROID_LOG_FATAL,
+ ANDROID_LOG_SILENT, /* only for SetMinPriority(); must be last */
+} android_LogPriority;
+
+/*
+ * Send a simple string to the log.
+ */
+int __android_log_write(int prio, const char *tag, const char *text);
+
+/*
+ * Send a formatted string to the log, used like printf(fmt,...)
+ */
+int __android_log_print(int prio, const char *tag, const char *fmt, ...)
+#if defined(__GNUC__)
+ __attribute__ ((format(printf, 3, 4)))
+#endif
+ ;
+
+/*
+ * A variant of __android_log_print() that takes a va_list to list
+ * additional parameters.
+ */
+int __android_log_vprint(int prio, const char *tag,
+ const char *fmt, va_list ap);
+
+/*
+ * Log an assertion failure and SIGTRAP the process to have a chance
+ * to inspect it, if a debugger is attached. This uses the FATAL priority.
+ */
+void __android_log_assert(const char *cond, const char *tag,
+ const char *fmt, ...)
+#if defined(__GNUC__)
+ __attribute__ ((noreturn))
+ __attribute__ ((format(printf, 3, 4)))
+#endif
+ ;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ANDROID_LOG_H */
54 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/arpa/inet.h
@@ -0,0 +1,54 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+#ifndef _ARPA_INET_H_
+#define _ARPA_INET_H_
+
+#include <stdint.h>
+#include <sys/types.h>
+#include <netinet/in.h>
+
+__BEGIN_DECLS
+
+typedef uint32_t in_addr_t;
+
+extern uint32_t inet_addr(const char *);
+
+extern int inet_aton(const char *, struct in_addr *);
+extern char* inet_ntoa(struct in_addr);
+
+extern int inet_pton(int, const char *, void *);
+extern const char* inet_ntop(int, const void *, char *, size_t);
+
+extern unsigned int inet_nsap_addr(const char *, unsigned char *, int);
+extern char* inet_nsap_ntoa(int, const unsigned char *, char *);
+
+__END_DECLS
+
+#endif /* _ARPA_INET_H_ */
+
+
41 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/arpa/nameser.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+#ifndef _arpa_nameser_h
+#define _arpa_nameser_h
+
+#include <sys/types.h>
+#include <sys/cdefs.h>
+
+/* this header intentionally blank
+ *
+ * the definitions normally found in <arpa/nameser.h> are
+ * really a bunch of resolver's internal declarations that
+ * should not be exposed to client code in any way
+ */
+
+#endif /* _arpa_nameser_h */
42 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/4level-fixup.h
@@ -0,0 +1,42 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _4LEVEL_FIXUP_H
+#define _4LEVEL_FIXUP_H
+
+#define __ARCH_HAS_4LEVEL_HACK
+#define __PAGETABLE_PUD_FOLDED
+
+#define PUD_SIZE PGDIR_SIZE
+#define PUD_MASK PGDIR_MASK
+#define PTRS_PER_PUD 1
+
+#define pud_t pgd_t
+
+#define pmd_alloc(mm, pud, address) ((unlikely(pgd_none(*(pud))) && __pmd_alloc(mm, pud, address))? NULL: pmd_offset(pud, address))
+
+#define pud_alloc(mm, pgd, address) (pgd)
+#define pud_offset(pgd, start) (pgd)
+#define pud_none(pud) 0
+#define pud_bad(pud) 0
+#define pud_present(pud) 1
+#define pud_ERROR(pud) do { } while (0)
+#define pud_clear(pud) pgd_clear(pud)
+
+#undef pud_free_tlb
+#define pud_free_tlb(tlb, x) do { } while (0)
+#define pud_free(x) do { } while (0)
+#define __pud_free_tlb(tlb, x) do { } while (0)
+
+#undef pud_addr_end
+#define pud_addr_end(addr, end) (end)
+
+#endif
11 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/audit_dir_write.h
@@ -0,0 +1,11 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
19 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/__ffs.h
@@ -0,0 +1,19 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS___FFS_H_
+#define _ASM_GENERIC_BITOPS___FFS_H_
+
+#include <asm/types.h>
+
+#if BITS_PER_LONG == 64
+#endif
+#endif
23 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/atomic.h
@@ -0,0 +1,23 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS_ATOMIC_H_
+#define _ASM_GENERIC_BITOPS_ATOMIC_H_
+
+#include <asm/types.h>
+
+#define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
+#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
+
+#define _atomic_spin_lock_irqsave(l,f) do { local_irq_save(f); } while (0)
+#define _atomic_spin_unlock_irqrestore(l,f) do { local_irq_restore(f); } while (0)
+
+#endif
17 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/ffz.h
@@ -0,0 +1,17 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS_FFZ_H_
+#define _ASM_GENERIC_BITOPS_FFZ_H_
+
+#define ffz(x) __ffs(~(x))
+
+#endif
18 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/find.h
@@ -0,0 +1,18 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS_FIND_H_
+#define _ASM_GENERIC_BITOPS_FIND_H_
+
+#define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
+#define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
+
+#endif
15 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/fls.h
@@ -0,0 +1,15 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS_FLS_H_
+#define _ASM_GENERIC_BITOPS_FLS_H_
+
+#endif
17 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/fls64.h
@@ -0,0 +1,17 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS_FLS64_H_
+#define _ASM_GENERIC_BITOPS_FLS64_H_
+
+#include <asm/types.h>
+
+#endif
53 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/le.h
@@ -0,0 +1,53 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS_LE_H_
+#define _ASM_GENERIC_BITOPS_LE_H_
+
+#include <asm/types.h>
+#include <asm/byteorder.h>
+
+#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
+#define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)
+
+#ifdef __LITTLE_ENDIAN
+
+#define generic_test_le_bit(nr, addr) test_bit(nr, addr)
+#define generic___set_le_bit(nr, addr) __set_bit(nr, addr)
+#define generic___clear_le_bit(nr, addr) __clear_bit(nr, addr)
+
+#define generic_test_and_set_le_bit(nr, addr) test_and_set_bit(nr, addr)
+#define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit(nr, addr)
+
+#define generic___test_and_set_le_bit(nr, addr) __test_and_set_bit(nr, addr)
+#define generic___test_and_clear_le_bit(nr, addr) __test_and_clear_bit(nr, addr)
+
+#define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset)
+
+#elif defined(__BIG_ENDIAN)
+
+#define generic_test_le_bit(nr, addr) test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
+#define generic___set_le_bit(nr, addr) __set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
+#define generic___clear_le_bit(nr, addr) __clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
+
+#define generic_test_and_set_le_bit(nr, addr) test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
+#define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
+
+#define generic___test_and_set_le_bit(nr, addr) __test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
+#define generic___test_and_clear_le_bit(nr, addr) __test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
+
+#else
+#error "Please fix <asm/byteorder.h>"
+#endif
+
+#define generic_find_first_zero_le_bit(addr, size) generic_find_next_zero_le_bit((addr), (size), 0)
+
+#endif
20 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bitops/non-atomic.h
@@ -0,0 +1,20 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BITOPS_NON_ATOMIC_H_
+#define _ASM_GENERIC_BITOPS_NON_ATOMIC_H_
+
+#include <asm/types.h>
+
+#define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
+#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
+
+#endif
33 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/bug.h
@@ -0,0 +1,33 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_BUG_H
+#define _ASM_GENERIC_BUG_H
+
+#include <linux/compiler.h>
+
+#ifndef HAVE_ARCH_BUG
+#define BUG()
+#endif
+
+#ifndef HAVE_ARCH_BUG_ON
+#define BUG_ON(condition) do { if (condition) ; } while(0)
+#endif
+
+#ifndef HAVE_ARCH_WARN_ON
+#define WARN_ON(condition) do { if (condition) ; } while(0)
+#endif
+
+#define WARN_ON_ONCE(condition) ({ static int __warn_once = 1; int __ret = 0; if (unlikely((condition) && __warn_once)) { __warn_once = 0; WARN_ON(1); __ret = 1; } __ret; })
+
+#define WARN_ON_SMP(x) do { } while (0)
+
+#endif
60 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/cputime.h
@@ -0,0 +1,60 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_CPUTIME_H
+#define _ASM_GENERIC_CPUTIME_H
+
+#include <linux/time.h>
+#include <linux/jiffies.h>
+
+typedef unsigned long cputime_t;
+
+#define cputime_zero (0UL)
+#define cputime_max ((~0UL >> 1) - 1)
+#define cputime_add(__a, __b) ((__a) + (__b))
+#define cputime_sub(__a, __b) ((__a) - (__b))
+#define cputime_div(__a, __n) ((__a) / (__n))
+#define cputime_halve(__a) ((__a) >> 1)
+#define cputime_eq(__a, __b) ((__a) == (__b))
+#define cputime_gt(__a, __b) ((__a) > (__b))
+#define cputime_ge(__a, __b) ((__a) >= (__b))
+#define cputime_lt(__a, __b) ((__a) < (__b))
+#define cputime_le(__a, __b) ((__a) <= (__b))
+#define cputime_to_jiffies(__ct) (__ct)
+#define jiffies_to_cputime(__hz) (__hz)
+
+typedef u64 cputime64_t;
+
+#define cputime64_zero (0ULL)
+#define cputime64_add(__a, __b) ((__a) + (__b))
+#define cputime64_sub(__a, __b) ((__a) - (__b))
+#define cputime64_to_jiffies64(__ct) (__ct)
+#define jiffies64_to_cputime64(__jif) (__jif)
+#define cputime_to_cputime64(__ct) ((u64) __ct)
+
+#define cputime_to_msecs(__ct) jiffies_to_msecs(__ct)
+#define msecs_to_cputime(__msecs) msecs_to_jiffies(__msecs)
+
+#define cputime_to_secs(jif) ((jif) / HZ)
+#define secs_to_cputime(sec) ((sec) * HZ)
+
+#define timespec_to_cputime(__val) timespec_to_jiffies(__val)
+#define cputime_to_timespec(__ct,__val) jiffies_to_timespec(__ct,__val)
+
+#define timeval_to_cputime(__val) timeval_to_jiffies(__val)
+#define cputime_to_timeval(__ct,__val) jiffies_to_timeval(__ct,__val)
+
+#define cputime_to_clock_t(__ct) jiffies_to_clock_t(__ct)
+#define clock_t_to_cputime(__x) clock_t_to_jiffies(__x)
+
+#define cputime64_to_clock_t(__ct) jiffies_64_to_clock_t(__ct)
+
+#endif
15 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/emergency-restart.h
@@ -0,0 +1,15 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_EMERGENCY_RESTART_H
+#define _ASM_GENERIC_EMERGENCY_RESTART_H
+
+#endif
50 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/errno-base.h
@@ -0,0 +1,50 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_ERRNO_BASE_H
+#define _ASM_GENERIC_ERRNO_BASE_H
+
+#define EPERM 1
+#define ENOENT 2
+#define ESRCH 3
+#define EINTR 4
+#define EIO 5
+#define ENXIO 6
+#define E2BIG 7
+#define ENOEXEC 8
+#define EBADF 9
+#define ECHILD 10
+#define EAGAIN 11
+#define ENOMEM 12
+#define EACCES 13
+#define EFAULT 14
+#define ENOTBLK 15
+#define EBUSY 16
+#define EEXIST 17
+#define EXDEV 18
+#define ENODEV 19
+#define ENOTDIR 20
+#define EISDIR 21
+#define EINVAL 22
+#define ENFILE 23
+#define EMFILE 24
+#define ENOTTY 25
+#define ETXTBSY 26
+#define EFBIG 27
+#define ENOSPC 28
+#define ESPIPE 29
+#define EROFS 30
+#define EMLINK 31
+#define EPIPE 32
+#define EDOM 33
+#define ERANGE 34
+
+#endif
119 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/errno.h
@@ -0,0 +1,119 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_ERRNO_H
+#define _ASM_GENERIC_ERRNO_H
+
+#include <asm-generic/errno-base.h>
+
+#define EDEADLK 35
+#define ENAMETOOLONG 36
+#define ENOLCK 37
+#define ENOSYS 38
+#define ENOTEMPTY 39
+#define ELOOP 40
+#define EWOULDBLOCK EAGAIN
+#define ENOMSG 42
+#define EIDRM 43
+#define ECHRNG 44
+#define EL2NSYNC 45
+#define EL3HLT 46
+#define EL3RST 47
+#define ELNRNG 48
+#define EUNATCH 49
+#define ENOCSI 50
+#define EL2HLT 51
+#define EBADE 52
+#define EBADR 53
+#define EXFULL 54
+#define ENOANO 55
+#define EBADRQC 56
+#define EBADSLT 57
+
+#define EDEADLOCK EDEADLK
+
+#define EBFONT 59
+#define ENOSTR 60
+#define ENODATA 61
+#define ETIME 62
+#define ENOSR 63
+#define ENONET 64
+#define ENOPKG 65
+#define EREMOTE 66
+#define ENOLINK 67
+#define EADV 68
+#define ESRMNT 69
+#define ECOMM 70
+#define EPROTO 71
+#define EMULTIHOP 72
+#define EDOTDOT 73
+#define EBADMSG 74
+#define EOVERFLOW 75
+#define ENOTUNIQ 76
+#define EBADFD 77
+#define EREMCHG 78
+#define ELIBACC 79
+#define ELIBBAD 80
+#define ELIBSCN 81
+#define ELIBMAX 82
+#define ELIBEXEC 83
+#define EILSEQ 84
+#define ERESTART 85
+#define ESTRPIPE 86
+#define EUSERS 87
+#define ENOTSOCK 88
+#define EDESTADDRREQ 89
+#define EMSGSIZE 90
+#define EPROTOTYPE 91
+#define ENOPROTOOPT 92
+#define EPROTONOSUPPORT 93
+#define ESOCKTNOSUPPORT 94
+#define EOPNOTSUPP 95
+#define EPFNOSUPPORT 96
+#define EAFNOSUPPORT 97
+#define EADDRINUSE 98
+#define EADDRNOTAVAIL 99
+#define ENETDOWN 100
+#define ENETUNREACH 101
+#define ENETRESET 102
+#define ECONNABORTED 103
+#define ECONNRESET 104
+#define ENOBUFS 105
+#define EISCONN 106
+#define ENOTCONN 107
+#define ESHUTDOWN 108
+#define ETOOMANYREFS 109
+#define ETIMEDOUT 110
+#define ECONNREFUSED 111
+#define EHOSTDOWN 112
+#define EHOSTUNREACH 113
+#define EALREADY 114
+#define EINPROGRESS 115
+#define ESTALE 116
+#define EUCLEAN 117
+#define ENOTNAM 118
+#define ENAVAIL 119
+#define EISNAM 120
+#define EREMOTEIO 121
+#define EDQUOT 122
+
+#define ENOMEDIUM 123
+#define EMEDIUMTYPE 124
+#define ECANCELED 125
+#define ENOKEY 126
+#define EKEYEXPIRED 127
+#define EKEYREVOKED 128
+#define EKEYREJECTED 129
+
+#define EOWNERDEAD 130
+#define ENOTRECOVERABLE 131
+
+#endif
148 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/fcntl.h
@@ -0,0 +1,148 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_FCNTL_H
+#define _ASM_GENERIC_FCNTL_H
+
+#include <linux/types.h>
+
+#define O_ACCMODE 00000003
+#define O_RDONLY 00000000
+#define O_WRONLY 00000001
+#define O_RDWR 00000002
+#ifndef O_CREAT
+#define O_CREAT 00000100
+#endif
+#ifndef O_EXCL
+#define O_EXCL 00000200
+#endif
+#ifndef O_NOCTTY
+#define O_NOCTTY 00000400
+#endif
+#ifndef O_TRUNC
+#define O_TRUNC 00001000
+#endif
+#ifndef O_APPEND
+#define O_APPEND 00002000
+#endif
+#ifndef O_NONBLOCK
+#define O_NONBLOCK 00004000
+#endif
+#ifndef O_SYNC
+#define O_SYNC 00010000
+#endif
+#ifndef FASYNC
+#define FASYNC 00020000
+#endif
+#ifndef O_DIRECT
+#define O_DIRECT 00040000
+#endif
+#ifndef O_LARGEFILE
+#define O_LARGEFILE 00100000
+#endif
+#ifndef O_DIRECTORY
+#define O_DIRECTORY 00200000
+#endif
+#ifndef O_NOFOLLOW
+#define O_NOFOLLOW 00400000
+#endif
+#ifndef O_NOATIME
+#define O_NOATIME 01000000
+#endif
+#ifndef O_NDELAY
+#define O_NDELAY O_NONBLOCK
+#endif
+
+#define F_DUPFD 0
+#define F_GETFD 1
+#define F_SETFD 2
+#define F_GETFL 3
+#define F_SETFL 4
+#ifndef F_GETLK
+#define F_GETLK 5
+#define F_SETLK 6
+#define F_SETLKW 7
+#endif
+#ifndef F_SETOWN
+#define F_SETOWN 8
+#define F_GETOWN 9
+#endif
+#ifndef F_SETSIG
+#define F_SETSIG 10
+#define F_GETSIG 11
+#endif
+
+#define FD_CLOEXEC 1
+
+#ifndef F_RDLCK
+#define F_RDLCK 0
+#define F_WRLCK 1
+#define F_UNLCK 2
+#endif
+
+#ifndef F_EXLCK
+#define F_EXLCK 4
+#define F_SHLCK 8
+#endif
+
+#ifndef F_INPROGRESS
+#define F_INPROGRESS 16
+#endif
+
+#define LOCK_SH 1
+#define LOCK_EX 2
+#define LOCK_NB 4
+#define LOCK_UN 8
+
+#define LOCK_MAND 32
+#define LOCK_READ 64
+#define LOCK_WRITE 128
+#define LOCK_RW 192
+
+#define F_LINUX_SPECIFIC_BASE 1024
+
+#ifndef HAVE_ARCH_STRUCT_FLOCK
+#ifndef __ARCH_FLOCK_PAD
+#define __ARCH_FLOCK_PAD
+#endif
+
+struct flock {
+ short l_type;
+ short l_whence;
+ off_t l_start;
+ off_t l_len;
+ pid_t l_pid;
+ __ARCH_FLOCK_PAD
+};
+#endif
+
+#ifndef F_GETLK64
+#define F_GETLK64 12
+#define F_SETLK64 13
+#define F_SETLKW64 14
+#endif
+
+#ifndef HAVE_ARCH_STRUCT_FLOCK64
+#ifndef __ARCH_FLOCK64_PAD
+#define __ARCH_FLOCK64_PAD
+#endif
+
+struct flock64 {
+ short l_type;
+ short l_whence;
+ loff_t l_start;
+ loff_t l_len;
+ pid_t l_pid;
+ __ARCH_FLOCK64_PAD
+};
+#endif
+
+#endif
15 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/futex.h
@@ -0,0 +1,15 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_FUTEX_H
+#define _ASM_GENERIC_FUTEX_H
+
+#endif
58 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/ioctl.h
@@ -0,0 +1,58 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_IOCTL_H
+#define _ASM_GENERIC_IOCTL_H
+
+#define _IOC_NRBITS 8
+#define _IOC_TYPEBITS 8
+#define _IOC_SIZEBITS 14
+#define _IOC_DIRBITS 2
+
+#define _IOC_NRMASK ((1 << _IOC_NRBITS)-1)
+#define _IOC_TYPEMASK ((1 << _IOC_TYPEBITS)-1)
+#define _IOC_SIZEMASK ((1 << _IOC_SIZEBITS)-1)
+#define _IOC_DIRMASK ((1 << _IOC_DIRBITS)-1)
+
+#define _IOC_NRSHIFT 0
+#define _IOC_TYPESHIFT (_IOC_NRSHIFT+_IOC_NRBITS)
+#define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS)
+#define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
+
+#define _IOC_NONE 0U
+#define _IOC_WRITE 1U
+#define _IOC_READ 2U
+
+#define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT))
+
+extern unsigned int __invalid_size_argument_for_IOC;
+#define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC)
+
+#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
+#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
+#define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
+#define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
+#define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
+#define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
+#define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
+
+#define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
+#define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
+#define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
+#define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
+
+#define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT)
+#define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT)
+#define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
+#define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
+#define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
+
+#endif
37 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/ipc.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_IPC_H
+#define _ASM_GENERIC_IPC_H
+
+struct ipc_kludge {
+ struct msgbuf __user *msgp;
+ long msgtyp;
+};
+
+#define SEMOP 1
+#define SEMGET 2
+#define SEMCTL 3
+#define SEMTIMEDOP 4
+#define MSGSND 11
+#define MSGRCV 12
+#define MSGGET 13
+#define MSGCTL 14
+#define SHMAT 21
+#define SHMDT 22
+#define SHMGET 23
+#define SHMCTL 24
+
+#define DIPC 25
+
+#define IPCCALL(version,op) ((version)<<16 | (op))
+
+#endif
51 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/local.h
@@ -0,0 +1,51 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_LOCAL_H
+#define _ASM_GENERIC_LOCAL_H
+
+#include <linux/percpu.h>
+#include <linux/hardirq.h>
+#include <asm/atomic.h>
+#include <asm/types.h>
+
+typedef struct
+{
+ atomic_long_t a;
+} local_t;
+
+#define LOCAL_INIT(i) { ATOMIC_LONG_INIT(i) }
+
+#define local_read(l) atomic_long_read(&(l)->a)
+#define local_set(l,i) atomic_long_set((&(l)->a),(i))
+#define local_inc(l) atomic_long_inc(&(l)->a)
+#define local_dec(l) atomic_long_dec(&(l)->a)
+#define local_add(i,l) atomic_long_add((i),(&(l)->a))
+#define local_sub(i,l) atomic_long_sub((i),(&(l)->a))
+
+#define __local_inc(l) local_set((l), local_read(l) + 1)
+#define __local_dec(l) local_set((l), local_read(l) - 1)
+#define __local_add(i,l) local_set((l), local_read(l) + (i))
+#define __local_sub(i,l) local_set((l), local_read(l) - (i))
+
+#define cpu_local_read(v) local_read(&__get_cpu_var(v))
+#define cpu_local_set(v, i) local_set(&__get_cpu_var(v), (i))
+#define cpu_local_inc(v) local_inc(&__get_cpu_var(v))
+#define cpu_local_dec(v) local_dec(&__get_cpu_var(v))
+#define cpu_local_add(i, v) local_add((i), &__get_cpu_var(v))
+#define cpu_local_sub(i, v) local_sub((i), &__get_cpu_var(v))
+
+#define __cpu_local_inc(v) __local_inc(&__get_cpu_var(v))
+#define __cpu_local_dec(v) __local_dec(&__get_cpu_var(v))
+#define __cpu_local_add(i, v) __local_add((i), &__get_cpu_var(v))
+#define __cpu_local_sub(i, v) __local_sub((i), &__get_cpu_var(v))
+
+#endif
15 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/memory_model.h
@@ -0,0 +1,15 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef __ASM_MEMORY_MODEL_H
+#define __ASM_MEMORY_MODEL_H
+
+#endif
46 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/mman.h
@@ -0,0 +1,46 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_MMAN_H
+#define _ASM_GENERIC_MMAN_H
+
+#define PROT_READ 0x1
+#define PROT_WRITE 0x2
+#define PROT_EXEC 0x4
+#define PROT_SEM 0x8
+#define PROT_NONE 0x0
+#define PROT_GROWSDOWN 0x01000000
+#define PROT_GROWSUP 0x02000000
+
+#define MAP_SHARED 0x01
+#define MAP_PRIVATE 0x02
+#define MAP_TYPE 0x0f
+#define MAP_FIXED 0x10
+#define MAP_ANONYMOUS 0x20
+
+#define MS_ASYNC 1
+#define MS_INVALIDATE 2
+#define MS_SYNC 4
+
+#define MADV_NORMAL 0
+#define MADV_RANDOM 1
+#define MADV_SEQUENTIAL 2
+#define MADV_WILLNEED 3
+#define MADV_DONTNEED 4
+
+#define MADV_REMOVE 9
+#define MADV_DONTFORK 10
+#define MADV_DOFORK 11
+
+#define MAP_ANON MAP_ANONYMOUS
+#define MAP_FILE 0
+
+#endif
16 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/mutex-xchg.h
@@ -0,0 +1,16 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_MUTEX_XCHG_H
+#define _ASM_GENERIC_MUTEX_XCHG_H
+
+#define __mutex_slowpath_needs_to_unlock() 0
+#endif
29 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/percpu.h
@@ -0,0 +1,29 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_PERCPU_H_
+#define _ASM_GENERIC_PERCPU_H_
+#include <linux/compiler.h>
+
+#define __GENERIC_PER_CPU
+
+#define DEFINE_PER_CPU(type, name) __typeof__(type) per_cpu__##name
+
+#define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var))
+#define __get_cpu_var(var) per_cpu__##var
+#define __raw_get_cpu_var(var) per_cpu__##var
+
+#define DECLARE_PER_CPU(type, name) extern __typeof__(type) per_cpu__##name
+
+#define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(per_cpu__##var)
+#define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(per_cpu__##var)
+
+#endif
39 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/pgtable-nopud.h
@@ -0,0 +1,39 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _PGTABLE_NOPUD_H
+#define _PGTABLE_NOPUD_H
+
+#ifndef __ASSEMBLY__
+
+#define __PAGETABLE_PUD_FOLDED
+
+typedef struct { pgd_t pgd; } pud_t;
+
+#define PUD_SHIFT PGDIR_SHIFT
+#define PTRS_PER_PUD 1
+#define PUD_SIZE (1UL << PUD_SHIFT)
+#define PUD_MASK (~(PUD_SIZE-1))
+
+#define pud_ERROR(pud) (pgd_ERROR((pud).pgd))
+#define pgd_populate(mm, pgd, pud) do { } while (0)
+#define set_pgd(pgdptr, pgdval) set_pud((pud_t *)(pgdptr), (pud_t) { pgdval })
+#define pud_val(x) (pgd_val((x).pgd))
+#define __pud(x) ((pud_t) { __pgd(x) } )
+#define pgd_page(pgd) (pud_page((pud_t){ pgd }))
+#define pgd_page_kernel(pgd) (pud_page_kernel((pud_t){ pgd }))
+#define pud_alloc_one(mm, address) NULL
+#define pud_free(x) do { } while (0)
+#define __pud_free_tlb(tlb, x) do { } while (0)
+#undef pud_addr_end
+#define pud_addr_end(addr, end) (end)
+#endif
+#endif
95 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/pgtable.h
@@ -0,0 +1,95 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_PGTABLE_H
+#define _ASM_GENERIC_PGTABLE_H
+
+#ifndef __HAVE_ARCH_PTEP_ESTABLISH
+
+#ifndef __HAVE_ARCH_SET_PTE_ATOMIC
+#define ptep_establish(__vma, __address, __ptep, __entry) do { set_pte_at((__vma)->vm_mm, (__address), __ptep, __entry); flush_tlb_page(__vma, __address); } while (0)
+#else
+#define ptep_establish(__vma, __address, __ptep, __entry) do { set_pte_atomic(__ptep, __entry); flush_tlb_page(__vma, __address); } while (0)
+#endif
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
+
+#define ptep_set_access_flags(__vma, __address, __ptep, __entry, __dirty) do { set_pte_at((__vma)->vm_mm, (__address), __ptep, __entry); flush_tlb_page(__vma, __address); } while (0)
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG
+#define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH
+#define ptep_clear_flush_young(__vma, __address, __ptep) ({ int __young; __young = ptep_test_and_clear_young(__vma, __address, __ptep); if (__young) flush_tlb_page(__vma, __address); __young; })
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY
+#define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_CLEAR_DIRTY_FLUSH
+#define ptep_clear_flush_dirty(__vma, __address, __ptep) ({ int __dirty; __dirty = ptep_test_and_clear_dirty(__vma, __address, __ptep); if (__dirty) flush_tlb_page(__vma, __address); __dirty; })
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_GET_AND_CLEAR
+#define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_GET_AND_CLEAR_FULL
+#define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
+#endif
+
+#ifndef __HAVE_ARCH_PTE_CLEAR_FULL
+#define pte_clear_full(__mm, __address, __ptep, __full) do { pte_clear((__mm), (__address), (__ptep)); } while (0)
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_CLEAR_FLUSH
+#define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
+#endif
+
+#ifndef __HAVE_ARCH_PTEP_SET_WRPROTECT
+struct mm_struct;
+#endif
+#ifndef __HAVE_ARCH_PTE_SAME
+#define pte_same(A,B) (pte_val(A) == pte_val(B))
+#endif
+#ifndef __HAVE_ARCH_PAGE_TEST_AND_CLEAR_DIRTY
+#define page_test_and_clear_dirty(page) (0)
+#define pte_maybe_dirty(pte) pte_dirty(pte)
+#else
+#define pte_maybe_dirty(pte) (1)
+#endif
+#ifndef __HAVE_ARCH_PAGE_TEST_AND_CLEAR_YOUNG
+#define page_test_and_clear_young(page) (0)
+#endif
+#ifndef __HAVE_ARCH_PGD_OFFSET_GATE
+#define pgd_offset_gate(mm, addr) pgd_offset(mm, addr)
+#endif
+#ifndef __HAVE_ARCH_LAZY_MMU_PROT_UPDATE
+#define lazy_mmu_prot_update(pte) do { } while (0)
+#endif
+#ifndef __HAVE_ARCH_MOVE_PTE
+#define move_pte(pte, prot, old_addr, new_addr) (pte)
+#endif
+#define pgd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; (__boundary - 1 < (end) - 1)? __boundary: (end); })
+#ifndef pud_addr_end
+#define pud_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PUD_SIZE) & PUD_MASK; (__boundary - 1 < (end) - 1)? __boundary: (end); })
+#endif
+#ifndef pmd_addr_end
+#define pmd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PMD_SIZE) & PMD_MASK; (__boundary - 1 < (end) - 1)? __boundary: (end); })
+#endif
+#ifndef __ASSEMBLY__
+
+#endif
+#endif
46 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/poll.h
@@ -0,0 +1,46 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef __ASM_GENERIC_POLL_H
+#define __ASM_GENERIC_POLL_H
+
+#define POLLIN 0x0001
+#define POLLPRI 0x0002
+#define POLLOUT 0x0004
+#define POLLERR 0x0008
+#define POLLHUP 0x0010
+#define POLLNVAL 0x0020
+
+#define POLLRDNORM 0x0040
+#define POLLRDBAND 0x0080
+#ifndef POLLWRNORM
+#define POLLWRNORM 0x0100
+#endif
+#ifndef POLLWRBAND
+#define POLLWRBAND 0x0200
+#endif
+#ifndef POLLMSG
+#define POLLMSG 0x0400
+#endif
+#ifndef POLLREMOVE
+#define POLLREMOVE 0x1000
+#endif
+#ifndef POLLRDHUP
+#define POLLRDHUP 0x2000
+#endif
+
+struct pollfd {
+ int fd;
+ short events;
+ short revents;
+};
+
+#endif
57 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/resource.h
@@ -0,0 +1,57 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_RESOURCE_H
+#define _ASM_GENERIC_RESOURCE_H
+
+#define RLIMIT_CPU 0
+#define RLIMIT_FSIZE 1
+#define RLIMIT_DATA 2
+#define RLIMIT_STACK 3
+#define RLIMIT_CORE 4
+
+#ifndef RLIMIT_RSS
+#define RLIMIT_RSS 5
+#endif
+
+#ifndef RLIMIT_NPROC
+#define RLIMIT_NPROC 6
+#endif
+
+#ifndef RLIMIT_NOFILE
+#define RLIMIT_NOFILE 7
+#endif
+
+#ifndef RLIMIT_MEMLOCK
+#define RLIMIT_MEMLOCK 8
+#endif
+
+#ifndef RLIMIT_AS
+#define RLIMIT_AS 9
+#endif
+
+#define RLIMIT_LOCKS 10
+#define RLIMIT_SIGPENDING 11
+#define RLIMIT_MSGQUEUE 12
+#define RLIMIT_NICE 13
+#define RLIMIT_RTPRIO 14
+
+#define RLIM_NLIMITS 15
+
+#ifndef RLIM_INFINITY
+#define RLIM_INFINITY (~0UL)
+#endif
+
+#ifndef _STK_LIM_MAX
+#define _STK_LIM_MAX RLIM_INFINITY
+#endif
+
+#endif
15 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/sections.h
@@ -0,0 +1,15 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_SECTIONS_H_
+#define _ASM_GENERIC_SECTIONS_H_
+
+#endif
213 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/siginfo.h
@@ -0,0 +1,213 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_SIGINFO_H
+#define _ASM_GENERIC_SIGINFO_H
+
+#include <linux/compiler.h>
+#include <linux/types.h>
+
+typedef union sigval {
+ int sival_int;
+ void __user *sival_ptr;
+} sigval_t;
+
+#ifndef __ARCH_SI_PREAMBLE_SIZE
+#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
+#endif
+
+#define SI_MAX_SIZE 128
+#ifndef SI_PAD_SIZE
+#define SI_PAD_SIZE ((SI_MAX_SIZE - __ARCH_SI_PREAMBLE_SIZE) / sizeof(int))
+#endif
+
+#ifndef __ARCH_SI_UID_T
+#define __ARCH_SI_UID_T uid_t
+#endif
+
+#ifndef __ARCH_SI_BAND_T
+#define __ARCH_SI_BAND_T long
+#endif
+
+#ifndef HAVE_ARCH_SIGINFO_T
+
+typedef struct siginfo {
+ int si_signo;
+ int si_errno;
+ int si_code;
+
+ union {
+ int _pad[SI_PAD_SIZE];
+
+ struct {
+ pid_t _pid;
+ __ARCH_SI_UID_T _uid;
+ } _kill;
+
+ struct {
+ timer_t _tid;
+ int _overrun;
+ char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)];
+ sigval_t _sigval;
+ int _sys_private;
+ } _timer;
+
+ struct {
+ pid_t _pid;
+ __ARCH_SI_UID_T _uid;
+ sigval_t _sigval;
+ } _rt;
+
+ struct {
+ pid_t _pid;
+ __ARCH_SI_UID_T _uid;
+ int _status;
+ clock_t _utime;
+ clock_t _stime;
+ } _sigchld;
+
+ struct {
+ void __user *_addr;
+#ifdef __ARCH_SI_TRAPNO
+ int _trapno;
+#endif
+ } _sigfault;
+
+ struct {
+ __ARCH_SI_BAND_T _band;
+ int _fd;
+ } _sigpoll;
+ } _sifields;
+} siginfo_t;
+
+#endif
+
+#define si_pid _sifields._kill._pid
+#define si_uid _sifields._kill._uid
+#define si_tid _sifields._timer._tid
+#define si_overrun _sifields._timer._overrun
+#define si_sys_private _sifields._timer._sys_private
+#define si_status _sifields._sigchld._status
+#define si_utime _sifields._sigchld._utime
+#define si_stime _sifields._sigchld._stime
+#define si_value _sifields._rt._sigval
+#define si_int _sifields._rt._sigval.sival_int
+#define si_ptr _sifields._rt._sigval.sival_ptr
+#define si_addr _sifields._sigfault._addr
+#ifdef __ARCH_SI_TRAPNO
+#define si_trapno _sifields._sigfault._trapno
+#endif
+#define si_band _sifields._sigpoll._band
+#define si_fd _sifields._sigpoll._fd
+
+#define __SI_KILL 0
+#define __SI_TIMER 0
+#define __SI_POLL 0
+#define __SI_FAULT 0
+#define __SI_CHLD 0
+#define __SI_RT 0
+#define __SI_MESGQ 0
+#define __SI_CODE(T,N) (N)
+
+#define SI_USER 0
+#define SI_KERNEL 0x80
+#define SI_QUEUE -1
+#define SI_TIMER __SI_CODE(__SI_TIMER,-2)
+#define SI_MESGQ __SI_CODE(__SI_MESGQ,-3)
+#define SI_ASYNCIO -4
+#define SI_SIGIO -5
+#define SI_TKILL -6
+#define SI_DETHREAD -7
+
+#define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
+#define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
+
+#define ILL_ILLOPC (__SI_FAULT|1)
+#define ILL_ILLOPN (__SI_FAULT|2)
+#define ILL_ILLADR (__SI_FAULT|3)
+#define ILL_ILLTRP (__SI_FAULT|4)
+#define ILL_PRVOPC (__SI_FAULT|5)
+#define ILL_PRVREG (__SI_FAULT|6)
+#define ILL_COPROC (__SI_FAULT|7)
+#define ILL_BADSTK (__SI_FAULT|8)
+#define NSIGILL 8
+
+#define FPE_INTDIV (__SI_FAULT|1)
+#define FPE_INTOVF (__SI_FAULT|2)
+#define FPE_FLTDIV (__SI_FAULT|3)
+#define FPE_FLTOVF (__SI_FAULT|4)
+#define FPE_FLTUND (__SI_FAULT|5)
+#define FPE_FLTRES (__SI_FAULT|6)
+#define FPE_FLTINV (__SI_FAULT|7)
+#define FPE_FLTSUB (__SI_FAULT|8)
+#define NSIGFPE 8
+
+#define SEGV_MAPERR (__SI_FAULT|1)
+#define SEGV_ACCERR (__SI_FAULT|2)
+#define NSIGSEGV 2
+
+#define BUS_ADRALN (__SI_FAULT|1)
+#define BUS_ADRERR (__SI_FAULT|2)
+#define BUS_OBJERR (__SI_FAULT|3)
+#define NSIGBUS 3
+
+#define TRAP_BRKPT (__SI_FAULT|1)
+#define TRAP_TRACE (__SI_FAULT|2)
+#define NSIGTRAP 2
+
+#define CLD_EXITED (__SI_CHLD|1)
+#define CLD_KILLED (__SI_CHLD|2)
+#define CLD_DUMPED (__SI_CHLD|3)
+#define CLD_TRAPPED (__SI_CHLD|4)
+#define CLD_STOPPED (__SI_CHLD|5)
+#define CLD_CONTINUED (__SI_CHLD|6)
+#define NSIGCHLD 6
+
+#define POLL_IN (__SI_POLL|1)
+#define POLL_OUT (__SI_POLL|2)
+#define POLL_MSG (__SI_POLL|3)
+#define POLL_ERR (__SI_POLL|4)
+#define POLL_PRI (__SI_POLL|5)
+#define POLL_HUP (__SI_POLL|6)
+#define NSIGPOLL 6
+
+#define SIGEV_SIGNAL 0
+#define SIGEV_NONE 1
+#define SIGEV_THREAD 2
+#define SIGEV_THREAD_ID 4
+
+#ifndef __ARCH_SIGEV_PREAMBLE_SIZE
+#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(int) * 2 + sizeof(sigval_t))
+#endif
+
+#define SIGEV_MAX_SIZE 64
+#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE - __ARCH_SIGEV_PREAMBLE_SIZE) / sizeof(int))
+
+typedef struct sigevent {
+ sigval_t sigev_value;
+ int sigev_signo;
+ int sigev_notify;
+ union {
+ int _pad[SIGEV_PAD_SIZE];
+ int _tid;
+
+ struct {
+ void (*_function)(sigval_t);
+ void *_attribute;
+ } _sigev_thread;
+ } _sigev_un;
+} sigevent_t;
+
+#define sigev_notify_function _sigev_un._sigev_thread._function
+#define sigev_notify_attributes _sigev_un._sigev_thread._attribute
+#define sigev_notify_thread_id _sigev_un._tid
+
+#endif
39 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/signal.h
@@ -0,0 +1,39 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef __ASM_GENERIC_SIGNAL_H
+#define __ASM_GENERIC_SIGNAL_H
+
+#include <linux/compiler.h>
+
+#ifndef SIG_BLOCK
+#define SIG_BLOCK 0
+#endif
+#ifndef SIG_UNBLOCK
+#define SIG_UNBLOCK 1
+#endif
+#ifndef SIG_SETMASK
+#define SIG_SETMASK 2
+#endif
+
+#ifndef __ASSEMBLY__
+typedef void __signalfn_t(int);
+typedef __signalfn_t __user *__sighandler_t;
+
+typedef void __restorefn_t(void);
+typedef __restorefn_t __user *__sigrestore_t;
+
+#define SIG_DFL ((__force __sighandler_t)0)
+#define SIG_IGN ((__force __sighandler_t)1)
+#define SIG_ERR ((__force __sighandler_t)-1)
+#endif
+
+#endif
37 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/tlb.h
@@ -0,0 +1,37 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC__TLB_H
+#define _ASM_GENERIC__TLB_H
+
+#include <linux/swap.h>
+#include <asm/pgalloc.h>
+#include <asm/tlbflush.h>
+
+#define FREE_PTE_NR 1
+#define tlb_fast_mode(tlb) 1
+
+struct mmu_gather {
+ struct mm_struct *mm;
+ unsigned int nr;
+ unsigned int need_flush;
+ unsigned int fullmm;
+ struct page * pages[FREE_PTE_NR];
+};
+
+#define tlb_remove_tlb_entry(tlb, ptep, address) do { tlb->need_flush = 1; __tlb_remove_tlb_entry(tlb, ptep, address); } while (0)
+#define pte_free_tlb(tlb, ptep) do { tlb->need_flush = 1; __pte_free_tlb(tlb, ptep); } while (0)
+#ifndef __ARCH_HAS_4LEVEL_HACK
+#define pud_free_tlb(tlb, pudp) do { tlb->need_flush = 1; __pud_free_tlb(tlb, pudp); } while (0)
+#endif
+#define pmd_free_tlb(tlb, pmdp) do { tlb->need_flush = 1; __pmd_free_tlb(tlb, pmdp); } while (0)
+#define tlb_migrate_finish(mm) do {} while (0)
+#endif
35 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/topology.h
@@ -0,0 +1,35 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _ASM_GENERIC_TOPOLOGY_H
+#define _ASM_GENERIC_TOPOLOGY_H
+
+#ifndef cpu_to_node
+#define cpu_to_node(cpu) (0)
+#endif
+#ifndef parent_node
+#define parent_node(node) (0)
+#endif
+#ifndef node_to_cpumask
+#define node_to_cpumask(node) (cpu_online_map)
+#endif
+#ifndef node_to_first_cpu
+#define node_to_first_cpu(node) (0)
+#endif
+#ifndef pcibus_to_node
+#define pcibus_to_node(node) (-1)
+#endif
+
+#ifndef pcibus_to_cpumask
+#define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? CPU_MASK_ALL : node_to_cpumask(pcibus_to_node(bus)) )
+#endif
+
+#endif
14 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/xor.h
@@ -0,0 +1,14 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#include <asm/processor.h>
+
+#define XOR_TRY_TEMPLATES do { xor_speed(&xor_block_8regs); xor_speed(&xor_block_8regs_p); xor_speed(&xor_block_32regs); xor_speed(&xor_block_32regs_p); } while (0)
42 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/a.out.h
@@ -0,0 +1,42 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef __ARM_A_OUT_H__
+#define __ARM_A_OUT_H__
+
+#include <linux/personality.h>
+#include <asm/types.h>
+
+struct exec
+{
+ __u32 a_info;
+ __u32 a_text;
+ __u32 a_data;
+ __u32 a_bss;
+ __u32 a_syms;
+ __u32 a_entry;
+ __u32 a_trsize;
+ __u32 a_drsize;
+};
+
+#define N_TXTADDR(a) (0x00008000)
+
+#define N_TRSIZE(a) ((a).a_trsize)
+#define N_DRSIZE(a) ((a).a_drsize)
+#define N_SYMSIZE(a) ((a).a_syms)
+
+#define M_ARM 103
+
+#ifndef LIBRARY_START_TEXT
+#define LIBRARY_START_TEXT (0x00c00000)
+#endif
+
+#endif
27 ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/arch/board-perseus2.h
@@ -0,0 +1,27 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef __ASM_ARCH_OMAP_PERSEUS2_H
+#define __ASM_ARCH_OMAP_PERSEUS2_H
+
+#include <asm/arch/fpga.h>
+