summaryrefslogtreecommitdiffstats
path: root/main/common/msbin.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/common/msbin.h')
-rw-r--r--main/common/msbin.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/main/common/msbin.h b/main/common/msbin.h
index dd9650f..21c6a4f 100644
--- a/main/common/msbin.h
+++ b/main/common/msbin.h
@@ -1,7 +1,7 @@
/**************************************************************************
*
* Copyright (c) 2013 Alcatel-Lucent
- *
+ *
* Alcatel Lucent licenses this file to You under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is contained the
@@ -36,26 +36,26 @@
* .sre file when you are using the Windows CE Console Debug Shell
* tool (Cesh.exe).
*
- * The following table shows the .bin file format.
+ * The following table shows the .bin file format.
*
- * FIELD LENGTH DESCRIPTION
- * (bytes)
- * Sync bytes (optional) 7 Byte 0 is B, indicating a .bin file
- * format. Bytes 1-6 are reserved
- * and set to 0, 0, 0, F, F, \n.
- * Or in hex: 0x4230303046460a
+ * FIELD LENGTH DESCRIPTION
+ * (bytes)
+ * Sync bytes (optional) 7 Byte 0 is B, indicating a .bin file
+ * format. Bytes 1-6 are reserved
+ * and set to 0, 0, 0, F, F, \n.
+ * Or in hex: 0x4230303046460a
* Image header, consisting of:
- * Image address 4 Start address of image.
- * Image length 4 Length, in bytes, of image.
+ * Image address 4 Start address of image.
+ * Image length 4 Length, in bytes, of image.
* One or more records of:
- * Record address 4 Starting address of data record.
- * If this value is zero, the record
- * address is the end of the file,
- * and record length contains the
- * starting address of the image.
- * Record length 4 Length of record data, in bytes.
- * Record checksum 4 Signed 32-bit sum of record data bytes.
- * Record data N Record data
+ * Record address 4 Starting address of data record.
+ * If this value is zero, the record
+ * address is the end of the file,
+ * and record length contains the
+ * starting address of the image.
+ * Record length 4 Length of record data, in bytes.
+ * Record checksum 4 Signed 32-bit sum of record data bytes.
+ * Record data N Record data
*
* Original author: Ed Sutter (ed.sutter@alcatel-lucent.com)
*
@@ -63,25 +63,25 @@
#ifndef _MSBIN_H_
#define _MSBIN_H_
-#define MSBIN_SYNC_SIZE 7
-#define MSBIN_SYNC_DATA "B000FF\n"
+#define MSBIN_SYNC_SIZE 7
+#define MSBIN_SYNC_DATA "B000FF\n"
-#define MSBINFHDR struct msbin_imghdr
-#define MSBINSHDR struct msbin_record
+#define MSBINFHDR struct msbin_imghdr
+#define MSBINSHDR struct msbin_record
/* File header:
*/
struct msbin_imghdr {
- ulong imageaddr;
- ulong imagelen;
+ ulong imageaddr;
+ ulong imagelen;
};
/* Section header:
*/
struct msbin_record {
- ulong addr;
- ulong len;
- ulong csum;
+ ulong addr;
+ ulong len;
+ ulong csum;
};
#endif