aboutsummaryrefslogtreecommitdiff
path: root/lib/libhvcall/libhvcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libhvcall/libhvcall.h')
-rw-r--r--lib/libhvcall/libhvcall.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libhvcall/libhvcall.h b/lib/libhvcall/libhvcall.h
index db1d890..ad7088d 100644
--- a/lib/libhvcall/libhvcall.h
+++ b/lib/libhvcall/libhvcall.h
@@ -3,6 +3,8 @@
#define H_SUCCESS 0
+#define H_LOGICAL_CI_LOAD 0x3c
+#define H_LOGICAL_CI_STORE 0x40
#define H_GET_TERM_CHAR 0x54
#define H_PUT_TERM_CHAR 0x58
#define H_REG_CRQ 0xFC
@@ -60,6 +62,10 @@ static inline long h_add_logical_lan_buffer(unsigned long unit_address,
return hv_generic(H_ADD_LOGICAL_LAN_BUFFER, unit_address, buffer);
}
+extern unsigned long hv_logical_ci_load(unsigned long size, unsigned long addr);
+extern unsigned long hv_logical_ci_store(unsigned long size, unsigned long addr,
+ unsigned long value);
+
#endif /* __ASSEMBLY__ */
#endif /* __LIBHVCALL_H__ */