Merge pull request #1490 from PatrickvL/Acknowledgment_to_top
Move acknowledgments towards the top of each file
This commit is contained in:
commit
2a16c71f68
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
// *
|
||||
// ******************************************************************
|
||||
|
||||
// Acknowledgment: some the functions present are from XQEMU (GPLv2)
|
||||
// https://xqemu.com/
|
||||
|
||||
#ifndef USBCOMMON_H_
|
||||
#define USBCOMMON_H_
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue