mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 09:58:19 -07:00
Updates
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
* Copyright 2022 Jasmine Iwanek.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
* Copyright 2022 Jasmine Iwanek.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
@@ -147,8 +146,7 @@ intel_ich2_pirq_update(int reset, int addr, uint8_t val)
|
||||
if (((val & 0x80) != 0x80) && !reset) { /* 86Box doesn't have an APIC yet. */
|
||||
intel_ich2_log("Intel ICH2 LPC: Update PIRQ %c to IRQ %d\n", '@' + pirq, val); /* Under normal circumstances on an APIC enabled motherboard*/
|
||||
pci_set_irq_routing(pirq, intel_ich2_pirq_table(val)); /* this remains disabled and the IRQ are handed by the APIC */
|
||||
} /* itself. */
|
||||
else if (reset)
|
||||
} else if (reset) /* itself. */
|
||||
for (int i = 1; i <= 8; i++)
|
||||
pci_set_irq_routing(i, PCI_IRQ_DISABLED);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
/* The conversion algorithms were taken by the pc87360.c driver of the Linux kernel.
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <86box/tco.h> /* TCO Header. Needed for the Intel ICH chipsets. */
|
||||
#include <86box/tco.h>
|
||||
|
||||
#define ACPI_TIMER_FREQ 3579545
|
||||
#define PM_FREQ ACPI_TIMER_FREQ
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef EMU_INTEL_ICH2_GPIO_H
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef EMU_INTEL_ICH2_TRAP_H
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef EMU_NSC_366_H
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef EMU_TCO_H
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
/* This is a hack because the 86Box SPD calculation algorithm is not made for the 815EP banking.
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
* Copyright 2020 Melissa Goad.
|
||||
* Copyright 2022 Jasmine Iwanek.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
* Authors: Tiseno100,
|
||||
*
|
||||
* Copyright 2022 Tiseno100.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
Reference in New Issue
Block a user