Commit Graph

21 Commits

Author SHA1 Message Date
Mark Salyzyn d6a657c81d am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror"
* commit 'eb075e28acff23804ef80d34cd08c5df9b1d583f':
  libdiskconfig: Turn on -Werror
2014-05-21 21:19:27 +00:00
Mark Salyzyn 42c79fe18b libdiskconfig: Turn on -Werror
Change-Id: Ic0f5871bd434fda78df79b1417f7bc610d99f73e
2014-05-21 12:58:37 -07:00
JP Abgrall 2835401478 libdiskconfig: fix build (bad type in offset calculation)
Change-Id: I1acc490943f961a039acd3d40db825069b725abb
Signed-off-by: JP Abgrall <jpa@google.com>
2014-05-15 12:55:02 -07:00
Cylen Yao 5e0db82858 libdiskconfig: set MBR signature when creating MBR
When formatting a blank SD card, it needs to set MBR signature when creating MBR.
If not, the 'format' operation will fail.

Change-Id: I860731243797d4da83f370af52822536983009ee
Signed-off-by: Cylen Yao <cylen.yao@mediatek.com>
2014-05-15 18:30:59 +00:00
Ying Wang 3403010186 Fix 64-bit host build.
Bug: 13751317
Change-Id: I8ba4fc9918fba0975eb61ec37a8a16b02acfa864
2014-05-06 11:39:31 -07:00
Ying Wang 9d4c76f152 Fix 64-bit host build.
Bug: 13751317
Change-Id: I8ba4fc9918fba0975eb61ec37a8a16b02acfa864
2014-04-23 18:28:14 -07:00
Mark Salyzyn 1874e6557c libdiskconfig: 64-bit issues
Change-Id: Ie5e790c36395ec2f844294b91241a8f8ba3834b8
2014-03-13 17:46:53 -07:00
Elliott Hughes ccecf14254 system/core 64-bit cleanup.
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
2014-01-16 12:54:18 -08:00
Ashok Bhat 35539affd8 libdiskconfig: Use uintptr_t instead of uint32_t
Use uintptr_t instead of uint32_t when pointer is cast
to an integer type.

Change-Id: I03dd4c7ff66611661af466dfb7b393d461bb2d7d
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
2013-12-17 12:43:41 +00:00
Andrew Boie 0b344e7f11 config_mbr: Fix integer overflow
The values need to be converted to loff_t *before* performing
the multiplication, else any sector offset past MAX_INT
bytes will overflow.

Change-Id: Ib8992f28aa4119ac7b4ad354b2448c4b0cfaf846
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2012-07-26 10:18:14 -07:00
Steve Block 01dda204cd Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Bug: 5449033
Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
2012-01-08 11:03:26 +00:00
Steve Block fe71a61e5b Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
Bug: 5449033
Change-Id: I4951baa981f09a84ce483e3d1bd0f9ebe009035f
2012-01-04 19:23:34 +00:00
Ying Wang fcc0580a7e Remove unnecessary libraries.
There is no host library named libcutils.

Change-Id: I3b346b9e1a5556cd0cfc932560d9ce54ae6d38f2
2011-11-07 18:18:27 -08:00
Steve Block 69f4cd7f5a Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE
Bug: 5449033
Change-Id: Ib453f869977a6e909095a578bbf0420851f887d2
2011-10-26 09:59:23 +01:00
Dima Zavin 09e32886e6 am 96a5482b: am fd6f3872: am 2985f81d: Merge "libdiskconfig: add missing LOCAL_MODULE_TAGS"
* commit '96a5482b75029129ebeecd543ca6683d2411b9a3':
  libdiskconfig: add missing LOCAL_MODULE_TAGS
2011-08-30 09:51:01 -07:00
Chih-Wei Huang 68cc6bb0f1 libdiskconfig: add missing LOCAL_MODULE_TAGS
Change-Id: Ia4fceb4e4f33df3e37b0e83f042fff09dab2d06c
2011-08-25 13:13:24 +08:00
Jeff Brown 29e1e7393d Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
2011-07-11 22:12:32 -07:00
Kenny Root bedaac52a6 Disable building libdiskconfig on non-Linux hosts
libdiskconfig depends deeply on some Linux-specific things like
/usr/include/linux/fs.h which don't exist on other OSes. Disable
building the host library for those platforms.

Change-Id: Ibccdfaa65be788f049ea3c1500f884c8d541e60b
2010-07-12 23:03:45 -07:00
Bruce Beare 07b3d09e84 Build the host version of libdiskconfig
Change-Id: I5541d02676b12b728492321ec1344bd826ee560a
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
2010-07-12 14:05:59 -07:00
Dan Bornstein 458f06335a For issue #2651381, allow library prelinking.
Change-Id: I4933c968b84eaca2441c76c4b5a29de48fa093ef
2010-05-05 09:39:27 -07:00
San Mehat a6391f1006 system: libdiskconfig: Add libdiskconfig
Change-Id: Ie7a7b5d8016dec60cdfb17228c3f519789c98564
Signed-off-by: San Mehat <san@google.com>
2010-03-10 15:19:06 -08:00