1
Fork 0
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:
Andreas Kling 2019-05-02 03:28:20 +02:00
parent 2dc72bb297
commit c3b7ace3e0
12 changed files with 11 additions and 18 deletions

View file

@ -40,7 +40,6 @@ Retained<IDEDiskDevice> IDEDiskDevice::create()
IDEDiskDevice::IDEDiskDevice()
: IRQHandler(IRQ_FIXED_DISK)
, m_lock("IDEDiskDevice")
{
initialize();
}

View file

@ -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 };