internals.h (3a650ac995ca36fb9974b82ba50aac8d1fd18b6a) internals.h (9323e79f10e5f5d8fffc3b307776173ca11faeae)
1/*
2 * QEMU ARM CPU -- internal functions and types
3 *
4 * Copyright (c) 2014 Linaro Ltd
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

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

1275#define PMCRLC 0x40
1276#define PMCRDP 0x20
1277#define PMCRX 0x10
1278#define PMCRD 0x8
1279#define PMCRC 0x4
1280#define PMCRP 0x2
1281#define PMCRE 0x1
1282/*
1/*
2 * QEMU ARM CPU -- internal functions and types
3 *
4 * Copyright (c) 2014 Linaro Ltd
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

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

1275#define PMCRLC 0x40
1276#define PMCRDP 0x20
1277#define PMCRX 0x10
1278#define PMCRD 0x8
1279#define PMCRC 0x4
1280#define PMCRP 0x2
1281#define PMCRE 0x1
1282/*
1283 * Mask of PMCR bits writeable by guest (not including WO bits like C, P,
1283 * Mask of PMCR bits writable by guest (not including WO bits like C, P,
1284 * which can be written as 1 to trigger behaviour but which stay RAZ).
1285 */
1284 * which can be written as 1 to trigger behaviour but which stay RAZ).
1285 */
1286#define PMCR_WRITEABLE_MASK (PMCRLC | PMCRDP | PMCRX | PMCRD | PMCRE)
1286#define PMCR_WRITABLE_MASK (PMCRLC | PMCRDP | PMCRX | PMCRD | PMCRE)
1287
1288#define PMXEVTYPER_P 0x80000000
1289#define PMXEVTYPER_U 0x40000000
1290#define PMXEVTYPER_NSK 0x20000000
1291#define PMXEVTYPER_NSU 0x10000000
1292#define PMXEVTYPER_NSH 0x08000000
1293#define PMXEVTYPER_M 0x04000000
1294#define PMXEVTYPER_MT 0x02000000

--- 39 unchanged lines hidden ---
1287
1288#define PMXEVTYPER_P 0x80000000
1289#define PMXEVTYPER_U 0x40000000
1290#define PMXEVTYPER_NSK 0x20000000
1291#define PMXEVTYPER_NSU 0x10000000
1292#define PMXEVTYPER_NSH 0x08000000
1293#define PMXEVTYPER_M 0x04000000
1294#define PMXEVTYPER_MT 0x02000000

--- 39 unchanged lines hidden ---