platform_bionic/libc/kernel/android
Christopher Ferris 5956b4e314 More kernel header cleanup.
Modify the generate script to add a new option and copy the types.h
arm header file since it's not currently being created properly. Also
manually generate the arm types.h uapi header since it's not being
properly generated right now.

Modify both generate scripts to delete the target directories before
adding the files to handle moved/deleted header files.

Move the common/scsi headers into android and delete the common
directory. Change the scripts to reflect this change.

Update the scsi headers since they've been modified in upstream kernels.

Bug: 30072483

Change-Id: Ia43d4b238b6a041350d60cc30184ecbd4829d7d5
2016-07-22 12:21:25 -07:00
..
scsi More kernel header cleanup. 2016-07-22 12:21:25 -07:00
uapi Move/remove android only kernel uapi headers. 2016-07-19 12:43:56 -07:00
README.TXT More kernel header cleanup. 2016-07-22 12:21:25 -07:00

The files under the uapi directory are android kernel uapi header files that
exist in android kernels, but have not been upstreamed into the regular
kernel.

None of these files will get updated automatically, and are frozen at their
current value.

The files under the scsi directory are frozen copies of kernel scsi headers.
Linux's scsi headers are a mix of userspace-facing and kernel-facing
declarations that can't be directly used by userspace. The glibc
maintainers manually copy-and-pasted these definitions into their own
scsi headers and haven't substantially updated them in 15 years. The
musl libc project has a similar set of definitions in its scsi headers.

These files are actually maintained in external/kernel-headers/modified/scsi.
Any modification should first be made there then copied into the scsi
directory.