repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
pmp-tool/PMP
src/qemu/src-pmp/hw/audio/wm8750.c
<filename>src/qemu/src-pmp/hw/audio/wm8750.c /* * WM8750 audio CODEC. * * Copyright (c) 2006 Openedhand Ltd. * Written by <NAME> <<EMAIL>> * * This file is licensed under GNU GPL. */ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" #include "hw/audio/wm8750.h" #include "audio/audio.h" #define IN_PORT_N 3 #defin...
pmp-tool/PMP
src/qemu/src-pmp/hw/virtio/vhost-user-blk-pci.c
<reponame>pmp-tool/PMP /* * Vhost user blk PCI Bindings * * Copyright(C) 2017 Intel Corporation. * * Authors: * <NAME> <<EMAIL>> * * Largely based on the "vhost-user-scsi.c" and "vhost-scsi.c" implemented by: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This work is licensed under the term...
pmp-tool/PMP
src/qemu/src-pmp/ui/qemu-pixman.c
/* * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "qemu-common.h" #include "ui/console.h" #include "standard-headers/drm/drm_fourcc.h" PixelFormat qemu_pixelformat_from_pixman(pixman_format_code_t fo...
pmp-tool/PMP
src/qemu/src-pmp/hw/ide/ioport.c
<filename>src/qemu/src-pmp/hw/ide/ioport.c<gh_stars>1-10 /* * QEMU IDE disk and CD/DVD-ROM Emulator * * Copyright (c) 2003 <NAME> * Copyright (c) 2006 Openedhand Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softw...
pmp-tool/PMP
src/qemu/src-pmp/target/openrisc/gdbstub.c
<reponame>pmp-tool/PMP<gh_stars>1-10 /* * OpenRISC gdb server stub * * Copyright (c) 2003-2005 <NAME> * Copyright (c) 2013 SUSE LINUX Products GmbH * * 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 So...
pmp-tool/PMP
src/qemu/src-pmp/hw/intc/pnv_xive.c
<gh_stars>1-10 /* * QEMU PowerPC XIVE interrupt controller model * * Copyright (c) 2017-2019, IBM Corporation. * * This code is licensed under the GPL version 2 or later. See the * COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" #include "target/...
pmp-tool/PMP
src/qemu/src-pmp/hw/intc/xics_spapr.c
<filename>src/qemu/src-pmp/hw/intc/xics_spapr.c<gh_stars>1-10 /* * QEMU PowerPC pSeries Logical Partition (aka sPAPR) hardware System Emulator * * PAPR Virtualized Interrupt System, aka ICS/ICP aka xics * * Copyright (c) 2010,2011 <NAME>, IBM Corporation. * * Permission is hereby granted, free of charge, to any ...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_h.c
<reponame>pmp-tool/PMP /* * Test program for MSA instruction DOTP_U.H * * Copyright (C) 2018 Wave Computing, Inc. * Copyright (C) 2018 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fr...
pmp-tool/PMP
src/qemu/src-pmp/include/qemu-common.h
/* Common header file that is included by all of QEMU. * * This file is supposed to be included only by .c files. No header file should * depend on qemu-common.h, as this would easily lead to circular header * dependencies. * * If a header file uses a definition from qemu-common.h, that definition * must be mov...
pmp-tool/PMP
src/qemu/src-pmp/hw/virtio/vhost-vsock-pci.c
<filename>src/qemu/src-pmp/hw/virtio/vhost-vsock-pci.c /* * Vhost vsock PCI Bindings * * Copyright 2015 Red Hat, Inc. * * Authors: * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or * (at your option) any later version. See the COPYING file in the * top-level directory...
pmp-tool/PMP
src/qemu/src-pmp/include/qemu/filemonitor.h
<filename>src/qemu/src-pmp/include/qemu/filemonitor.h /* * QEMU file monitor helper * * Copyright (c) 2018 Red Hat, Inc. * * 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 *...
pmp-tool/PMP
src/qemu/src-pmp/chardev/char-mux.c
/* * QEMU System Emulator * * Copyright (c) 2003-2008 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
pmp-tool/PMP
src/qemu/src-pmp/target/riscv/cpu_user.h
#define xRA 1 /* return address (aka link register) */ #define xSP 2 /* stack pointer */ #define xGP 3 /* global pointer */ #define xTP 4 /* thread pointer */ #define xA0 10 /* gpr[10-17] are syscall arguments */ #define xA1 11 #define xA2 12 #define xA3 13 #define xA4 14 #define xA5 15 #define xA6 16 #define...
pmp-tool/PMP
src/qemu/src-pmp/tests/e1000-test.c
/* * QTest testcase for e1000 NIC * * Copyright (c) 2013-2014 SUSE LINUX Products GmbH * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "libqtest.h" #include "libqos/qgraph.h" #include "libqos/pci...
pmp-tool/PMP
src/qemu/src-pmp/hw/ppc/pnv_occ.c
/* * QEMU PowerPC PowerNV Emulation of a few OCC related registers * * Copyright (c) 2015-2017, IBM Corporation. * * 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 p...
pmp-tool/PMP
src/qemu/src-pmp/target/riscv/insn_trans/trans_rva.inc.c
<reponame>pmp-tool/PMP<gh_stars>1-10 /* * RISC-V translation routines for the RV64A Standard Extension. * * Copyright (c) 2016-2017 <NAME>, <EMAIL> * Copyright (c) 2018 <NAME>, <EMAIL> * <NAME>, <EMAIL> * * This program is free software; you can redistribute it and/or modify it * under the te...
pmp-tool/PMP
src/qemu/src-pmp/target/xtensa/translate.c
<filename>src/qemu/src-pmp/target/xtensa/translate.c /* * Xtensa ISA: * http://www.tensilica.com/products/literature-docs/documentation/xtensa-isa-databook.htm * * Copyright (c) 2011, <NAME>, Open Source and Linux Lab. * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
pmp-tool/PMP
src/qemu/src-pmp/tests/check-qjson.c
<filename>src/qemu/src-pmp/tests/check-qjson.c /* * Copyright IBM, Corp. 2009 * Copyright (c) 2013, 2015 Red Hat Inc. * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. * See the COPYING.LIB file in the top-level directory. *...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c
<reponame>pmp-tool/PMP /* * Test program for MSA instruction ADD_A.B * * Copyright (C) 2019 RT-RK Computer Based Systems LLC * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by...
pmp-tool/PMP
src/qemu/src-pmp/hw/display/virtio-gpu-pci.c
<gh_stars>1-10 /* * Virtio video device * * Copyright Red Hat * * Authors: * <NAME> * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */ #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/pci/pci.h" #include "hw/virt...
pmp-tool/PMP
src/qemu/src-pmp/hw/i386/pc_sysfw.c
<filename>src/qemu/src-pmp/hw/i386/pc_sysfw.c<gh_stars>1-10 /* * QEMU PC System Firmware * * Copyright (c) 2003-2004 <NAME> * Copyright (c) 2011-2012 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
pmp-tool/PMP
src/qemu/src-pmp/slirp/src/vmstate.h
<filename>src/qemu/src-pmp/slirp/src/vmstate.h /* SPDX-License-Identifier: BSD-3-Clause */ /* * QEMU migration/snapshot declarations * * Copyright (c) 2009-2011 Red Hat, Inc. * * Original author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/ppc/pnv_psi.h
<filename>src/qemu/src-pmp/include/hw/ppc/pnv_psi.h /* * QEMU PowerPC PowerNV Processor Service Interface (PSI) model * * Copyright (c) 2015-2017, IBM Corporation. * * 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...
pmp-tool/PMP
src/qemu/src-pmp/tests/libqos/virtio-blk.c
/* * libqos driver framework * * Copyright (c) 2018 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2 as published by the Free Software Foundation. * * This library is distributed in the hope that ...
pmp-tool/PMP
src/qemu/src-pmp/crypto/afsplit.c
<reponame>pmp-tool/PMP<filename>src/qemu/src-pmp/crypto/afsplit.c /* * QEMU Crypto anti forensic information splitter * * Copyright (c) 2015-2016 Red Hat, Inc. * * Derived from cryptsetup package lib/luks1/af.c * * Copyright (C) 2004, <NAME> <<EMAIL>> * Copyright (C) 2009-2012, Red Hat, Inc. All rights reserved...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c
/* * Test program for MSA instruction ADDS_A.H * * Copyright (C) 2019 RT-RK Computer Based Systems LLC * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_w.c
/* * Test program for MSA instruction ILVEV.W * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
pmp-tool/PMP
src/qemu/src-pmp/hw/timer/m41t80.c
/* * M41T80 serial rtc emulation * * Copyright (c) 2018 <NAME> * * This work is licensed under the GNU GPL license version 2 or later. * */ #include "qemu/osdep.h" #include "qemu/log.h" #include "qemu/timer.h" #include "qemu/bcd.h" #include "hw/i2c/i2c.h" #define TYPE_M41T80 "m41t80" #define M41T80(obj) OBJECT...
pmp-tool/PMP
src/qemu/src-pmp/hw/scsi/vhost-scsi.c
<reponame>pmp-tool/PMP<filename>src/qemu/src-pmp/hw/scsi/vhost-scsi.c /* * vhost_scsi host device * * Copyright IBM, Corp. 2011 * * Authors: * <NAME> <<EMAIL>> * * Changes for QEMU mainline + tcm_vhost kernel upstream: * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU LGPL, version ...
pmp-tool/PMP
src/qemu/src-pmp/util/qsp.c
<filename>src/qemu/src-pmp/util/qsp.c /* * qsp.c - QEMU Synchronization Profiler * * Copyright (C) 2018, <NAME> <<EMAIL>> * * License: GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * * QSP profiles the time spent in synchronization primitives, which can * help diagnose perfo...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/virtio/vhost-backend.h
/* * vhost-backend * * Copyright (c) 2013 Virtual Open Systems Sarl. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */ #ifndef VHOST_BACKEND_H #define VHOST_BACKEND_H #include "exec/memory.h" typedef enum VhostBackendType { ...
pmp-tool/PMP
src/qemu/src-pmp/include/crypto/block.h
/* * QEMU Crypto block device encryption * * Copyright (c) 2015-2016 Red Hat, Inc. * * 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 of the License, or (at your...
pmp-tool/PMP
src/qemu/src-pmp/accel/tcg/cputlb.c
<filename>src/qemu/src-pmp/accel/tcg/cputlb.c<gh_stars>1-10 /* * Common CPU TLB handling * * Copyright (c) 2003 <NAME> * * 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 *...
pmp-tool/PMP
src/qemu/src-pmp/tcg/riscv/tcg-target.inc.c
<reponame>pmp-tool/PMP /* * Tiny Code Generator for QEMU * * Copyright (c) 2018 SiFive, Inc * Copyright (c) 2008-2009 <NAME> <<EMAIL>> * Copyright (c) 2009 <NAME> <<EMAIL>> * Copyright (c) 2008 <NAME> * * Based on i386/tcg-target.c and mips/tcg-target.c * * Permission is hereby granted, free of charge, to any...
pmp-tool/PMP
src/qemu/src-pmp/tests/test-arm-mptimer.c
<gh_stars>1-10 /* * QTest testcase for the ARM MPTimer * * Copyright (c) 2016 <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "qemu/timer.h" #include "libqtest.h" #define TIMER_...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c
/* * Test program for MSA instruction ADDV.B * * Copyright (C) 2019 RT-RK Computer Based Systems LLC * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
pmp-tool/PMP
src/qemu/src-pmp/contrib/elf2dmp/pdb.c
/* * Copyright (c) 2018 Virtuozzo International GmbH * * Based on source of Wine project * * 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 ...
pmp-tool/PMP
src/qemu/src-pmp/include/block/dirty-bitmap.h
#ifndef BLOCK_DIRTY_BITMAP_H #define BLOCK_DIRTY_BITMAP_H #include "qemu-common.h" #include "qapi/qapi-types-block-core.h" #include "qemu/hbitmap.h" typedef enum BitmapCheckFlags { BDRV_BITMAP_BUSY = 1, BDRV_BITMAP_RO = 2, BDRV_BITMAP_INCONSISTENT = 4, } BitmapCheckFlags; #define BDRV_BITMAP_DEFAULT (BDR...
pmp-tool/PMP
src/qemu/src-pmp/backends/hostmem-file.c
<reponame>pmp-tool/PMP /* * QEMU Host Memory Backend for hugetlbfs * * Copyright (C) 2013-2014 Red Hat Inc * * Authors: * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "qap...
pmp-tool/PMP
src/qemu/src-pmp/hw/audio/lm4549.c
<filename>src/qemu/src-pmp/hw/audio/lm4549.c<gh_stars>1-10 /* * LM4549 Audio Codec Interface * * Copyright (c) 2011 * Written by <NAME> - www.elasticsheep.com * * This code is licensed under the GPL. * * ***************************************************************** * * This driver emulates the LM4549 code...
pmp-tool/PMP
src/qemu/src-pmp/tests/test-filter-mirror.c
/* * QTest testcase for filter-mirror * * Copyright (c) 2016 FUJITSU LIMITED * Author: <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or * later. See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "libqtest.h" #include "qapi/qmp/qdict.h" ...
pmp-tool/PMP
src/qemu/src-pmp/util/qemu-coroutine-sleep.c
<gh_stars>1-10 /* * QEMU coroutine sleep * * Copyright IBM, Corp. 2011 * * Authors: * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU LGPL, version 2 or later. * See the COPYING.LIB file in the top-level directory. * */ #include "qemu/osdep.h" #include "qemu/coroutine.h" #include "...
pmp-tool/PMP
src/qemu/src-pmp/tests/migration-test.c
/* * QTest testcase for migration * * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates * based on the vhost-user-test.c that is: * Copyright (c) 2014 Virtual Open Systems Sarl. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level...
pmp-tool/PMP
src/qemu/src-pmp/include/chardev/char-fe.h
#ifndef QEMU_CHAR_FE_H #define QEMU_CHAR_FE_H #include "chardev/char.h" typedef void IOEventHandler(void *opaque, int event); typedef int BackendChangeHandler(void *opaque); /* This is the backend as seen by frontend, the actual backend is * Chardev */ struct CharBackend { Chardev *chr; IOEventHandler *chr_...
pmp-tool/PMP
src/qemu/src-pmp/tests/libqos/arm-sabrelite-machine.c
<filename>src/qemu/src-pmp/tests/libqos/arm-sabrelite-machine.c<gh_stars>1-10 /* * libqos driver framework * * Copyright (c) 2018 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2 as published by the...
pmp-tool/PMP
src/qemu/src-pmp/hw/misc/mips_cpc.c
<gh_stars>1-10 /* * Cluster Power Controller emulation * * Copyright (c) 2016 Imagination Technologies * * 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 of the ...
pmp-tool/PMP
src/qemu/src-pmp/target/ppc/mmu-radix64.c
/* * PowerPC Radix MMU mulation helpers for QEMU. * * Copyright (c) 2016 <NAME>, IBM Corporation * * 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 of the Lice...
pmp-tool/PMP
src/qemu/src-pmp/hw/display/virtio-vga.c
#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "vga_int.h" #include "hw/virtio/virtio-pci.h" #include "hw/virtio/virtio-gpu.h" #include "qapi/error.h" /* * virtio-vga: This extends VirtioPCIProxy. */ #define TYPE_VIRTIO_VGA "virtio-vga" #define VIRTIO_VGA(obj) \ OBJECT_CHECK(Virt...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/minilib/printf.c
<filename>src/qemu/src-pmp/tests/tcg/minilib/printf.c /* * Copyright (C) 2015 Virtual Open Systems SAS * Author: <NAME> <<EMAIL>> * * printf based on implementation by <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
pmp-tool/PMP
src/qemu/src-pmp/include/qemu/uuid.h
<gh_stars>1-10 /* * QEMU UUID functions * * Copyright 2016 Red Hat, Inc. * * Authors: * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the ...
pmp-tool/PMP
src/qemu/src-pmp/dump.c
/* * QEMU dump * * Copyright Fujitsu, Corp. 2011, 2012 * * Authors: * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */ #include "qemu/osdep.h" #include "qemu/cutils.h" #include "elf.h" #include "cpu.h" ...
pmp-tool/PMP
src/qemu/src-pmp/hw/display/ati_2d.c
<filename>src/qemu/src-pmp/hw/display/ati_2d.c /* * QEMU ATI SVGA emulation * 2D engine functions * * Copyright (c) 2019 <NAME> * * This work is licensed under the GNU GPL license version 2 or later. */ #include "ati_int.h" #include "ati_regs.h" #include "qemu/log.h" #include "ui/pixel_ops.h" /* * NOTE: * Th...
pmp-tool/PMP
src/qemu/src-pmp/tests/virtio-rng-test.c
/* * QTest testcase for VirtIO RNG * * Copyright (c) 2014 SUSE LINUX Products GmbH * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "libqtest.h" #include "libqos/qgraph.h" #include "libqos/virtio-...
pmp-tool/PMP
src/qemu/src-pmp/target/s390x/cpu_features.c
/* * CPU features/facilities for s390x * * Copyright IBM Corp. 2016, 2018 * * Author(s): <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or (at * your option) any later version. See the COPYING file in the top-level * directory. */ #include "qemu/osdep.h" #include "qemu/m...
pmp-tool/PMP
src/qemu/src-pmp/hw/virtio/vhost-user-scsi-pci.c
/* * Vhost user scsi PCI Bindings * * Copyright (c) 2016 Nutanix Inc. All rights reserved. * * Author: * <NAME> <<EMAIL>> * * This work is largely based on the "vhost-scsi" implementation by: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU LGPL, version 2 or ...
pmp-tool/PMP
src/qemu/src-pmp/tests/virtio-blk-test.c
/* * QTest testcase for VirtIO Block Device * * Copyright (c) 2014 SUSE LINUX Products GmbH * Copyright (c) 2014 <NAME> * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "libqtest.h" #include "qem...
pmp-tool/PMP
src/qemu/src-pmp/hw/xen/xen_devconfig.c
<gh_stars>1-10 #include "qemu/osdep.h" #include "hw/xen/xen-legacy-backend.h" #include "qemu/option.h" #include "sysemu/blockdev.h" /* ------------------------------------------------------------- */ static int xen_config_dev_dirs(const char *ftype, const char *btype, int vdev, char *fe...
pmp-tool/PMP
src/qemu/src-pmp/authz/simple.c
<filename>src/qemu/src-pmp/authz/simple.c /* * QEMU simple authorization driver * * Copyright (c) 2018 Red Hat, Inc. * * 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 * ver...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_b.c
<filename>src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_b.c /* * Test program for MSA instruction ILVR.B * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms o...
pmp-tool/PMP
src/qemu/src-pmp/roms/openbios/drivers/pmu.c
/* * Device driver for the via-pmu on Apple Powermacs. * * The VIA (versatile interface adapter) interfaces to the PMU, * a 6805 microprocessor core whose primary function is to control * battery charging and system power on the PowerBook 3400 and 2400. * The PMU also controls the ADB (Apple Desktop Bus) which co...
pmp-tool/PMP
src/qemu/src-pmp/tests/test-block-iothread.c
<filename>src/qemu/src-pmp/tests/test-block-iothread.c /* * Block tests for iothreads * * Copyright (c) 2018 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without ...
pmp-tool/PMP
src/qemu/src-pmp/tests/e1000e-test.c
/* * QTest testcase for e1000e NIC * * Copyright (c) 2015 Ravello Systems LTD (http://ravellosystems.com) * Developed by Daynix Computing LTD (http://www.daynix.com) * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * mod...
pmp-tool/PMP
src/qemu/src-pmp/roms/skiboot/include/npu2.h
/* Copyright 2013-2016 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
pmp-tool/PMP
src/qemu/src-pmp/include/authz/base.h
<reponame>pmp-tool/PMP /* * QEMU authorization framework base class * * Copyright (c) 2018 Red Hat, Inc. * * 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 of th...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/riscv/sifive_u.h
/* * SiFive U series machine interface * * Copyright (c) 2017 SiFive, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2 or later, as published by the Free Software Foundation. * * This program is dist...
pmp-tool/PMP
src/qemu/src-pmp/roms/SLOF/lib/libhvcall/libhvcall.h
#ifndef __LIBHVCALL_H__ #define __LIBHVCALL_H__ #define H_SUCCESS 0 #define H_HARDWARE -1 #define H_PRIVILEGE -3 /* Caller not privileged */ #define H_GET_TCE 0x1C #define H_PUT_TCE 0x20 #define H_LOGICAL_CI_LOAD 0x3c #define H_LOGICAL_CI_STORE 0x40 #define H_GET_TERM_CHAR 0x54 #define H_PUT_TERM_CHAR 0x58 #...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/i386/intel_iommu.h
/* * QEMU emulation of an Intel IOMMU (VT-d) * (DMA Remapping device) * * Copyright (C) 2013 <NAME>, Oracle <<EMAIL>> * Copyright (C) 2014 <NAME>, <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fr...
pmp-tool/PMP
src/qemu/src-pmp/hw/scsi/vhost-user-scsi.c
/* * vhost-user-scsi host device * * Copyright (c) 2016 Nutanix Inc. All rights reserved. * * Author: * <NAME> <<EMAIL>> * * This work is largely based on the "vhost-scsi" implementation by: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU LGPL, version 2 or l...
pmp-tool/PMP
src/qemu/src-pmp/authz/base.c
<filename>src/qemu/src-pmp/authz/base.c /* * QEMU authorization framework base class * * Copyright (c) 2018 Red Hat, Inc. * * 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 ...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/ppc/pnv_occ.h
/* * QEMU PowerPC PowerNV Emulation of a few OCC related registers * * Copyright (c) 2015-2017, IBM Corporation. * * 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...
pmp-tool/PMP
src/qemu/src-pmp/slirp/src/state.c
<reponame>pmp-tool/PMP<gh_stars>1-10 /* SPDX-License-Identifier: MIT */ /* * libslirp * * Copyright (c) 2004-2008 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restr...
pmp-tool/PMP
src/qemu/src-pmp/hw/block/dataplane/xen-block.h
<reponame>pmp-tool/PMP<gh_stars>1-10 /* * Copyright (c) 2018 Citrix Systems Inc. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #ifndef HW_BLOCK_DATAPLANE_XEN_BLOCK_H #define HW_BLOCK_DATAPLANE_XEN_BLOCK_H #include "hw/block/bl...
pmp-tool/PMP
src/qemu/src-pmp/hw/microblaze/petalogix_ml605_mmu.c
<filename>src/qemu/src-pmp/hw/microblaze/petalogix_ml605_mmu.c /* * Model of Petalogix linux reference design targeting Xilinx Spartan ml605 * board. * * Copyright (c) 2011 <NAME> <<EMAIL>> * Copyright (c) 2011 PetaLogix * Copyright (c) 2009 <NAME>. * * Permission is hereby granted, free of charge, to any perso...
pmp-tool/PMP
src/qemu/src-pmp/tests/libqos/e1000e.h
<gh_stars>1-10 /* * libqos driver framework * * Copyright (c) 2018 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2 as published by the Free Software Foundation. * * This library is distributed in...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c
/* * Test program for MSA instruction NLOC.D * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, e...
pmp-tool/PMP
src/PMP/hook/hook.c
#define _GNU_SOURCE #include <dlfcn.h> #include <fcntl.h> #include <malloc.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <unistd.h> #define ALLOCATE_SIZE 0x400000 #define TARGET_LONG_SIZE 8 #define __NR_printmsg 328 static int (*real_open)(const char*, int, ...); static F...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_h.c
<filename>src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_h.c /* * Test program for MSA instruction ILVL.H * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms o...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/virtio/virtio-balloon.h
<reponame>pmp-tool/PMP<gh_stars>1-10 /* * Virtio Support * * Copyright IBM, Corp. 2007-2008 * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * */ #ifndef QEMU_VIRTIO_BALLOON_H ...
pmp-tool/PMP
src/qemu/src-pmp/hw/acpi/core.c
/* * ACPI implementation * * Copyright (c) 2006 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2 as published by the Free Software Foundation. * * This library is distributed in the hope that it will be use...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrlv.c
<filename>src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrlv.c /* * Test program for MIPS64R6 instruction DSRLV * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the...
pmp-tool/PMP
src/qemu/src-pmp/roms/seabios/src/fw/paravirt.h
<gh_stars>1-10 #ifndef __PV_H #define __PV_H #include "config.h" // CONFIG_* #include "biosvar.h" // GET_GLOBAL #include "romfile.h" // struct romfile_s // Types of paravirtualized platforms. #define PF_QEMU (1<<0) #define PF_XEN (1<<1) #define PF_KVM (1<<2) typedef struct QemuCfgDmaAccess { u32 co...
pmp-tool/PMP
src/qemu/src-pmp/nbd/nbd-internal.h
<filename>src/qemu/src-pmp/nbd/nbd-internal.h /* * NBD Internal Declarations * * Copyright (C) 2016 Red Hat, Inc. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #ifndef NBD_INTERNAL_H #define NBD_INTERNAL_H #include "block/nbd....
pmp-tool/PMP
src/qemu/src-pmp/include/qemu/typedefs.h
#ifndef QEMU_TYPEDEFS_H #define QEMU_TYPEDEFS_H /* A load of opaque types so that device init declarations don't have to pull in all the real definitions. */ /* Please keep this list in case-insensitive alphabetical order */ typedef struct AdapterInfo AdapterInfo; typedef struct AddressSpace AddressSpace; typedef...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/block/block.h
<reponame>pmp-tool/PMP /* * Common code for block device models * * Copyright (C) 2012 Red Hat, Inc. * Copyright (c) 2003-2008 <NAME> * * This work is licensed under the terms of the GNU GPL, version 2 or * later. See the COPYING file in the top-level directory. */ #ifndef HW_BLOCK_H #define HW_BLOCK_H #incl...
pmp-tool/PMP
src/qemu/src-pmp/hw/misc/puv3_pm.c
/* * Power Management device simulation in PKUnity SoC * * Copyright (C) 2010-2012 <NAME> * * 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, or any later version. * See the COPY...
pmp-tool/PMP
src/qemu/src-pmp/hw/rdma/rdma_backend_defs.h
<filename>src/qemu/src-pmp/hw/rdma/rdma_backend_defs.h /* * RDMA device: Definitions of Backend Device structures * * Copyright (C) 2018 Oracle * Copyright (C) 2018 Red Hat Inc * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or la...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/include/test_utils_128.h
/* * Header file for test utilities * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
pmp-tool/PMP
src/qemu/src-pmp/include/sysemu/whpx.h
<filename>src/qemu/src-pmp/include/sysemu/whpx.h<gh_stars>1-10 /* * QEMU Windows Hypervisor Platform accelerator (WHPX) support * * Copyright Microsoft, Corp. 2017 * * Authors: * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */...
pmp-tool/PMP
src/qemu/src-pmp/include/hw/xen/xen-bus.h
/* * Copyright (c) 2018 Citrix Systems Inc. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #ifndef HW_XEN_BUS_H #define HW_XEN_BUS_H #include "hw/xen/xen_common.h" #include "hw/sysbus.h" #include "qemu/notify.h" typedef void (...
pmp-tool/PMP
src/qemu/src-pmp/tests/nvme-test.c
/* * QTest testcase for NVMe * * Copyright (c) 2014 SUSE LINUX Products GmbH * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "qemu/units.h" #include "libqtest.h" #include "libqos/qgraph.h" #inclu...
pmp-tool/PMP
src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmul.c
<gh_stars>1-10 /* * Test program for MIPS64R6 instruction DMUL * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
pmp-tool/PMP
src/qemu/src-pmp/include/qemu/osdep.h
<reponame>pmp-tool/PMP /* * OS includes and handling of OS dependencies * * This header exists to pull in some common system headers that * most code in QEMU will want, and to fix up some possible issues with * it (missing defines, Windows weirdness, and so on). * * To avoid getting into possible circular includ...
pmp-tool/PMP
src/qemu/src-pmp/tests/virtio-scsi-test.c
/* * QTest testcase for VirtIO SCSI * * Copyright (c) 2014 SUSE LINUX Products GmbH * Copyright (c) 2015 Red Hat Inc. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "libqtest.h" #include "scsi/...
pmp-tool/PMP
src/qemu/src-pmp/include/sysemu/balloon.h
/* * Balloon * * Copyright IBM, Corp. 2008 * * Authors: * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * */ #ifndef QEMU_BALLOON_H #define QEMU_BALLOON_H #include "qapi/qapi-types-misc.h" typedef void (QEMUBall...
pmp-tool/PMP
src/qemu/src-pmp/tests/libqos/sdhci.h
<reponame>pmp-tool/PMP<gh_stars>1-10 /* * libqos driver framework * * Copyright (c) 2018 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2 as published by the Free Software Foundation. * * This lib...
pmp-tool/PMP
src/qemu/src-pmp/hw/xen/xen-bus.c
/* * Copyright (c) 2018 Citrix Systems Inc. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "qemu/main-loop.h" #include "qemu/uuid.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "hw/xen/xen...
pmp-tool/PMP
src/qemu/src-pmp/target/xtensa/exc_helper.c
/* * Copyright (c) 2011 - 2019, <NAME>, Open Source and Linux Lab. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * ...
pmp-tool/PMP
src/qemu/src-pmp/slirp/src/tcp_subr.c
/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 1982, 1986, 1988, 1990, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
pmp-tool/PMP
src/qemu/src-pmp/hw/dma/puv3_dma.c
<reponame>pmp-tool/PMP /* * DMA device simulation in PKUnity SoC * * Copyright (C) 2010-2012 <NAME> * * 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, or any later version. * Se...
pmp-tool/PMP
src/qemu/src-pmp/hw/usb/ccid-card-emulated.c
<reponame>pmp-tool/PMP /* * CCID Card Device. Emulated card. * * Copyright (c) 2011 Red Hat. * Written by <NAME>. * * This code is licensed under the GNU LGPL, version 2 or later. */ /* * It can be used to provide access to the local hardware in a non exclusive * way, or it can use certificates. It requires t...