Update of /cvsroot/blob/blob/include/blob
In directory sc8-pr-cvs1:/tmp/cvs-serv18205/include/blob
Modified Files:
download.h main.h
Log Message:
blob_item patch
Index: download.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/download.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- download.h 4 Sep 2003 17:46:59 -0000 1.1
+++ download.h 4 Dec 2003 21:45:16 -0000 1.2
@@ -26,6 +26,7 @@
extern blob_status_t blob_status;
+blob_item_t *get_blob_item(char *name);
void PrintSerialSpeed(serial_baud_t speed);
int set_download_parameters(char *name, u32 *startAddress,
int *bufLen, int **numRead, u32 **digest);
Index: main.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/main.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- main.h 27 Apr 2002 08:11:58 -0000 1.7
+++ main.h 4 Dec 2003 21:45:16 -0000 1.8
@@ -45,22 +45,20 @@
} block_source_t;
+/* possibly switch this all over to a seperate ram partition table
+ * later (possibly same structure, but different table) */
typedef struct {
- int kernelSize;
- block_source_t kernelType;
- u32 kernel_md5_digest[4];
-
- int paramSize;
- block_source_t paramType;
- u32 param_md5_digest[4];
-
- int ramdiskSize;
- block_source_t ramdiskType;
- u32 ramdisk_md5_digest[4];
+ int size;
+ block_source_t type;
+ u32 *addr;
+ u32 md5_digest[4];
+} blob_item_t;
- int blobSize;
- block_source_t blobType;
- u32 blob_md5_digest[4];
+typedef struct {
+ blob_item_t kernel;
+ blob_item_t param;
+ blob_item_t ramdisk;
+ blob_item_t blob;
serial_baud_t downloadSpeed;
serial_baud_t terminalSpeed;
|