On Tue, 2015-05-19 at 16:08 -0500, Ashley Lai wrote:
> Thank you Vicky and Joy for the clarification. This patch mainly
> converts the fields in the tcpa_event structure. I see the code converts
> everytime it accesses the event fields. Would it be more efficient if you
> do the conversion
On Tue, 2015-05-19 at 16:08 -0500, Ashley Lai wrote:
Thank you Vicky and Joy for the clarification. This patch mainly
converts the fields in the tcpa_event structure. I see the code converts
everytime it accesses the event fields. Would it be more efficient if you
do the conversion once
@@ -208,11 +229,43 @@ static int tpm_binary_bios_measurements_show(struct
seq_file *m, void *v)
struct tcpa_event *event = v;
char *data = v;
int i;
-
- for (i = 0; i < sizeof(struct tcpa_event) + event->event_size; i++)
+ u32 x;
+ char tmp[4];
+
+
Thank you Vicky and Joy for the clarification. This patch mainly
converts the fields in the tcpa_event structure. I see the code converts
everytime it accesses the event fields. Would it be more efficient if you
do the conversion once and reuse them when needed? Could
Thank you Vicky and Joy for the clarification. This patch mainly
converts the fields in the tcpa_event structure. I see the code converts
everytime it accesses the event fields. Would it be more efficient if you
do the conversion once and reuse them when needed? Could
@@ -208,11 +229,43 @@ static int tpm_binary_bios_measurements_show(struct
seq_file *m, void *v)
struct tcpa_event *event = v;
char *data = v;
int i;
-
- for (i = 0; i sizeof(struct tcpa_event) + event-event_size; i++)
+ u32 x;
+ char tmp[4];
+
+
Hi Ashley,
On Fri, 2015-05-08 at 17:31 -0500, Ashley Lai wrote:
> > The event log in ppc64 arch is always in big endian format. PowerPC
> > supports both little endian and big endian guests. This patch converts
> > the event log entries to guest format.
>
> I'm a little confused here. If this
Hi Ashley,
On Fri, 2015-05-08 at 17:31 -0500, Ashley Lai wrote:
The event log in ppc64 arch is always in big endian format. PowerPC
supports both little endian and big endian guests. This patch converts
the event log entries to guest format.
I'm a little confused here. If this patch is
Thanks Ashley!
> > The event log in ppc64 arch is always in big endian format. PowerPC
> > supports both little endian and big endian guests. This patch converts
> > the event log entries to guest format.
>
> I'm a little confused here. If this patch is to convert the event log
> entries why
The event log in ppc64 arch is always in big endian format. PowerPC
supports both little endian and big endian guests. This patch converts
the event log entries to guest format.
I'm a little confused here. If this patch is to convert the event log
entries why are we convert in the
The event log in ppc64 arch is always in big endian format. PowerPC
supports both little endian and big endian guests. This patch converts
the event log entries to guest format.
I'm a little confused here. If this patch is to convert the event log
entries why are we convert in the
Thanks Ashley!
The event log in ppc64 arch is always in big endian format. PowerPC
supports both little endian and big endian guests. This patch converts
the event log entries to guest format.
I'm a little confused here. If this patch is to convert the event log
entries why are we
The event log in ppc64 arch is always in big endian format. PowerPC
supports both little endian and big endian guests. This patch converts
the event log entries to guest format.
We defined a macro to convert to guest format. In addition,
tpm_binary_bios_measurements_show() is modified to parse
The event log in ppc64 arch is always in big endian format. PowerPC
supports both little endian and big endian guests. This patch converts
the event log entries to guest format.
We defined a macro to convert to guest format. In addition,
tpm_binary_bios_measurements_show() is modified to parse
14 matches
Mail list logo