diff options
author | Marc Jones <marcj303@gmail.com> | 2009-03-08 04:37:39 +0000 |
---|---|---|
committer | Marc Jones <marc.jones@amd.com> | 2009-03-08 04:37:39 +0000 |
commit | 8f210766d5cf673955ba62652570af78a0586f80 (patch) | |
tree | 0cd7865ef5ad4474bfdb84da9d220c802a781d2a /util/msrtool/msrtool.h | |
parent | 3b1a955ccef1c980ccea5af06349c0ea74a28d5a (diff) |
Add some basic K8 MSRs.
Fix bash script type.
Removed const return type on msraddrbyname() to fix gcc warning/error.
Signed-off-by: Marc Jones <marcj303@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3985 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/msrtool/msrtool.h')
-rw-r--r-- | util/msrtool/msrtool.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/msrtool/msrtool.h b/util/msrtool/msrtool.h index 23bc4b88d2..9fe820dd04 100644 --- a/util/msrtool/msrtool.h +++ b/util/msrtool/msrtool.h @@ -157,7 +157,7 @@ struct msr msr_shl(const struct msr a, const uint8_t bits); struct msr msr_shr(const struct msr a, const uint8_t bits); void msr_and(struct msr *a, const struct msr b); const struct msrdef *findmsrdef(const uint32_t addr); -const uint32_t msraddrbyname(const char *name); +uint32_t msraddrbyname(const char *name); void dumpmsrdefs(const struct targetdef *t); int dumpmsrdefsvals(FILE *f, const struct targetdef *t, const uint8_t cpu); uint8_t str2msr(char *str, struct msr *msr); @@ -185,4 +185,8 @@ extern const struct msrdef geodelx_msrs[]; extern int cs5536_probe(const struct targetdef *t); extern const struct msrdef cs5536_msrs[]; +/* k8.c */ +extern int k8_probe(const struct targetdef *t); +extern const struct msrdef k8_msrs[]; + #endif /* MSRTOOL_H */ |