cpu-defs.h (3d1523ced6060cdfe9e768a814d064067ccabfe5) | cpu-defs.h (ab6511053015b9cc636915e2c2b97305cbf044f0) |
---|---|
1/* 2 * common defines for all CPUs 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 147 unchanged lines hidden (view full) --- 156 157/* 158 * Data elements that are shared between all MMU modes. 159 */ 160typedef struct CPUTLBCommon { 161 /* Serialize updates to tlb_table and tlb_v_table, and others as noted. */ 162 QemuSpin lock; 163 /* | 1/* 2 * common defines for all CPUs 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 147 unchanged lines hidden (view full) --- 156 157/* 158 * Data elements that are shared between all MMU modes. 159 */ 160typedef struct CPUTLBCommon { 161 /* Serialize updates to tlb_table and tlb_v_table, and others as noted. */ 162 QemuSpin lock; 163 /* |
164 * Within pending_flush, for each bit N, there exists an outstanding 165 * cross-cpu flush for mmu_idx N. Further cross-cpu flushes to that 166 * mmu_idx may be discarded. Protected by tlb_c.lock. 167 */ 168 uint16_t pending_flush; 169 /* | |
170 * Within dirty, for each bit N, modifications have been made to 171 * mmu_idx N since the last time that mmu_idx was flushed. 172 * Protected by tlb_c.lock. 173 */ 174 uint16_t dirty; 175 /* 176 * Statistics. These are not lock protected, but are read and 177 * written atomically. This allows the monitor to print a snapshot --- 32 unchanged lines hidden --- | 164 * Within dirty, for each bit N, modifications have been made to 165 * mmu_idx N since the last time that mmu_idx was flushed. 166 * Protected by tlb_c.lock. 167 */ 168 uint16_t dirty; 169 /* 170 * Statistics. These are not lock protected, but are read and 171 * written atomically. This allows the monitor to print a snapshot --- 32 unchanged lines hidden --- |