diff options
author | Joel Stanley <joel@jms.id.au> | 2015-03-04 17:12:18 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-03-05 15:00:52 +1100 |
commit | 118cc8c219eb30f0e729576521a1dbb03cf0b98f (patch) | |
tree | e146bdcedafcf0bb79a778810540178f6c362c0b /external/opal-prd/hostboot-interface.h | |
parent | 9be776ba8bc5579232481fad2f81602d57af934f (diff) | |
download | skiboot-118cc8c219eb30f0e729576521a1dbb03cf0b98f.zip skiboot-118cc8c219eb30f0e729576521a1dbb03cf0b98f.tar.gz skiboot-118cc8c219eb30f0e729576521a1dbb03cf0b98f.tar.bz2 |
external/opal-prd: Allow partial ops with PNOR API
The PNOR operations will now return the number of bytes successfully
written, which may be less than the number of bytes requested, similar
to read(2) and write(2).
The hostboot interface is updated with this information. The signature
does not change.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/opal-prd/hostboot-interface.h')
-rw-r--r-- | external/opal-prd/hostboot-interface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/opal-prd/hostboot-interface.h b/external/opal-prd/hostboot-interface.h index 1088178..a518f50 100644 --- a/external/opal-prd/hostboot-interface.h +++ b/external/opal-prd/hostboot-interface.h @@ -170,7 +170,7 @@ struct host_interfaces { * @param[in] i_offset: offset within the partition * @param[out] o_data: pointer to the data read * @param[in] i_sizeBytes: size of data to read - * @retval rc - non-zero on error + * @retval rc - number of bytes read, or non-zero on error * @platform OpenPOWER */ int (*pnor_read) ( uint32_t i_proc, const char* i_partitionName, @@ -183,7 +183,7 @@ struct host_interfaces { * @param[in] i_offset: offset withing the partition * @param[in] i_data: pointer to the data to write * @param[in] i_sizeBytes: size of data to write - * @retval rc - non-zero on error + * @retval rc - number of bytes written, or non-zero on error * @platform OpenPOWER */ int (*pnor_write) ( uint32_t i_proc, const char* i_partitionName, |