changeset 77:8109a64f0ee6

8068059: MMIO native file not updated Summary: Align MMIO interfaces with other DIO modules Reviewed-by: snazarki Contributed-by: alexey.mironov@oracle.com
author snazarki
date Tue, 23 Dec 2014 15:46:19 +0400
parents 0d0d2c265612
children 405b79ef234d
files src/share/native/com/oracle/dio/javacall_mmio.h
diffstat 1 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/com/oracle/dio/javacall_mmio.h	Tue Dec 23 15:43:21 2014 +0400
+++ b/src/share/native/com/oracle/dio/javacall_mmio.h	Tue Dec 23 15:46:19 2014 +0400
@@ -69,15 +69,15 @@
  *                      where requested region is mapped to.
  *
  * @return result of operation
- * @retval JAVACALL_OK in case of success
- * @retval JAVACALL_OUT_OF_MEMORY if there is no enough room to
+ * @retval JAVACALL_DIO_OK in case of success
+ * @retval JAVACALL_DIO_OUT_OF_MEMORY if there is no enough room to
  *         succeed operation
- * @retval JAVACALL_INVALID_ARGUMENT if {@code addr} or {@code
+ * @retval JAVACALL_DIO_INVALID_ARGUMENT if {@code addr} or {@code
  *         size} values are invalid or unsupported or forbidden
- * @retval JAVACALL_FAIL if there is other I/O error
+ * @retval JAVACALL_DIO_FAIL if there is other I/O error
  *
  */
-javacall_result javacall_mmio_open(const javacall_uint8* addr, const javacall_int32 size,
+javacall_dio_result javacall_mmio_open(const javacall_uint8* addr, const javacall_int32 size,
                                    /*out*/javacall_handle* const handle,
                                    /*out*/javacall_uint8** const mappedAddr);
 
@@ -88,10 +88,10 @@
  * @param handle    resource handle
  *
  * @return result of operation
- * @retval JAVACALL_OK in case of success
- * @retval JAVACALL_FAIL if there is I/O error
+ * @retval JAVACALL_DIO_OK in case of success
+ * @retval JAVACALL_DIO_FAIL if there is I/O error
  */
-javacall_result javacall_mmio_close(const javacall_handle handle);
+javacall_dio_result javacall_mmio_close(const javacall_handle handle);
 
 /**
  * Notifies driver that application is ready to receive
@@ -111,10 +111,10 @@
  *                     buffer} is NULL
  *
  * @return result of operation
- * @retval  JAVACALL_OK if notification is supported and started
- * @retval  JAVACALL_FAIL if notification is not suuprted
+ * @retval  JAVACALL_DIO_OK if notification is supported and started
+ * @retval  JAVACALL_DIO_FAIL if notification is not suuprted
  */
-javacall_result javacall_mmio_start_listening_with_buffer(
+javacall_dio_result javacall_mmio_start_listening_with_buffer(
         const javacall_handle handle,
         const javacall_uint32 offset,
         const javacall_uint32 event_id,
@@ -129,10 +129,10 @@
  * @param event_id  eevnt ID
  *
  * @return result of operation
- * @retval  JAVACALL_OK if notification is inactive
- * @retval  JAVACALL_FAIL generic I/O error
+ * @retval  JAVACALL_DIO_OK if notification is inactive
+ * @retval  JAVACALL_DIO_FAIL generic I/O error
  */
-javacall_result javacall_mmio_stop_listening(const javacall_handle handle, const javacall_uint32 event_id);
+javacall_dio_result javacall_mmio_stop_listening(const javacall_handle handle, const javacall_uint32 event_id);
 
 
 /** @} */