aboutsummaryrefslogtreecommitdiff
path: root/include/opal.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-02-10 12:59:50 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-10 13:14:20 +1100
commit4681ed91c704768b7e1d7ae97a03e693096235ec (patch)
tree5ea53a3e1710633d9d47691a70dd33ab436b4d97 /include/opal.h
parent6b66fda7c53781894ab34744542b29c219890bca (diff)
downloadskiboot-4681ed91c704768b7e1d7ae97a03e693096235ec.zip
skiboot-4681ed91c704768b7e1d7ae97a03e693096235ec.tar.gz
skiboot-4681ed91c704768b7e1d7ae97a03e693096235ec.tar.bz2
Use __be64 annotations in opal.h for opal_sg_list and oppanel-line
Now matches linux. Fix up all the fsp code using these structs to do the proper be64_to_cpu conversions so at least everything is annotated correctly. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/opal.h b/include/opal.h
index 1a538fd..bf0365b 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -779,8 +779,8 @@ enum {
};
typedef struct oppanel_line {
- const char *line;
- __be64 line_len;
+ __be64 line;
+ __be64 line_len;
} oppanel_line_t;
/*
@@ -791,8 +791,8 @@ typedef struct oppanel_line {
* size except the last one in the list to be as well.
*/
struct opal_sg_entry {
- void *data;
- long length;
+ __be64 data;
+ __be64 length;
};
/*
@@ -801,8 +801,8 @@ struct opal_sg_entry {
* length = VER | length
*/
struct opal_sg_list {
- unsigned long length;
- struct opal_sg_list *next;
+ __be64 length;
+ __be64 next;
struct opal_sg_entry entry[];
};