- Update to 1.24.

This commit is contained in:
Stanislav Sedov 2009-02-08 22:52:04 +00:00
parent f9d5fc1a68
commit 46dd14f90e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227839
3 changed files with 9 additions and 12 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= x86info
PORTVERSION= 1.23
PORTVERSION= 1.24
PORTREVISION= 0
CATEGORIES= sysutils
MASTER_SITES= http://www.codemonkey.org.uk/projects/x86info/ \

View file

@ -1,3 +1,3 @@
MD5 (x86info-1.23.tgz) = 2313f797b605fc46419d8fe08e1ff821
SHA256 (x86info-1.23.tgz) = 15cf5bb4a6ff90dd1f6486f12684986139ef2b4c98d9a259b5abb39b4655177a
SIZE (x86info-1.23.tgz) = 77055
MD5 (x86info-1.24.tgz) = f4476fb55918cf3b20312f858af44334
SHA256 (x86info-1.24.tgz) = 6cc44be6cabf32d77fde33f994899f7c917580f6595f656d6d1218cea131a575
SIZE (x86info-1.24.tgz) = 78874

View file

@ -1,5 +1,5 @@
--- lsmsr.c.orig 2008-12-16 22:09:47.000000000 +0300
+++ lsmsr.c 2008-12-30 22:35:23.000000000 +0300
--- lsmsr.c.orig 2009-02-06 20:10:58.000000000 +0300
+++ lsmsr.c 2009-02-09 01:51:49.000000000 +0300
@@ -31,6 +31,18 @@
#include "AMD/fam10h.h"
#include "generic_msr.h"
@ -19,7 +19,7 @@
/* Todos:
* - add (list and eventually write) support for write-only MSR
* - add decoding support for bit fields
@@ -120,6 +132,32 @@
@@ -117,6 +129,29 @@
fprintf(stdout, "%s version %s\n", g.prog, VERSION);
}
@ -41,18 +41,15 @@
+#endif
+ return 0;
+ }
+
+ *val = args.data;
+
+ return 0;
+}
+
+#else /* !__FreeBSD__ */
+
int get_msr_val(unsigned int msr, unsigned long long *val)
static int get_msr_val(unsigned int msr, unsigned long long *val)
{
off64_t off;
@@ -145,11 +183,17 @@
@@ -142,11 +177,17 @@
return 0;
}