![]() Added atomic-inline.h. Added a platform-specific memory barrier call there. Added android_atomic_acquire_cmpxchg() and android_atomic_release_store(). Not tested on Mac OS X or SH. Added memory barrier calls to linux-x86 atomics. Mac OS X has barrier functions already. sh isn't really SMP-ready. linux-arm needs work (to be done in a separate change). Updated the makefile to make the SMP state visible to the code here. Note that host binaries are NOT built with SMP enabled; while our hosts are very likely SMP, it's not worth figuring out e.g. whether it's okay to use the SSE2 mfence instruction or have to use something else. We haven't had barriers enabled in host tools before, so there's probably no need to stat now. Removed quasiatomic 64-bit calls (now part of Dalvik). Change-Id: I42ae05f5db2cc9a5b64ad87f15481e2838371f1d |
||
---|---|---|
adb | ||
cpio | ||
debuggerd | ||
fastboot | ||
include | ||
init | ||
libacc | ||
libctest | ||
libcutils | ||
libdiskconfig | ||
liblog | ||
libmincrypt | ||
libnetutils | ||
libpixelflinger | ||
libsysutils | ||
libzipfile | ||
logcat | ||
logwrapper | ||
mkbootimg | ||
netcfg | ||
nexus | ||
rootdir | ||
run-as | ||
sh | ||
toolbox | ||
.gitignore | ||
Android.mk | ||
CleanSpec.mk | ||
README |
README
The system/ directory is intended for pieces of the world that are the core of the embedded linux platform at the heart of Android. These essential bits are required for basic booting, operation, and debugging. They should not depend on libraries outside of system/... (some of them do currently -- they need to be updated or changed) and they should not be required for the simulator build. The license for all these pieces should be clean (Apache2, BSD, or MIT). Currently system/bluetooth/... and system/extra/... have some pieces with GPL/LGPL licensed code. Assorted Issues: - pppd depends on libutils for logging - pppd depends on libcrypt/libcrypto - init, linker, debuggerd, toolbox, usbd depend on libcutils - should probably rename bionic to libc