mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
b71c9e2fb7
This patch splits the file e500_tlb.c into e500_mmu.c (guest TLB handling) and e500_mmu_host.c (host TLB handling). The main benefit of this split is readability and maintainability. It's just a lot harder to write dirty code :). Signed-off-by: Alexander Graf <agraf@suse.de>
21 lines
698 B
C
21 lines
698 B
C
/*
|
|
* Copyright (C) 2008-2013 Freescale Semiconductor, Inc. All rights reserved.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef KVM_E500_MMU_HOST_H
|
|
#define KVM_E500_MMU_HOST_H
|
|
|
|
void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel,
|
|
int esel);
|
|
|
|
void clear_tlb1_bitmap(struct kvmppc_vcpu_e500 *vcpu_e500);
|
|
void clear_tlb_refs(struct kvmppc_vcpu_e500 *vcpu_e500);
|
|
int e500_mmu_host_init(struct kvmppc_vcpu_e500 *vcpu_e500);
|
|
void e500_mmu_host_uninit(struct kvmppc_vcpu_e500 *vcpu_e500);
|
|
|
|
#endif /* KVM_E500_MMU_HOST_H */
|