amd_iommu-stub.c 899 B

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