From: Christopher H. <ch...@us...> - 2003-01-28 03:43:09
|
Update of /cvsroot/blob/blob/include/blob In directory sc8-pr-cvs1:/tmp/cvs-serv20937 Modified Files: partition.h Log Message: Added pt_first,pt_next for iterating over partition table. Added pt_flash_start to get absolute address of start of partition in flash. Index: partition.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/partition.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- partition.h 27 Jan 2003 20:45:00 -0000 1.6 +++ partition.h 28 Jan 2003 03:43:06 -0000 1.7 @@ -115,7 +115,11 @@ extern const blob_partition_t *default_partition_table; extern blob_partition_t *flash_partition_table; +const blob_partition_t *pt_first(void); +const blob_partition_t *pt_next(const blob_partition_t *p); const blob_partition_t *pt_find_by_name(const char *s); const blob_partition_t *pt_find_by_address(u32 addr); + +void *pt_flash_start(const blob_partition_t *p); #endif |