Message ID | 1450710356-9594-1-git-send-email-jani.nikula@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
I don't expect anyone to be interested, so I pushed the lot. BR, Jani. On Mon, 21 Dec 2015, Jani Nikula <jani.nikula@intel.com> wrote: > Signed-off-by: Jani Nikula <jani.nikula@intel.com> > --- > tools/intel_opregion_decode.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/tools/intel_opregion_decode.c b/tools/intel_opregion_decode.c > index b19566108ed7..c65828ae2900 100644 > --- a/tools/intel_opregion_decode.c > +++ b/tools/intel_opregion_decode.c > @@ -122,7 +122,9 @@ struct opregion_asle { > uint8_t fdss[8]; > uint32_t fdsp; > uint32_t stat; > - uint8_t rsvd[86]; > + uint64_t rvda; /* Physical address of raw vbt data */ > + uint32_t rvds; /* Size of raw vbt data */ > + uint8_t rsvd[58]; > } __attribute__((packed)); > > /* OpRegion mailbox #4: VBT */ > @@ -308,6 +310,8 @@ static void decode_asle(const void *buffer) > > printf("\tfdsp:\t0x%08x\n", asle->fdsp); > printf("\tstat:\t0x%08x\n", asle->stat); > + printf("\trvda:\t0x%016lx\n", asle->rvda); > + printf("\trvds:\t0x%08x\n", asle->rvds); > > printf("\n"); > }
diff --git a/tools/intel_opregion_decode.c b/tools/intel_opregion_decode.c index b19566108ed7..c65828ae2900 100644 --- a/tools/intel_opregion_decode.c +++ b/tools/intel_opregion_decode.c @@ -122,7 +122,9 @@ struct opregion_asle { uint8_t fdss[8]; uint32_t fdsp; uint32_t stat; - uint8_t rsvd[86]; + uint64_t rvda; /* Physical address of raw vbt data */ + uint32_t rvds; /* Size of raw vbt data */ + uint8_t rsvd[58]; } __attribute__((packed)); /* OpRegion mailbox #4: VBT */ @@ -308,6 +310,8 @@ static void decode_asle(const void *buffer) printf("\tfdsp:\t0x%08x\n", asle->fdsp); printf("\tstat:\t0x%08x\n", asle->stat); + printf("\trvda:\t0x%016lx\n", asle->rvda); + printf("\trvds:\t0x%08x\n", asle->rvds); printf("\n"); }
Signed-off-by: Jani Nikula <jani.nikula@intel.com> --- tools/intel_opregion_decode.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)