mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:28:11 +00:00
Kernel: Assign Lock names in class member initializers.
This commit is contained in:
parent
2dc72bb297
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