Move MADT table processing from ACPI to APIC
This commit is contained in:
1 parent
2b87792c67
commit
e32282f6f0
4 files changed
+74
-53
No files matched your search
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user