kvm: qemu: separate TSC load from kvm_arch_load_regs
[kvm-userspace.git] / libkvm / kvm-s390.h
blob9edd9a33b978087cee740821475a5bf149581cc0
1 /*
2 * This header is for functions & variables that will ONLY be
3 * used inside libkvm for s390.
4 * THESE ARE NOT EXPOSED TO THE USER AND ARE ONLY FOR USE
5 * WITHIN LIBKVM.
7 * Copyright (C) 2006 Qumranet, Inc.
9 * Authors:
10 * Avi Kivity <avi@qumranet.com>
11 * Yaniv Kamay <yaniv@qumranet.com>
13 * Copyright 2008 IBM Corporation.
14 * Authors:
15 * Carsten Otte <cotte@de.ibm.com>
17 * This work is licensed under the GNU LGPL license, version 2.
20 #ifndef KVM_S390_H
21 #define KVM_S390_H
23 #include <asm/ptrace.h>
24 #include "kvm-common.h"
26 #define PAGE_SIZE 4096ul
27 #define PAGE_MASK (~(PAGE_SIZE - 1))
29 #define smp_wmb() asm volatile("" ::: "memory")
31 #endif