Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 20120809
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 0.736 kb
/*
* This header is for functions & variables that will ONLY be
* used inside libkvm for powerpc.
* THESE ARE NOT EXPOSED TO THE USER AND ARE ONLY FOR USE
* WITHIN LIBKVM.
*
* Copyright (C) 2006 Qumranet, Inc.
*
* Authors:
* Avi Kivity <avi@qumranet.com>
* Yaniv Kamay <yaniv@qumranet.com>
*
* Copyright 2007 IBM Corporation.
* Added by: Jerone Young <jyoung5@us.ibm.com>
*
* This work is licensed under the GNU LGPL license, version 2.
*/
#ifndef KVM_POWERPC_H
#define KVM_POWERPC_H
#include "libkvm-all.h"
extern int kvm_page_size;
#define PAGE_SIZE kvm_page_size
#define PAGE_MASK (~(PAGE_SIZE - 1))
static inline void eieio(void)
{
asm volatile("eieio" : : : "memory");
}
#define smp_wmb() eieio()
#endif
Jump to Line
Something went wrong with that request. Please try again.