aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/crespo_ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc/crespo_ipc.h')
-rw-r--r--samsung-ipc/crespo_ipc.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/samsung-ipc/crespo_ipc.h b/samsung-ipc/crespo_ipc.h
index 7001d2a..7bf6abc 100644
--- a/samsung-ipc/crespo_ipc.h
+++ b/samsung-ipc/crespo_ipc.h
@@ -21,25 +21,28 @@
#ifndef __CRESPO_IPC_H__
#define __CRESPO_IPC_H__
-#define BOOTCORE_VERSION 0xf0
-#define PSI_MAGIC 0x30
-#define PSI_DATA_LEN 0x5000
-#define RADIO_IMG_SIZE 0xd80000
+#define BOOTCORE_VERSION 0xf0
+#define PSI_MAGIC 0x30
+#define PSI_DATA_LEN 0x5000
+#define RADIO_IMG_SIZE 0xd80000
+
+#define MAX_MODEM_DATA_SIZE 0x1000
struct samsung_rfs_msg
{
- uint32_t offset;
- uint32_t size;
+ uint32_t offset;
+ uint32_t size;
};
struct samsung_rfs_cfrm
{
- uint8_t confirmation;
- struct samsung_rfs_msg msg;
+ uint8_t confirmation;
+ struct samsung_rfs_msg msg;
};
void *mtd_read(char *mtd_name, int size, int block_size);
void *file_read(char *file_name, int size, int block_size);
-void wake_lock(char *lock_name, int size);
-void wake_unlock(char *lock_name, int size);
+int wake_lock(char *lock_name, int size);
+int wake_unlock(char *lock_name, int size);
+
#endif