repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_w.c | /*
* Test program for MSA instruction DOTP_U.W
*
* 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 Free Software Foundation,... |
pmp-tool/PMP | src/qemu/src-pmp/target/i386/cpu.c | <filename>src/qemu/src-pmp/target/i386/cpu.c
/*
* i386 CPUID helper functions
*
* 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
* version 2 ... |
pmp-tool/PMP | src/qemu/src-pmp/roms/skiboot/hw/occ.c | /* Copyright 2013-2017 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 in ... |
pmp-tool/PMP | src/qemu/src-pmp/hw/ppc/ppc4xx_devs.c | /*
* QEMU PowerPC 4xx embedded processors shared devices emulation
*
* Copyright (c) 2007 <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 withou... |
pmp-tool/PMP | src/qemu/src-pmp/include/authz/pamacct.h | /*
* QEMU PAM 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
* version 2 of the License, or (at your option) an... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/virtio-pci.c | /*
* libqos virtio PCI driver
*
* 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 "libqos/virtio.h"
#include "libqos/virtio-pci.h"
#include "libqos... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srav.c | <filename>src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srav.c
/*
* Test program for MIPS64R6 instruction SRAV
*
* 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 t... |
pmp-tool/PMP | src/qemu/src-pmp/slirp/src/debug.h | /* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright (c) 1995 <NAME>.
*/
#ifndef DEBUG_H_
#define DEBUG_H_
#define DBG_CALL (1 << 0)
#define DBG_MISC (1 << 1)
#define DBG_ERROR (1 << 2)
#define DBG_TFTP (1 << 3)
extern int slirp_debug;
#define DEBUG_CALL(fmt, ...) do { \
if (G_UNLIKELY(sli... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_b.c | /*
* Test program for MSA instruction SUBS_S.B
*
* 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 Free Software Foundation,... |
pmp-tool/PMP | src/qemu/src-pmp/tests/virtio-test.c | /*
* QTest testcase for virtio
*
* Copyright (c) 2018 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 "libqos/qgraph.h"
#include "libqos/pci.h"
/* Tests only ... |
pmp-tool/PMP | src/qemu/src-pmp/util/vfio-helpers.c | /*
* VFIO utility
*
* Copyright 2016 - 2018 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 <sys/ioctl.h>
#include <linux/vfio.h>
#include "qapi... |
pmp-tool/PMP | src/qemu/src-pmp/block/qed-table.c | <filename>src/qemu/src-pmp/block/qed-table.c
/*
* QEMU Enhanced Disk Format Table I/O
*
* Copyright IBM, Corp. 2010
*
* Authors:
* <NAME> <<EMAIL>>
* <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.
*
... |
pmp-tool/PMP | src/qemu/src-pmp/hw/virtio/vhost.c | <gh_stars>1-10
/*
* vhost support
*
* Copyright Red Hat, Inc. 2010
*
* 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.
*
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, versi... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c | <filename>src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c
/*
* Test program for MSA instruction ADDS_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 unde... |
pmp-tool/PMP | src/qemu/src-pmp/include/hw/ppc/openpic.h | <reponame>pmp-tool/PMP
#ifndef OPENPIC_H
#define OPENPIC_H
#include "qemu-common.h"
#include "hw/sysbus.h"
#include "hw/qdev-core.h"
#include "qom/cpu.h"
#define MAX_CPU 32
#define MAX_MSI 8
#define VID 0x03 /* MPIC version ID */
/* OpenPIC have 5 outputs per CPU connected and one IRQ out single outp... |
pmp-tool/PMP | src/qemu/src-pmp/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.inc.c | <gh_stars>1-10
/* Xtensa configuration-specific ISA information.
Copyright 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pu... |
pmp-tool/PMP | src/qemu/src-pmp/target/ppc/translate/vmx-impl.inc.c | /*
* translate/vmx-impl.c
*
* Altivec/VMX translation
*/
/*** Altivec vector extension ***/
/* Altivec registers moves */
static inline TCGv_ptr gen_avr_ptr(int reg)
{
TCGv_ptr r = tcg_temp_new_ptr();
tcg_gen_addi_ptr(r, cpu_env, avr_full_offset(reg));
retu... |
pmp-tool/PMP | src/qemu/src-pmp/include/hw/ppc/xive.h | /*
* QEMU PowerPC XIVE interrupt controller model
*
*
* The POWER9 processor comes with a new interrupt controller, called
* XIVE as "eXternal Interrupt Virtualization Engine".
*
* = Overall architecture
*
*
* XIVE Interrupt Controller
* +------------------------------------+ I... |
pmp-tool/PMP | src/qemu/src-pmp/disas.c | /* General "disassemble this chunk" code. Used for debugging. */
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "elf.h"
#include "cpu.h"
#include "disas/disas.h"
#include "disas/capstone.h"
typedef struct CPUDebug {
struct disassemble_info info;
CPUState *cpu;
} CPUDebug;
/... |
pmp-tool/PMP | src/qemu/src-pmp/target/ppc/monitor.c | <gh_stars>1-10
/*
* QEMU monitor
*
* Copyright (c) 2003-2004 <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... |
pmp-tool/PMP | src/qemu/src-pmp/hw/arm/musca.c | <reponame>pmp-tool/PMP
/*
* Arm Musca-B1 test chip board emulation
*
* Copyright (c) 2019 Linaro Limited
* Written by <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 or
* (at your option) any later version.
*/
... |
pmp-tool/PMP | src/qemu/src-pmp/hw/virtio/virtio-pci.h | <reponame>pmp-tool/PMP
/*
* Virtio PCI Bindings
*
* Copyright IBM, Corp. 2007
* Copyright (c) 2009 CodeSourcery
*
* 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 Q... |
pmp-tool/PMP | src/qemu/src-pmp/target/tricore/translate.c | <reponame>pmp-tool/PMP
/*
* TriCore emulation for qemu: main translation routines.
*
* Copyright (c) 2013-2014 <NAME> C-Lab/University Paderborn
*
* 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 Soft... |
pmp-tool/PMP | src/qemu/src-pmp/include/hw/arm/xlnx-versal.h | <reponame>pmp-tool/PMP
/*
* Model of the Xilinx Versal
*
* Copyright (c) 2018 Xilinx Inc.
* Written by <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 or
* (at your option) any later version.
*/
#ifndef XLNX_VERSA... |
pmp-tool/PMP | src/qemu/src-pmp/backends/cryptodev-vhost-user.c | <gh_stars>1-10
/*
* QEMU Cryptodev backend for QEMU cipher APIs
*
* Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.
*
* Authors:
* Gonglei <<EMAIL>>
*
* 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 ... |
pmp-tool/PMP | src/qemu/src-pmp/target/s390x/diag.c | /*
* S390x DIAG instruction helper functions
*
* 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 License, or
* (at your option) any later version.
*
* This program ... |
pmp-tool/PMP | src/qemu/src-pmp/qapi/string-input-visitor.c | /*
* String parsing visitor
*
* Copyright Red Hat, Inc. 2012-2016
*
* Author: <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.
*/
#include "qemu/osdep.h"
#include "qapi/error.h"
... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c | /*
* Test program for MSA instruction HADD_U.D
*
* 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/include/hw/timer/pl031.h | <filename>src/qemu/src-pmp/include/hw/timer/pl031.h
/*
* ARM AMBA PrimeCell PL031 RTC
*
* Copyright (c) 2007 CodeSourcery
*
* This file 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.
*
* Co... |
pmp-tool/PMP | src/qemu/src-pmp/target/riscv/cpu.c | <gh_stars>1-10
/*
* QEMU RISC-V CPU
*
* Copyright (c) 2016-2017 <NAME>, <EMAIL>
* Copyright (c) 2017-2018 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 So... |
pmp-tool/PMP | src/qemu/src-pmp/hw/misc/tz-mpc.c | /*
* ARM AHB5 TrustZone Memory Protection Controller emulation
*
* Copyright (c) 2018 Linaro Limited
* Written by <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 or
* (at your option) any later version.
*/
#includ... |
pmp-tool/PMP | src/qemu/src-pmp/hw/core/empty_slot.c | <gh_stars>1-10
/*
* QEMU Empty Slot
*
* The empty_slot device emulates known to a bus but not connected devices.
*
* Copyright (c) 2010 <NAME>
*
* This code is licensed under the GNU GPL v2 or (at your option) any later
* version.
*/
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "... |
pmp-tool/PMP | src/qemu/src-pmp/tests/usb-hcd-ohci-test.c | <reponame>pmp-tool/PMP<gh_stars>1-10
/*
* QTest testcase for USB OHCI controller
*
* Copyright (c) 2014 HUAWEI TECHNOLOGIES CO., LTD.
*
* 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"
... |
pmp-tool/PMP | src/qemu/src-pmp/hw/arm/versatilepb.c | <reponame>pmp-tool/PMP<filename>src/qemu/src-pmp/hw/arm/versatilepb.c
/*
* ARM Versatile Platform/Application Baseboard System emulation.
*
* Copyright (c) 2005-2007 CodeSourcery.
* Written by <NAME>
*
* This code is licensed under the GPL.
*/
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-commo... |
pmp-tool/PMP | src/qemu/src-pmp/hw/virtio/virtio-rng-pci.c | /*
* Virtio rng PCI Bindings
*
* Copyright 2012 Red Hat, Inc.
* Copyright 2012 <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 "virtio-pci.h"
#... |
pmp-tool/PMP | src/qemu/src-pmp/hw/usb/combined-packet.c | <filename>src/qemu/src-pmp/hw/usb/combined-packet.c
/*
* QEMU USB packet combining code (for input pipelining)
*
* Copyright(c) 2012 Red Hat, Inc.
*
* Red Hat Authors:
* <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... |
pmp-tool/PMP | src/qemu/src-pmp/target/s390x/vec_helper.c | /*
* QEMU TCG support -- s390x vector support instructions
*
* Copyright (C) 2019 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 "qemu-common.h"
#... |
pmp-tool/PMP | src/qemu/src-pmp/target/xtensa/op_helper.c | /*
* Copyright (c) 2011, <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
* no... |
pmp-tool/PMP | src/qemu/src-pmp/slirp/src/vmstate.c | /* SPDX-License-Identifier: BSD-3-Clause */
/*
* VMState interpreter
*
* Copyright (c) 2009-2018 Red Hat Inc
*
* Authors:
* <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... |
pmp-tool/PMP | src/qemu/src-pmp/audio/wavaudio.c | /*
* QEMU WAV audio driver
*
* Copyright (c) 2004-2005 <NAME> (malc)
*
* 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
* t... |
pmp-tool/PMP | src/qemu/src-pmp/target/hppa/translate.c | /*
* HPPA emulation cpu translation for qemu.
*
* Copyright (c) 2016 <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 as published by the Free Software Foundation; either
* version 2 of the License, or (at y... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/qgraph_internal.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/interleave/test_msa_ilvev_h.c | <filename>src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_h.c
/*
* Test program for MSA instruction ILVEV.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... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/virtio-mmio.c | /*
* libqos virtio MMIO driver
*
* 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 "libqos/virtio.h"
#include "libqos/virtio-mmio.h"
#include "libq... |
pmp-tool/PMP | src/qemu/src-pmp/target/i386/hvf/x86_decode.c | <reponame>pmp-tool/PMP
/*
* Copyright (C) 2016 Veertu Inc,
* Copyright (C) 2017 Google Inc,
*
* This program 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 ... |
pmp-tool/PMP | src/qemu/src-pmp/hw/timer/twl92230.c | /*
* TI TWL92230C energy-management companion device for the OMAP24xx.
* Aka. Menelaus (N4200 MENELAUS1_V2.2)
*
* Copyright (C) 2008 Nokia Corporation
* Written 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 as
... |
pmp-tool/PMP | src/qemu/src-pmp/io/task.c | /*
* QEMU I/O task
*
* Copyright (c) 2015 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 option) any later version.... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulr_q_h.c | /*
* Test program for MSA instruction MULR_Q.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 Free Software Foundation,... |
pmp-tool/PMP | src/qemu/src-pmp/migration/postcopy-ram.c | <reponame>pmp-tool/PMP<gh_stars>1-10
/*
* Postcopy migration for RAM
*
* Copyright 2013-2015 Red Hat, Inc. and/or its affiliates
*
* 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.
*
*/
/*
* Postc... |
pmp-tool/PMP | src/qemu/src-pmp/block/throttle-groups.c | /*
* QEMU block throttling group infrastructure
*
* Copyright (C) Nodalink, EURL. 2014
* Copyright (C) Igalia, S.L. 2015
*
* Authors:
* <NAME> <<EMAIL>>
* <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
*... |
pmp-tool/PMP | src/qemu/src-pmp/block/copy-on-read.c | <gh_stars>1-10
/*
* Copy-on-read filter block driver
*
* Copyright (c) 2018 Red Hat, Inc.
*
* Author:
* <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 vers... |
pmp-tool/PMP | src/qemu/src-pmp/linux-user/config.h | /* PMP Modification - Begin */
#include "config.inc"
#define __NR_setpid 326
#define __NR_setflag 327
#define __NR_printmsg 328
#define __NR_validaddr 329
#define __NR_killfamily 330
extern target_ulong program_code_offset, program_code_start, program_code_end;
extern unsigned int index_path_scheme;
extern GSList *p... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/aarch64-xlnx-zcu102-machine.c | <reponame>pmp-tool/PMP
/*
* 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 distri... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_h.c | /*
* Test program for MSA instruction DIV_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 Free Software Foundation, ... |
pmp-tool/PMP | src/qemu/src-pmp/target/xtensa/mmu_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/block/qed.c | /*
* QEMU Enhanced Disk Format
*
* Copyright IBM, Corp. 2010
*
* Authors:
* <NAME> <<EMAIL>>
* <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 "block/qdict.h"
#... |
pmp-tool/PMP | src/qemu/src-pmp/contrib/vhost-user-scsi/vhost-user-scsi.c | <filename>src/qemu/src-pmp/contrib/vhost-user-scsi/vhost-user-scsi.c
/*
* vhost-user-scsi sample application
*
* Copyright (c) 2016 Nutanix Inc. All rights reserved.
*
* Author:
* <NAME> <<EMAIL>>
*
* This work is licensed under the terms of the GNU GPL, version 2 only.
* See the COPYING file in the top-level... |
pmp-tool/PMP | src/qemu/src-pmp/tests/vmgenid-test.c | /*
* QTest testcase for VM Generation ID
*
* Copyright (c) 2016 Red Hat, Inc.
* Copyright (c) 2017 Skyport Systems
*
* 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/bitmap.h"
#include "qemu/... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c | /*
* Test program for MSA instruction ADDS_S.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... |
pmp-tool/PMP | src/qemu/src-pmp/hw/net/e1000.c | <reponame>pmp-tool/PMP
/*
* QEMU e1000 emulation
*
* Software developer's manual:
* http://download.intel.com/design/network/manuals/8254x_GBe_SDM.pdf
*
* <NAME>, Tutis Systems Ltd. for Qumranet Inc.
* Copyright (c) 2008 Qumranet
* Based on work done by:
* Copyright (c) 2007 <NAME>
* Copyright (c) 2004 <NAME>... |
pmp-tool/PMP | src/qemu/src-pmp/roms/SLOF/lib/libhvcall/brokensc1.c | <filename>src/qemu/src-pmp/roms/SLOF/lib/libhvcall/brokensc1.c
#include <stdint.h>
#include <stddef.h>
#include <cpu.h>
#include "libhvcall.h"
#include "byteorder.h"
// #define DEBUG_PATCHERY
#define H_SET_DABR 0x28
#define INS_SC1 0x44000022
#define INS_SC1_REPLACE 0x7c000268
extern volatile uint32_t sc1ins;
stat... |
pmp-tool/PMP | src/qemu/src-pmp/hw/ppc/spapr_irq.c | <filename>src/qemu/src-pmp/hw/ppc/spapr_irq.c
/*
* QEMU PowerPC sPAPR IRQ interface
*
* Copyright (c) 2018, 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 "qemu/error-report... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_w.c | <filename>src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_w.c<gh_stars>1-10
/*
* Test program for MSA instruction ILVL.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 und... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/virtio-pci.h | /*
* libqos virtio PCI definitions
*
* 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.
*/
#ifndef LIBQOS_VIRTIO_PCI_H
#define LIBQOS_VIRTIO_PCI_H
#include "libqos/virtio.h"
#include "libqos/pci.h"
#includ... |
pmp-tool/PMP | src/qemu/src-pmp/migration/migration.h | <filename>src/qemu/src-pmp/migration/migration.h<gh_stars>1-10
/*
* QEMU live migration
*
* 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_MIGRATION_H
#def... |
pmp-tool/PMP | src/qemu/src-pmp/slirp/src/misc.h | /* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright (c) 1995 <NAME>.
*/
#ifndef MISC_H
#define MISC_H
#include "libslirp.h"
struct gfwd_list {
SlirpWriteCb write_cb;
void *opaque;
struct in_addr ex_addr; /* Server address */
int ex_fport; /* Port to telnet to */
char *ex_exec; ... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_b.c | <gh_stars>1-10
/*
* Test program for MSA instruction DIV_S.B
*
* 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 Free Softwa... |
pmp-tool/PMP | src/qemu/src-pmp/target/s390x/vec.h | <reponame>pmp-tool/PMP<filename>src/qemu/src-pmp/target/s390x/vec.h<gh_stars>1-10
/*
* QEMU TCG support -- s390x vector utilitites
*
* Copyright (C) 2019 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... |
pmp-tool/PMP | src/qemu/src-pmp/hw/pci/pcie.c | /*
* pcie.c
*
* Copyright (c) 2010 <NAME> <yamahata at valinux co jp>
* VA Linux Systems Japan K.K.
*
* 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 ... |
pmp-tool/PMP | src/qemu/src-pmp/qga/commands-win32.c | <reponame>pmp-tool/PMP
/*
* QEMU Guest Agent win32-specific command implementations
*
* Copyright IBM Corp. 2012
*
* Authors:
* <NAME> <<EMAIL>>
* <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.
*/... |
pmp-tool/PMP | src/qemu/src-pmp/linux-user/qemu.h | <gh_stars>1-10
#ifndef QEMU_H
#define QEMU_H
#include "hostdep.h"
#include "cpu.h"
#include "exec/exec-all.h"
#include "exec/cpu_ldst.h"
#undef DEBUG_REMAP
#ifdef DEBUG_REMAP
#endif /* DEBUG_REMAP */
#include "exec/user/abitypes.h"
#include "exec/user/thunk.h"
#include "syscall_defs.h"
#include "target_syscall.h"
#... |
pmp-tool/PMP | src/qemu/src-pmp/target/riscv/pmp.c | /*
* QEMU RISC-V PMP (Physical Memory Protection)
*
* Author: <NAME>, <EMAIL>
* <NAME>, <EMAIL>
*
* This provides a RISC-V Physical Memory Protection implementation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public Lic... |
pmp-tool/PMP | src/qemu/src-pmp/roms/skiboot/platforms/astbmc/p9dsu.c | <gh_stars>1-10
/* Copyright 2017 Supermicro Inc.
* Copyright 2018 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 ... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_b.c | <gh_stars>1-10
/*
* Test program for MSA instruction DIV_U.B
*
* 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 Free Softwa... |
pmp-tool/PMP | src/qemu/src-pmp/hw/xtensa/mx_pic.c | <reponame>pmp-tool/PMP
/*
* Copyright (c) 2013 - 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 t... |
pmp-tool/PMP | src/qemu/src-pmp/target/riscv/translate.c | <reponame>pmp-tool/PMP
/*
* RISC-V emulation for qemu: main translation routines.
*
* Copyright (c) 2016-2017 <NAME>, <EMAIL>
*
* 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 F... |
pmp-tool/PMP | src/qemu/src-pmp/include/authz/simple.h | <reponame>pmp-tool/PMP<gh_stars>1-10
/*
* 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
* version ... |
pmp-tool/PMP | src/qemu/src-pmp/hw/tpm/tpm_ppi.c | /*
* tpm_ppi.c - TPM Physical Presence Interface
*
* Copyright (C) 2018 IBM Corporation
*
* 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 "qapi/error.h"
#inc... |
pmp-tool/PMP | src/qemu/src-pmp/hw/smbios/smbios_type_38.c | <gh_stars>1-10
/*
* IPMI SMBIOS firmware handling
*
* Copyright (c) 2015,2016 <NAME>, MontaVista Software, LLC
*
* 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 "hw/ipmi/ipmi.h"
#include "hw/firmwa... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_bitswap.c | /*
* Test program for MIPS64R6 instruction BITSWAP
*
* 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 Foundat... |
pmp-tool/PMP | src/qemu/src-pmp/tests/boot-serial-test.c | /*
* Test serial output of some machines.
*
* Copyright 2016 <NAME>, 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.
*
* This test is used to check that the serial output of the firmware
* (that we provide for some ma... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/x86_64_pc-machine.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/include/hw/block/flash.h | #ifndef HW_FLASH_H
#define HW_FLASH_H
/* NOR flash devices */
#include "exec/memory.h"
/* pflash_cfi01.c */
#define TYPE_PFLASH_CFI01 "cfi.pflash01"
#define PFLASH_CFI01(obj) \
OBJECT_CHECK(PFlashCFI01, (obj), TYPE_PFLASH_CFI01)
typedef struct PFlashCFI01 PFlashCFI01;
PFlashCFI01 *pflash_cfi01_register(hwaddr... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/include/wrappers_msa.h | /*
* Header file for wrappers around MSA instructions assembler invocations
*
* 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
* ... |
pmp-tool/PMP | src/qemu/src-pmp/disas/arm.c | <filename>src/qemu/src-pmp/disas/arm.c<gh_stars>1-10
/* Instruction printing code for the ARM
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
2007, Free Software Foundation, Inc.
Contributed by <NAME> (<EMAIL>)
Modification by <NAME> (<EMAIL>)
This file is part of libopcodes.
... |
pmp-tool/PMP | src/qemu/src-pmp/roms/openbios/drivers/lsi.c | /*
* OpenBIOS LSI driver
*
* Copyright (C) 2018 <NAME> <<EMAIL>>
*
* Based upon drivers/esp.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2
*
*/
#include "config.h"
#include "libc/byteorder.h"
#include ... |
pmp-tool/PMP | src/qemu/src-pmp/tests/bios-tables-test.c | <filename>src/qemu/src-pmp/tests/bios-tables-test.c
/*
* Boot order test cases.
*
* Copyright (c) 2013 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"
#in... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c | <reponame>pmp-tool/PMP
/*
* Test program for MSA instruction HADD_S.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 b... |
pmp-tool/PMP | src/qemu/src-pmp/hw/i2c/smbus_master.c | <reponame>pmp-tool/PMP
/*
* QEMU SMBus host (master) emulation.
*
* This code emulates SMBus transactions from the master point of view,
* it runs the individual I2C transaction to do the SMBus protocol
* over I2C.
*
* Copyright (c) 2007 CodeSourcery.
* Written by <NAME>
*
* This code is licensed under the LG... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_b.c | <filename>src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_b.c
/*
* Test program for MSA instruction ILVEV.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... |
pmp-tool/PMP | src/qemu/src-pmp/hw/i386/pc_piix.c | <reponame>pmp-tool/PMP<filename>src/qemu/src-pmp/hw/i386/pc_piix.c
/*
* QEMU PC System Emulator
*
* Copyright (c) 2003-2004 <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 wit... |
pmp-tool/PMP | src/qemu/src-pmp/hw/gpio/nrf51_gpio.c | <gh_stars>1-10
/*
* nRF51 System-on-Chip general purpose input/output register definition
*
* Reference Manual: http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf
* Product Spec: http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.1.pdf
*
* Copyright 2018 <NAME> <<EMAIL>>
*
* This code is licensed under the... |
pmp-tool/PMP | src/qemu/src-pmp/ui/egl-headless.c | #include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "ui/console.h"
#include "ui/egl-helpers.h"
#include "ui/egl-context.h"
#include "ui/shader.h"
typedef struct egl_dpy {
DisplayChangeListener dcl;
DisplaySurface *ds;
QemuGLShader *gls;
egl_fb guest_fb;
egl_fb curso... |
pmp-tool/PMP | src/qemu/src-pmp/slirp/src/misc.c | <reponame>pmp-tool/PMP
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright (c) 1995 <NAME>.
*/
#include "slirp.h"
inline void
insque(void *a, void *b)
{
register struct quehead *element = (struct quehead *) a;
register struct quehead *head = (struct quehead *) b;
element->qh_link = head->qh_link;
head->q... |
pmp-tool/PMP | src/qemu/src-pmp/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h | <gh_stars>1-10
/** @file
Expose the address(es) of the ACPI RSD PTR table(s) in a MB-aligned structure
to the hypervisor.
The hypervisor locates the MB-aligned structure based on the signature GUID
that is at offset 0 in the structure. Once the RSD PTR address(es) are
retrieved, the hypervisor may perform va... |
pmp-tool/PMP | src/qemu/src-pmp/include/hw/xen/xen_common.h | #ifndef QEMU_HW_XEN_COMMON_H
#define QEMU_HW_XEN_COMMON_H
/*
* If we have new enough libxenctrl then we do not want/need these compat
* interfaces, despite what the user supplied cflags might say. They
* must be undefined before including xenctrl.h
*/
#undef XC_WANT_COMPAT_EVTCHN_API
#undef XC_WANT_COMPAT_GNTTAB_A... |
pmp-tool/PMP | src/qemu/src-pmp/hw/hppa/dino.c | <reponame>pmp-tool/PMP
/*
* HP-PARISC Dino PCI chipset emulation.
*
* (C) 2017 by <NAME> <<EMAIL>>
*
* This work is licensed under the GNU GPL license version 2 or later.
*
* Documentation available at:
* https://parisc.wiki.kernel.org/images-parisc/9/91/Dino_ers.pdf
* https://parisc.wiki.kernel.org/images-par... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clo.c | <reponame>pmp-tool/PMP
/*
* Test program for MIPS64R6 instruction CLO
*
* 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 Fr... |
pmp-tool/PMP | src/qemu/src-pmp/hw/display/virtio-gpu.c | /*
* Virtio GPU Device
*
* Copyright Red Hat, Inc. 2013-2014
*
* Authors:
* <NAME> <<EMAIL>>
* <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/units.h"
#include... |
pmp-tool/PMP | src/qemu/src-pmp/tests/display-vga-test.c | <reponame>pmp-tool/PMP
/*
* QTest testcase for vga cards
*
* Copyright (c) 2014 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"
static void pci_cirrus(void)
{
qtest... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.