mirror of
https://github.com/livingcomputermuseum/UniBone.git
synced 2026-05-05 15:34:57 +00:00
Big summer rework:
Interrupt and DMA system now handles multiple levels and multiple devices in parallel Interrupt Register changes synced with INTR transaction DL11 and KW11 clock pass the ZDLDI0 diagnostic. Devices can now be enabled and disabled individually.
This commit is contained in:
@@ -132,7 +132,7 @@ device_c::~device_c() {
|
||||
// only to be called in constructors
|
||||
void device_c::set_workers_count(unsigned workers_count) {
|
||||
workers.resize(workers_count);
|
||||
for (unsigned instance=0; instance < workers_count; instance++) {
|
||||
for (unsigned instance = 0; instance < workers_count; instance++) {
|
||||
device_worker_c *worker_instance = &workers[instance];
|
||||
worker_instance->device = this;
|
||||
worker_instance->instance = instance;
|
||||
|
||||
Reference in New Issue
Block a user