summaryrefslogtreecommitdiff
path: root/software/include
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-01-16 04:35:14 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-27 21:09:14 +0200
commit6c52d763eb9f6887ce7d09bb3b5913c80a816674 (patch)
tree55a720439ba8dda6fc68b2f4c020c41bd749eceb /software/include
parentd29126d9147c0a40635028372b4bbd7e66e40803 (diff)
const-ify the parts of the API that deal with firmware image blobs
git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@16 537310ab-6354-42db-a3cc-247b777f7be6
Diffstat (limited to 'software/include')
-rw-r--r--software/include/oct6100api/oct6100_apiud.h2
-rw-r--r--software/include/oct6100api/oct6100_chip_open_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_chip_open_pub.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/software/include/oct6100api/oct6100_apiud.h b/software/include/oct6100api/oct6100_apiud.h
index 0b1b86e..2e1ece7 100644
--- a/software/include/oct6100api/oct6100_apiud.h
+++ b/software/include/oct6100api/oct6100_apiud.h
@@ -253,7 +253,7 @@ UINT32 Oct6100UserMemSet(
UINT32 Oct6100UserMemCopy(
IN PVOID f_pDestination,
- IN PVOID f_pSource,
+ IN const void *f_pSource,
IN UINT32 f_ulLength );
/* Serialization functions. */
diff --git a/software/include/oct6100api/oct6100_chip_open_inst.h b/software/include/oct6100api/oct6100_chip_open_inst.h
index 49ba6d6..2017ca6 100644
--- a/software/include/oct6100api/oct6100_chip_open_inst.h
+++ b/software/include/oct6100api/oct6100_chip_open_inst.h
@@ -45,7 +45,7 @@ typedef struct _OCT6100_API_CHIP_CONFIG_
UINT32 ulUserChipId;
PVOID pProcessContext;
- PUINT8 pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */
+ unsigned char const *pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */
UINT32 ulImageSize; /* Size of the image file (in bytes). */
UINT32 ulMemClkFreq;
diff --git a/software/include/oct6100api/oct6100_chip_open_pub.h b/software/include/oct6100api/oct6100_chip_open_pub.h
index 2dbe988..90ad6d1 100644
--- a/software/include/oct6100api/oct6100_chip_open_pub.h
+++ b/software/include/oct6100api/oct6100_chip_open_pub.h
@@ -50,7 +50,7 @@ typedef struct _OCT6100_CHIP_OPEN_
UINT32 ulMaxRwAccesses;
- PUINT8 pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */
+ unsigned char const *pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */
UINT32 ulImageSize; /* Size of the image file (in bytes). */
UINT32 ulMemClkFreq; /* 10 - 133.3 MHz. */