Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Use unsigned long long to print msr values.
details: https://anonhg.NetBSD.org/src/rev/08d9941b969f
branches: trunk
changeset: 543780:08d9941b969f
user: fvdl <fvdl%NetBSD.org@localhost>
date: Mon Mar 03 22:23:22 2003 +0000
description:
Use unsigned long long to print msr values.
diffstat:
sys/arch/x86/x86/mtrr_i686.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 084483153169 -r 08d9941b969f sys/arch/x86/x86/mtrr_i686.c
--- a/sys/arch/x86/x86/mtrr_i686.c Mon Mar 03 22:17:15 2003 +0000
+++ b/sys/arch/x86/x86/mtrr_i686.c Mon Mar 03 22:23:22 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mtrr_i686.c,v 1.1 2003/02/26 21:26:12 fvdl Exp $ */
+/* $NetBSD: mtrr_i686.c,v 1.2 2003/03/03 22:23:22 fvdl Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mtrr_i686.c,v 1.1 2003/02/26 21:26:12 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mtrr_i686.c,v 1.2 2003/03/03 22:23:22 fvdl Exp $");
#include "opt_multiprocessor.h"
@@ -136,7 +136,8 @@
for (i = 0; i < nmtrr_raw; i++)
printf("%s: %x: %016llx\n",
- tag, mtrr_raw[i].msraddr, rdmsr(mtrr_raw[i].msraddr));
+ tag, mtrr_raw[i].msraddr,
+ (unsigned long long)rdmsr(mtrr_raw[i].msraddr));
}
/*
Home |
Main Index |
Thread Index |
Old Index