diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-28 18:01:40 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-28 18:01:40 +0000 |
commit | a400e25c8cf33c9ef3152f9f149cc64f0f5d6345 (patch) | |
tree | 4213df00ad0726a5874ce82bc16b6d60d3330955 /sys/arch/mips64/include/cpu.h | |
parent | c39dad21772231248d51b926b12bdf67f413ff3e (diff) |
Pass L2 cache size in struct cpu_hwinfo, so that bootstrap of secondary
processors can display correct data. Now cpu1 on octane is correctly
reported in dmesg.
Diffstat (limited to 'sys/arch/mips64/include/cpu.h')
-rw-r--r-- | sys/arch/mips64/include/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h index 634b772aa98..746fa74aa71 100644 --- a/sys/arch/mips64/include/cpu.h +++ b/sys/arch/mips64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.56 2010/02/28 17:23:23 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.57 2010/02/28 18:01:36 miod Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -369,6 +369,7 @@ struct cpu_hwinfo { uint32_t clock; /* Hz */ uint32_t tlbsize; uint type; + uint32_t l2size; }; struct cpu_info { |