thead.c (dfe57951f0610c6de42190b32c7ed844a97ee593) thead.c (ccbe9a9f732ee2f10f252a5586309a82e6ffd1e7)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2024 The FreeBSD Foundation
5 *
6 * This software was developed by Mitchell Horne <mhorne@FreeBSD.org> under
7 * sponsorship from the FreeBSD Foundation.
8 *

--- 18 unchanged lines hidden (view full) ---

27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30#include <sys/param.h>
31#include <sys/systm.h>
32
33#include <machine/thead.h>
34
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2024 The FreeBSD Foundation
5 *
6 * This software was developed by Mitchell Horne <mhorne@FreeBSD.org> under
7 * sponsorship from the FreeBSD Foundation.
8 *

--- 18 unchanged lines hidden (view full) ---

27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30#include <sys/param.h>
31#include <sys/systm.h>
32
33#include <machine/thead.h>
34
35bool has_errata_thead_pbmt = false;
36
35/* ----------------- dcache ops --------------------- */
36
37
38/* th.dcache.civa: clean & invalidate at VA stored in t0. */
39#define THEAD_DCACHE_CIVA ".long 0x0272800b\n"
40
41/* th.dcache.iva: invalidate at VA stored in t0. */
42#define THEAD_DCACHE_IVA ".long 0x0262800b\n"

--- 57 unchanged lines hidden ---
37/* ----------------- dcache ops --------------------- */
38
39
40/* th.dcache.civa: clean & invalidate at VA stored in t0. */
41#define THEAD_DCACHE_CIVA ".long 0x0272800b\n"
42
43/* th.dcache.iva: invalidate at VA stored in t0. */
44#define THEAD_DCACHE_IVA ".long 0x0262800b\n"

--- 57 unchanged lines hidden ---