···3232 barrier();3333}34343535+/* Get the instruction length */3636+static inline int insn_length(unsigned char code)3737+{3838+ return ((((int)code + 64) >> 7) + 1) << 1;3939+}4040+3541#endif
+14
tools/testing/selftests/kvm/lib/s390x/facility.c
···11+// SPDX-License-Identifier: GPL-2.0-only22+/*33+ * Copyright IBM Corp. 202444+ *55+ * Authors:66+ * Hariharan Mari <hari55@linux.ibm.com>77+ *88+ * Contains the definition for the global variables to have the test facitlity feature.99+ */1010+1111+#include "facility.h"1212+1313+uint64_t stfl_doublewords[NB_STFL_DOUBLEWORDS];1414+bool stfle_flag;