mirror of
https://github.com/qemu/qemu.git
synced 2024-12-14 15:03:33 +08:00
70c9483a30
It's either "GNU *Library* General Public License version 2" or "GNU Lesser General Public License version *2.1*", but there was no "version 2.0" of the "Lesser" license. So assume that version 2.1 is meant here. Also the files mentioned the GPL instead of the LGPL after declaring that the files are licensed under the LGPL, so change these spots to use LGPL, too. Signed-off-by: Thomas Huth <thuth@redhat.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <1549266858-5043-1-git-send-email-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
/*
|
|
* Moxie mmu emulation.
|
|
*
|
|
* Copyright (c) 2008, 2013 Anthony Green
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "cpu.h"
|
|
#include "mmu.h"
|
|
|
|
int moxie_mmu_translate(MoxieMMUResult *res,
|
|
CPUMoxieState *env, uint32_t vaddr,
|
|
int rw, int mmu_idx)
|
|
{
|
|
/* Perform no translation yet. */
|
|
res->phy = vaddr;
|
|
return 0;
|
|
}
|