summaryrefslogtreecommitdiffstats
path: root/libion
Commit message (Collapse)AuthorAgeFilesLines
* system/core 64-bit cleanup.Elliott Hughes2014-01-161-1/+1
| | | | | | | | | This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
* libion: add apache license header to ion_test.cColin Cross2013-12-191-0/+16
| | | | Change-Id: Ie4b641cd62b56f713178932cc5c08083c0d2452a
* libion: initial unit testsColin Cross2013-12-1910-0/+1506
| | | | Change-Id: I5502b71d0c7c24d7fd59e4880033657f840b341a
* libion: update ion_test.hColin Cross2013-12-192-1/+4
| | | | | | | Update ion_test.h to include a padding word to keep the same struct size on 32-bit and 64-bit. Change-Id: I68086ce49ca4cc4ed8e251752eaed331a35fbbd2
* libion: update to latest uapi headerColin Cross2013-12-185-3/+382
| | | | | | | | | Pull the uapi headers from android-3.10 directly into libion. No other modules should be directly calling ion kernel interfaces, so there is no reason to have those interfaces exposed. Change-Id: I2d3fef08f6bb381522ecf7bcffea2b8280d5e737
* libion: return -errno from ion_closeColin Cross2013-12-181-1/+4
| | | | | | Return -errno from ion_close instead of -1 on error. Change-Id: Idb828aa4b4d1a660b79d2dba8be32f306eac959d
* libion: add include for size_tColin Cross2013-12-181-0/+1
| | | | | | Add sys/types.h include for size_t Change-Id: Ica764b1f5eca2df21d82c86493fc4e0d70b6628a
* libion: add NULL checksColin Cross2013-12-181-3/+20
| | | | | | Check for NULL in any library function that takes a pointer. Change-Id: I9ae8887b5ae0f231583173ee6a9dfd2f8c4611ec
* libion: clean up whitespaceColin Cross2013-12-183-294/+288
| | | | | | Convert everything to 4 space indents, no tabs. Change-Id: I376fad866864f0579b91ffad406e872fcce566ad
* libion: move ion.h into local include directoryColin Cross2013-12-182-0/+48
| | | | | | Export it to users of libion with LOCAL_C_EXPORT_INCLUDE_DIRS Change-Id: I4d00a9dd2e99953723994d0304ca77e0ad50a3a9
* ion: update struct and type definitions to match kernel headerRom Lemarchand2013-12-182-11/+11
| | | | | | | - Replacing struct ion_handle * with ion_user_handle_t - Replacing heap_mask field name with heap_id_mask Change-Id: Iaba1ccc62b9398a7b37c5a734bc21a9ecbbc8277
* libion: Use %zu for size_tAshok Bhat2013-12-101-2/+2
| | | | | Change-Id: If92fc31ab676a569530c21e655a1b5b451f5c5e5 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* Fix build.Elliott Hughes2013-11-211-1/+0
| | | | Change-Id: I6552bf9f83faa97bd5a844381aceb3ef85f86c76
* Add explicit sync call to ion libraryRebecca Schultz Zavin2012-09-201-0/+8
| | | | | | Bug: 6854979 Change-Id: I535d55af897eeb4ed707b5da54f3fbf36afa452c Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* Modify ion to use new definition of ALLOC ioctl argumentRebecca Schultz Zavin2012-06-282-16/+26
| | | | | | | | | Also add ion_alloc_fd helper for when you only want a filedescriptor and know you won't need to access this handle again by its ion_handle Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> Change-Id: Ia4bae22946b0078084b62f5447fecbf261dfaa83
* libion: use correct build vars in makefileDima Zavin2012-02-271-2/+2
| | | | | Change-Id: I74c8e723e4f15d3806c1834b069bcb1fd56ac4fa Signed-off-by: Dima Zavin <dima@android.com>
* Add ion helper libraryRebecca Schultz Zavin2012-02-233-0/+431
This library contains helper functions for using ion Change-Id: I7d7f76d6d3f36cd94d67797a38099a94214392b1 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>