1
0
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:
Joerg Hoppe
2019-08-02 16:45:54 +02:00
parent 471df2d8ea
commit 974aeed8eb
89 changed files with 4350 additions and 3085 deletions

View File

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