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)
|
// 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"
|
#include "CxbxCommon.h"
|
||||||
|
@ -43,10 +46,6 @@
|
||||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||||
#endif
|
#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
|
// 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
|
// XQEMU so it should be safe regardless
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
|
// Acknowledgment: XQEMU (GPLv2)
|
||||||
|
// https://xqemu.com/
|
||||||
|
|
||||||
#define _XBOXKRNL_DEFEXTRN_
|
#define _XBOXKRNL_DEFEXTRN_
|
||||||
|
|
||||||
#define LOG_PREFIX CXBXR_MODULE::HUB
|
#define LOG_PREFIX CXBXR_MODULE::HUB
|
||||||
|
@ -87,10 +90,6 @@ namespace xboxkrnl
|
||||||
#define PORT_C_RESET 20
|
#define PORT_C_RESET 20
|
||||||
|
|
||||||
|
|
||||||
// Acknowledgment: XQEMU (GPLv2)
|
|
||||||
// https://xqemu.com/
|
|
||||||
|
|
||||||
|
|
||||||
// To avoid including Xbox.h
|
// To avoid including Xbox.h
|
||||||
extern USBDevice* g_USB0;
|
extern USBDevice* g_USB0;
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
|
// Acknowledgment: XQEMU (GPLv2)
|
||||||
|
// https://xqemu.com/
|
||||||
|
|
||||||
#define _XBOXKRNL_DEFEXTRN_
|
#define _XBOXKRNL_DEFEXTRN_
|
||||||
|
|
||||||
#define LOG_PREFIX CXBXR_MODULE::OHCI
|
#define LOG_PREFIX CXBXR_MODULE::OHCI
|
||||||
|
@ -202,10 +205,6 @@ namespace xboxkrnl
|
||||||
#define OHCI_OFFSET_MASK 0xFFF
|
#define OHCI_OFFSET_MASK 0xFFF
|
||||||
|
|
||||||
|
|
||||||
// Acknowledgment: XQEMU (GPLv2)
|
|
||||||
// https://xqemu.com/
|
|
||||||
|
|
||||||
|
|
||||||
OHCI::OHCI(USBDevice* UsbObj)
|
OHCI::OHCI(USBDevice* UsbObj)
|
||||||
{
|
{
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
|
// Acknowledgment: XQEMU (GPLv2)
|
||||||
|
// https://xqemu.com/
|
||||||
|
|
||||||
#define _XBOXKRNL_DEFEXTRN_
|
#define _XBOXKRNL_DEFEXTRN_
|
||||||
|
|
||||||
#define LOG_PREFIX CXBXR_MODULE::USB
|
#define LOG_PREFIX CXBXR_MODULE::USB
|
||||||
|
@ -57,10 +60,6 @@ namespace xboxkrnl
|
||||||
#define SETUP_STATE_PARAM 4
|
#define SETUP_STATE_PARAM 4
|
||||||
|
|
||||||
|
|
||||||
// Acknowledgment: XQEMU (GPLv2)
|
|
||||||
// https://xqemu.com/
|
|
||||||
|
|
||||||
|
|
||||||
void USBDevice::Init()
|
void USBDevice::Init()
|
||||||
{
|
{
|
||||||
PCIBarRegister r;
|
PCIBarRegister r;
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
|
// Acknowledgment: some the functions present are from XQEMU (GPLv2)
|
||||||
|
// https://xqemu.com/
|
||||||
|
|
||||||
#ifndef USBCOMMON_H_
|
#ifndef USBCOMMON_H_
|
||||||
#define USBCOMMON_H_
|
#define USBCOMMON_H_
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
|
// Acknowledgment: XQEMU (GPLv2)
|
||||||
|
// https://xqemu.com/
|
||||||
|
|
||||||
#define _XBOXKRNL_DEFEXTRN_
|
#define _XBOXKRNL_DEFEXTRN_
|
||||||
|
|
||||||
#define LOG_PREFIX CXBXR_MODULE::XIDCTRL
|
#define LOG_PREFIX CXBXR_MODULE::XIDCTRL
|
||||||
|
@ -60,10 +63,6 @@ namespace xboxkrnl
|
||||||
#define XID_GET_CAPABILITIES 0x01
|
#define XID_GET_CAPABILITIES 0x01
|
||||||
|
|
||||||
|
|
||||||
// Acknowledgment: XQEMU (GPLv2)
|
|
||||||
// https://xqemu.com/
|
|
||||||
|
|
||||||
|
|
||||||
// To avoid including Xbox.h
|
// To avoid including Xbox.h
|
||||||
extern USBDevice* g_USB0;
|
extern USBDevice* g_USB0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue