Merge pull request #1490 from PatrickvL/Acknowledgment_to_top

Move acknowledgments towards the top of each file
This commit is contained in:
Luke Usher 2018-10-24 15:28:09 +01:00 committed by GitHub
commit 2a16c71f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 20 deletions

View File

@ -34,6 +34,9 @@
// *
// ******************************************************************
// Acknowledgment: some the functions present are from XQEMU (GPLv2)
// https://xqemu.com/
// The intent of this file is to add general functions which are not kernel specific (for those CxbxKrnl.h should be used instead)
#include "CxbxCommon.h"
@ -44,10 +47,6 @@
#endif
// Acknowledgment: some the functions present are from XQEMU (GPLv2)
// https://xqemu.com/
// Disable a compiler warning relative to uint64_t -> uint32_t conversions in Muldiv64. This function is taken from
// XQEMU so it should be safe regardless
#pragma warning(push)

View File

@ -34,6 +34,9 @@
// *
// ******************************************************************
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
#define _XBOXKRNL_DEFEXTRN_
#define LOG_PREFIX CXBXR_MODULE::HUB
@ -87,10 +90,6 @@ namespace xboxkrnl
#define PORT_C_RESET 20
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
// To avoid including Xbox.h
extern USBDevice* g_USB0;

View File

@ -34,6 +34,9 @@
// *
// ******************************************************************
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
#define _XBOXKRNL_DEFEXTRN_
#define LOG_PREFIX CXBXR_MODULE::OHCI
@ -202,10 +205,6 @@ namespace xboxkrnl
#define OHCI_OFFSET_MASK 0xFFF
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
OHCI::OHCI(USBDevice* UsbObj)
{
int offset = 0;

View File

@ -34,6 +34,9 @@
// *
// ******************************************************************
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
#define _XBOXKRNL_DEFEXTRN_
#define LOG_PREFIX CXBXR_MODULE::USB
@ -57,10 +60,6 @@ namespace xboxkrnl
#define SETUP_STATE_PARAM 4
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
void USBDevice::Init()
{
PCIBarRegister r;

View File

@ -34,6 +34,9 @@
// *
// ******************************************************************
// Acknowledgment: some the functions present are from XQEMU (GPLv2)
// https://xqemu.com/
#ifndef USBCOMMON_H_
#define USBCOMMON_H_

View File

@ -34,6 +34,9 @@
// *
// ******************************************************************
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
#define _XBOXKRNL_DEFEXTRN_
#define LOG_PREFIX CXBXR_MODULE::XIDCTRL
@ -60,10 +63,6 @@ namespace xboxkrnl
#define XID_GET_CAPABILITIES 0x01
// Acknowledgment: XQEMU (GPLv2)
// https://xqemu.com/
// To avoid including Xbox.h
extern USBDevice* g_USB0;