mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-10 02:51:55 +00:00
Add SpinLock to IDE disk access.
This forces serialization of accesses. This driver needs to be redesigned.
This commit is contained in:
parent
dec5683e9c
commit
8f6998c902
Notes:
sideshowbarker
2024-07-19 18:35:39 +09:00
Author: https://github.com/awesomekling
Commit: 8f6998c902
7 changed files with 57 additions and 13 deletions
|
@ -129,6 +129,9 @@ bool Ext2FileSystem::initialize()
|
|||
return false;
|
||||
}
|
||||
|
||||
// Preheat the BGD cache.
|
||||
blockGroupDescriptor(0);
|
||||
|
||||
#ifdef EXT2_DEBUG
|
||||
for (unsigned i = 1; i <= m_blockGroupCount; ++i) {
|
||||
auto& group = blockGroupDescriptor(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue