Skip to content
Snippets Groups Projects
Commit ad57743c authored by Simon McVittie's avatar Simon McVittie
Browse files

pv-supported-architectures: 0'th architecture is primary


On x86, the 0'th architecture is hard-coded to be x86_64. On other
platforms, there is only one architecture, which is whatever we are
compiling for.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent c6ad4dd3
No related branches found
No related tags found
1 merge request!728pv-runtime: Don't warn if library aliases are missing from secondary archs
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
#define PV_N_SUPPORTED_ARCHITECTURES 1 #define PV_N_SUPPORTED_ARCHITECTURES 1
#endif #endif
/* Currently the 0'th architecture is always the primary one
* (x86_64 on x86) */
#define PV_PRIMARY_ARCHITECTURE 0
#if defined(__i386__) || defined(__x86_64__) #if defined(__i386__) || defined(__x86_64__)
#define PV_N_SUPPORTED_ARCHITECTURES_AS_EMULATOR_HOST 1 /* AArch64 */ #define PV_N_SUPPORTED_ARCHITECTURES_AS_EMULATOR_HOST 1 /* AArch64 */
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment