Skip to content

Removed wrong inheritance of SCDP and SCBR from Disk class#948

Merged
uweseimet merged 18 commits intodevelopfrom
feature_issue_663
Oct 29, 2022
Merged

Removed wrong inheritance of SCDP and SCBR from Disk class#948
uweseimet merged 18 commits intodevelopfrom
feature_issue_663

Conversation

@uweseimet
Copy link
Copy Markdown
Contributor

@uweseimet uweseimet commented Oct 27, 2022

Besides repairing the broken inheritance (this fixes issues 189 and 663) I also fixed some TODOs.

@uweseimet uweseimet linked an issue Oct 27, 2022 that may be closed by this pull request
@uweseimet uweseimet marked this pull request as ready for review October 27, 2022 15:13
@uweseimet
Copy link
Copy Markdown
Contributor Author

I have to revert this PR to draft status because I may have found a bug.

@uweseimet uweseimet marked this pull request as draft October 28, 2022 09:03
@uweseimet uweseimet linked an issue Oct 28, 2022 that may be closed by this pull request
@uweseimet
Copy link
Copy Markdown
Contributor Author

Resolving the issue I found resulted in also resolving issue #189.

@uweseimet uweseimet marked this pull request as ready for review October 28, 2022 10:11
@sonarqubecloud
Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

41.3% 41.3% Coverage
0.0% 0.0% Duplication

return 16;
} else if (opcode == 0xA0) {
return 12;
} else if (opcode == 0x05 || (opcode >= 0x20 && opcode <= 0x7D)) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@uweseimet - What is opcode 5?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akuker I don't know, this is why I removed it. It might be something used in the past by the SASI controller.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me.

@uweseimet uweseimet merged commit 6e35577 into develop Oct 29, 2022
@uweseimet uweseimet deleted the feature_issue_663 branch October 29, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Daynaport and Bridge shall not be a subclass of Disk ScsiController should not know anything about SCBR and SCDP

2 participants