mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Yet more coding style fixes.
This commit is contained in:
parent
f31e1ceab0
commit
aff89d2fd7
18 changed files with 197 additions and 199 deletions
|
@ -52,18 +52,18 @@ const char* IDEDiskDevice::class_name() const
|
|||
return "IDEDiskDevice";
|
||||
}
|
||||
|
||||
unsigned IDEDiskDevice::blockSize() const
|
||||
unsigned IDEDiskDevice::block_size() const
|
||||
{
|
||||
return 512;
|
||||
}
|
||||
|
||||
bool IDEDiskDevice::readBlock(unsigned index, byte* out) const
|
||||
bool IDEDiskDevice::read_block(unsigned index, byte* out) const
|
||||
{
|
||||
const_cast<IDEDiskDevice&>(*this).read_sectors(index, 1, out);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool IDEDiskDevice::writeBlock(unsigned index, const byte* data)
|
||||
bool IDEDiskDevice::write_block(unsigned index, const byte* data)
|
||||
{
|
||||
write_sectors(index, 1, data);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue