mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Need to call init_mem() to really initialize the MMIO range lookups.
This was working by accident because: - the RB_HEADs were being initialized to zero as part of BSS - the pthread_rwlock functions were implicitly initializing the lock object Obtained from: NetApp
This commit is contained in:
parent
f1280b3805
commit
0e2ca4e625
1 changed files with 1 additions and 0 deletions
|
|
@ -728,6 +728,7 @@ main(int argc, char *argv[])
|
|||
exit(1);
|
||||
}
|
||||
|
||||
init_mem();
|
||||
init_inout();
|
||||
init_pci(ctx);
|
||||
if (ioapic)
|
||||
|
|
|
|||
Loading…
Reference in a new issue