Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libkvm tg1 is a 64 bit value, store it in a 64 bit varia...
details: https://anonhg.NetBSD.org/src/rev/5c65bae21d5e
branches: trunk
changeset: 445687:5c65bae21d5e
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Nov 09 04:06:40 2018 +0000
description:
tg1 is a 64 bit value, store it in a 64 bit variable.
diffstat:
lib/libkvm/kvm_aarch64.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0702051ba622 -r 5c65bae21d5e lib/libkvm/kvm_aarch64.c
--- a/lib/libkvm/kvm_aarch64.c Fri Nov 09 04:05:27 2018 +0000
+++ b/lib/libkvm/kvm_aarch64.c Fri Nov 09 04:06:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kvm_aarch64.c,v 1.4 2018/11/01 05:37:11 mrg Exp $ */
+/* $NetBSD: kvm_aarch64.c,v 1.5 2018/11/09 04:06:40 mrg Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
#include "kvm_private.h"
-__RCSID("$NetBSD: kvm_aarch64.c,v 1.4 2018/11/01 05:37:11 mrg Exp $");
+__RCSID("$NetBSD: kvm_aarch64.c,v 1.5 2018/11/09 04:06:40 mrg Exp $");
/*ARGSUSED*/
void
@@ -83,7 +83,7 @@
}
const cpu_kcore_hdr_t * const cpu_kh = kd->cpu_data;
- const u_int tg1 = cpu_kh->kh_tcr1 & TCR_TG1;
+ const uint64_t tg1 = cpu_kh->kh_tcr1 & TCR_TG1;
const u_int t1siz = __SHIFTOUT(cpu_kh->kh_tcr1, TCR_T1SZ);
/*
Home |
Main Index |
Thread Index |
Old Index