Add a method for blocking threads on ports.
Additionally add the first lock class since we are becoming more concurrent.
This commit is contained in:
parent
b6735d3175
commit
6986f534f8
13 changed files with 88 additions and 14 deletions
|
|
@ -31,6 +31,7 @@ AhciDevice::AhciDevice(AhciPort* port) : port_struct_(port) {
|
|||
command_list_->command_headers[0].command_table_base_addr & 0xFFF;
|
||||
command_table_ = reinterpret_cast<CommandTable*>(vaddr + ct_off);
|
||||
|
||||
port_struct_->interrupt_status = 0;
|
||||
port_struct_->interrupt_enable = 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue