msrtool: Allow MSR symbols (names) to also be used as addresses.
[coreboot.git] / util / msrtool / msrtool.h
index 7b639f06575aff5d410b9893f37aff35364ee477..23bc4b88d29e101cb555fb3aef34c1be92f7f9dd 100644 (file)
@@ -157,6 +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);
 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);