]> git.sur5r.net Git - u-boot/commit
x86: Add msr read/write functions that use a structure
authorSimon Glass <sjg@chromium.org>
Thu, 13 Nov 2014 05:42:18 +0000 (22:42 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:34:13 +0000 (07:34 +0100)
commiteddbad224b9e0e6834f946f587923f27e54abb69
tree06c2b369d774ed0d05ec851f8d697624a65e5e04
parent3f70a6f5773432c83429e33dbc062812113b1c50
x86: Add msr read/write functions that use a structure

It is convenient to be able to adjust MSRs with a structure that splits the
two 32-bit halves into separate fields, as they are often dealt with
separately. Add a few functions to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/msr.h