mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
Kernel: Assign Lock names in class member initializers.
This commit is contained in:
parent
2dc72bb297
commit
c3b7ace3e0
Notes:
sideshowbarker
2024-07-19 14:21:53 +09:00
Author: https://github.com/awesomekling
Commit: c3b7ace3e0
12 changed files with 11 additions and 18 deletions
|
@ -40,7 +40,6 @@ Retained<IDEDiskDevice> IDEDiskDevice::create()
|
|||
|
||||
IDEDiskDevice::IDEDiskDevice()
|
||||
: IRQHandler(IRQ_FIXED_DISK)
|
||||
, m_lock("IDEDiskDevice")
|
||||
{
|
||||
initialize();
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ private:
|
|||
bool read_sectors(dword start_sector, word count, byte* buffer);
|
||||
bool write_sectors(dword start_sector, word count, const byte* data);
|
||||
|
||||
Lock m_lock;
|
||||
Lock m_lock { "IDEDiskDevice" };
|
||||
word m_cylinders { 0 };
|
||||
word m_heads { 0 };
|
||||
word m_sectors_per_track { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue