diff options
Diffstat (limited to 'util/msrtool')
-rw-r--r-- | util/msrtool/Makefile.in | 2 | ||||
-rw-r--r-- | util/msrtool/msrtool.c | 1 | ||||
-rw-r--r-- | util/msrtool/msrtool.h | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/util/msrtool/Makefile.in b/util/msrtool/Makefile.in index 4e0e3814fb..94ab5fa960 100644 --- a/util/msrtool/Makefile.in +++ b/util/msrtool/Makefile.in @@ -26,7 +26,7 @@ PREFIX = @PREFIX@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ -TARGETS = geodelx.o cs5536.o k8.o +TARGETS = geodegx2.o geodelx.o cs5536.o k8.o SYSTEMS = linux.o darwin.o freebsd.o OBJS = $(PROGRAM).o msrutils.o sys.o $(SYSTEMS) $(TARGETS) diff --git a/util/msrtool/msrtool.c b/util/msrtool/msrtool.c index 4ed86baf58..56d2591db4 100644 --- a/util/msrtool/msrtool.c +++ b/util/msrtool/msrtool.c @@ -40,6 +40,7 @@ uint8_t reserved = 0, verbose = 0, quiet = 0; struct pci_access *pacc = NULL; static struct targetdef alltargets[] = { + { "geodegx2", "AMD Geode(tm) GX2", geodegx2_probe, geodegx2_msrs }, { "geodelx", "AMD Geode(tm) LX", geodelx_probe, geodelx_msrs }, { "cs5536", "AMD Geode(tm) CS5536", cs5536_probe, cs5536_msrs }, { "K8", "AMD K8 Family", k8_probe, k8_msrs }, diff --git a/util/msrtool/msrtool.h b/util/msrtool/msrtool.h index c2cd6cb3a8..d8fc00f3fb 100644 --- a/util/msrtool/msrtool.h +++ b/util/msrtool/msrtool.h @@ -198,6 +198,10 @@ extern int freebsd_rdmsr(uint8_t cpu, uint32_t addr, struct msr *val); /** target externs **/ +/* geodegx2.c */ +extern int geodegx2_probe(const struct targetdef *t); +extern const struct msrdef geodegx2_msrs[]; + /* geodelx.c */ extern int geodelx_probe(const struct targetdef *t); extern const struct msrdef geodelx_msrs[]; |