diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-05-10 16:04:22 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-05-10 16:04:22 +0000 |
commit | 089c4eb612aea43efbe536e468d8698defe4236c (patch) | |
tree | 32d9b9856c143be7a8f8cbd87be1c6e111a3819f /sys/arch/mips64/include | |
parent | cf1f1023eea525d37f1783e6c6f502b28148f2aa (diff) |
Hook up HPET as a timecounter.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r-- | sys/arch/mips64/include/loongson3.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/loongson3.h b/sys/arch/mips64/include/loongson3.h index 98839c66370..f697e6b0092 100644 --- a/sys/arch/mips64/include/loongson3.h +++ b/sys/arch/mips64/include/loongson3.h @@ -1,4 +1,4 @@ -/* $OpenBSD: loongson3.h,v 1.2 2016/12/12 16:25:47 visa Exp $ */ +/* $OpenBSD: loongson3.h,v 1.3 2017/05/10 16:04:21 visa Exp $ */ /* * Copyright (c) 2016 Visa Hankala @@ -99,6 +99,7 @@ loongson3_get_cpuid(void) * HyperTransport registers */ +#define LS3_HT1_MEM_BASE(n) (LS3_MEM_BASE(n)+0x00000e0000000000ull) #define LS3_HT1_CFG_BASE(n) (LS3_MEM_BASE(n)+0x00000efdfb000000ull) #define LS3_HT_ISR_OFFSET(x) (0x80 + (x) * 4) |