This commit is contained in:
Jasmine Iwanek
2022-11-15 20:28:24 -05:00
parent 03c7e4e699
commit eb0429fddb
13 changed files with 2 additions and 15 deletions

View File

@@ -15,7 +15,6 @@
*
* Copyright 2022 Tiseno100.
* Copyright 2022 Jasmine Iwanek.
*
*/
#include <stdarg.h>

View File

@@ -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);
}

View File

@@ -13,7 +13,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
/* The conversion algorithms were taken by the pc87360.c driver of the Linux kernel.

View File

@@ -13,7 +13,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
#include <stdarg.h>

View File

@@ -13,7 +13,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
#include <stdarg.h>

View File

@@ -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

View File

@@ -13,7 +13,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
#ifndef EMU_INTEL_ICH2_GPIO_H

View File

@@ -13,7 +13,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
#ifndef EMU_INTEL_ICH2_TRAP_H

View File

@@ -13,7 +13,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
#ifndef EMU_NSC_366_H

View File

@@ -13,7 +13,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
#ifndef EMU_TCO_H

View File

@@ -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.

View File

@@ -19,7 +19,6 @@
* Copyright 2020 Melissa Goad.
* Copyright 2022 Jasmine Iwanek.
*/
#include <stdio.h>
#include <stdint.h>
#include <string.h>

View File

@@ -14,7 +14,6 @@
* Authors: Tiseno100,
*
* Copyright 2022 Tiseno100.
*
*/
#include <stdarg.h>