Go to file
Andy McFadden 62af8f2583 Atomic/SMP update. [manual merge to dalvik-dev]
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
2010-05-21 12:53:51 -07:00
adb Fix adb, fastboot to compile in Windows SDK under Linux. 2010-04-23 13:07:17 -07:00
cpio auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
debuggerd Use arch flags instead of TARGET_ARCH_VARIANT, and add support for VFP_D16 2010-03-10 14:36:08 -08:00
fastboot Fix adb, fastboot to compile in Windows SDK under Linux. 2010-04-23 13:07:17 -07:00
include Atomic/SMP update. [manual merge to dalvik-dev] 2010-05-21 12:53:51 -07:00
init MOAR GROUPS 2010-03-23 20:39:05 -07:00
libacc Fix memory deallocation bug in toy vector class. 2009-11-27 11:51:36 +08:00
libctest Automated import from //branches/donutburger/...@140818,140818 2009-03-24 18:36:55 -07:00
libcutils Atomic/SMP update. [manual merge to dalvik-dev] 2010-05-21 12:53:51 -07:00
libdiskconfig For issue #2651381, allow library prelinking. 2010-05-05 09:39:27 -07:00
liblog Fix a long standing bug in the output buffer size computation. 2010-04-09 18:23:25 -07:00
libmincrypt make DumpPublicKeys write 32-bit values as unsigned 2010-01-29 10:47:38 -08:00
libnetutils dhcp: Add hostname support 2009-12-14 16:05:34 -08:00
libpixelflinger fix [2448319] out of bounds array index in fog 2010-02-16 21:01:12 -08:00
libsysutils system/core: Switch libsysutils & sched_policy LOG -> SLOG 2010-03-25 09:31:42 -07:00
libzipfile Fix a call to memset(3) with reversed arguments. 2009-09-03 11:52:31 -07:00
logcat Add a log tag entry for the dalvik lock profiling event. 2010-04-13 02:30:27 -07:00
logwrapper Automated import from //branches/donutburger/...@140818,140818 2009-03-24 18:36:55 -07:00
mkbootimg fastboot, mkbootimg: support alternate base addresses 2009-04-28 16:05:07 -07:00
netcfg auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
nexus nexus: Rollup update for nexus 2009-07-10 14:23:51 -07:00
rootdir Moving junit out of core.jar and into core-junit.jar. 2010-05-13 15:31:30 -07:00
run-as Add 'run-as' command implementation as set-uid program. 2010-03-17 11:02:08 -07:00
sh Remove definitions that are now in bionic libc 2010-01-14 12:47:12 -08:00
toolbox Merge "toolbox: nandread: Add options to extract raw images, partial images, and fix bad block check." 2010-03-08 14:51:01 -08:00
.gitignore Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets. 2009-05-26 13:23:23 -07:00
Android.mk libsysutils: New C++ system convenience library 2009-05-06 15:12:02 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:24 -08:00
README auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00

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