2 * ARM SSE (Subsystems for Embedded): IoTKit, SSE-200
4 * Copyright (c) 2020 Linaro Limited
5 * Written by Peter Maydell
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 or
9 * (at your option) any later version.
12 #ifndef ARMSSE_VERSION_H
13 #define ARMSSE_VERSION_H
17 * Define an enumeration of the possible values of the sse-version
18 * property implemented by various sub-devices of the SSE, and
19 * a validation function that checks that a valid value has been passed.
20 * These are arbitrary QEMU-internal values (nobody should be creating
21 * the sub-devices of the SSE except for the SSE object itself), but
22 * we pick obvious numbers for the benefit of people debugging with gdb.
30 static inline bool armsse_version_valid(uint32_t sse_version
)
32 switch (sse_version
) {