xref: /openbmc/qemu/hw/i386/amd_iommu-stub.c (revision 328a11a0)
1*328a11a0SBui Quang Minh /*
2*328a11a0SBui Quang Minh  * Stubs for AMD IOMMU emulation
3*328a11a0SBui Quang Minh  *
4*328a11a0SBui Quang Minh  * Copyright (C) 2023 Bui Quang Minh <minhquangbui99@gmail.com>
5*328a11a0SBui Quang Minh  *
6*328a11a0SBui Quang Minh  * This program is free software; you can redistribute it and/or modify
7*328a11a0SBui Quang Minh  * it under the terms of the GNU General Public License as published by
8*328a11a0SBui Quang Minh  * the Free Software Foundation; either version 2 of the License, or
9*328a11a0SBui Quang Minh  * (at your option) any later version.
10*328a11a0SBui Quang Minh 
11*328a11a0SBui Quang Minh  * This program is distributed in the hope that it will be useful,
12*328a11a0SBui Quang Minh  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*328a11a0SBui Quang Minh  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*328a11a0SBui Quang Minh  * GNU General Public License for more details.
15*328a11a0SBui Quang Minh 
16*328a11a0SBui Quang Minh  * You should have received a copy of the GNU General Public License along
17*328a11a0SBui Quang Minh  * with this program; if not, see <http://www.gnu.org/licenses/>.
18*328a11a0SBui Quang Minh  */
19*328a11a0SBui Quang Minh 
20*328a11a0SBui Quang Minh #include "qemu/osdep.h"
21*328a11a0SBui Quang Minh #include "amd_iommu.h"
22*328a11a0SBui Quang Minh 
amdvi_extended_feature_register(AMDVIState * s)23*328a11a0SBui Quang Minh uint64_t amdvi_extended_feature_register(AMDVIState *s)
24*328a11a0SBui Quang Minh {
25*328a11a0SBui Quang Minh     return AMDVI_DEFAULT_EXT_FEATURES;
26*328a11a0SBui Quang Minh }
27