????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.23.59.191 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-3.13.0-49/arch/powerpc/include/asm/ |
Upload File : |
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Copyright IBM Corp. 2008 * * Authors: Hollis Blanchard <hollisb@us.ibm.com> */ #ifndef __ASM_44X_H__ #define __ASM_44X_H__ #include <linux/kvm_host.h> #define PPC44x_TLB_SIZE 64 /* If the guest is expecting it, this can be as large as we like; we'd just * need to find some way of advertising it. */ #define KVM44x_GUEST_TLB_SIZE 64 struct kvmppc_44x_tlbe { u32 tid; /* Only the low 8 bits are used. */ u32 word0; u32 word1; u32 word2; }; struct kvmppc_44x_shadow_ref { struct page *page; u16 gtlb_index; u8 writeable; u8 tid; }; struct kvmppc_vcpu_44x { /* Unmodified copy of the guest's TLB. */ struct kvmppc_44x_tlbe guest_tlb[KVM44x_GUEST_TLB_SIZE]; /* References to guest pages in the hardware TLB. */ struct kvmppc_44x_shadow_ref shadow_refs[PPC44x_TLB_SIZE]; /* State of the shadow TLB at guest context switch time. */ struct kvmppc_44x_tlbe shadow_tlb[PPC44x_TLB_SIZE]; u8 shadow_tlb_mod[PPC44x_TLB_SIZE]; struct kvm_vcpu vcpu; }; static inline struct kvmppc_vcpu_44x *to_44x(struct kvm_vcpu *vcpu) { return container_of(vcpu, struct kvmppc_vcpu_44x, vcpu); } void kvmppc_44x_tlb_put(struct kvm_vcpu *vcpu); void kvmppc_44x_tlb_load(struct kvm_vcpu *vcpu); #endif /* __ASM_44X_H__ */