Move MADT table processing from ACPI to APIC

This commit is contained in:
josh committed 2023-10-25 21:11:21 -04:00
1 parent 2b87792c67
commit e32282f6f0
4 files changed
+74 -53

No files matched your search

+2 -2
View File
@@ -34,12 +34,12 @@ struct List(T)
/**
* Allow foreach iteration across a List.
*/
public int opApply(scope int delegate(ref T) dg)
public int opApply(scope int delegate(T *) dg)
{
List!T * entry = &this;
while (entry.next != null)
{
int result = dg(*entry.item);
int result = dg(entry.item);
if (result != 0)
{
return result;