-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #9, move Memory Types to enums #49
Conversation
@@ -302,7 +302,7 @@ | |||
/* Verify load/dump memory parameters */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
bool MM_VerifyLoadDumpParams(cpuaddr Address, uint8 MemType, uint32 SizeInBytes, uint8 VerifyType) | |||
bool MM_VerifyLoadDumpParams(cpuaddr Address, MM_MemType_t MemType, uint32 SizeInBytes, uint8 VerifyType) |
Check notice
Code scanning / CodeQL-coding-standard
Long function without assertion
@@ -139,7 +139,7 @@ | |||
/* Verify peek and poke command parameters */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
bool MM_VerifyPeekPokeParams(cpuaddr Address, uint8 MemType, uint8 SizeInBits) | |||
bool MM_VerifyPeekPokeParams(cpuaddr Address, MM_MemType_t MemType, uint8 SizeInBits) |
Check notice
Code scanning / CodeQL-coding-standard
Long function without assertion
@@ -302,7 +302,7 @@ | |||
/* Verify load/dump memory parameters */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
bool MM_VerifyLoadDumpParams(cpuaddr Address, uint8 MemType, uint32 SizeInBytes, uint8 VerifyType) | |||
bool MM_VerifyLoadDumpParams(cpuaddr Address, MM_MemType_t MemType, uint32 SizeInBytes, uint8 VerifyType) |
Check notice
Code scanning / CodeQL-coding-standard
Function too long
@@ -139,7 +139,7 @@ | |||
/* Verify peek and poke command parameters */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
bool MM_VerifyPeekPokeParams(cpuaddr Address, uint8 MemType, uint8 SizeInBits) | |||
bool MM_VerifyPeekPokeParams(cpuaddr Address, MM_MemType_t MemType, uint8 SizeInBits) |
Check notice
Code scanning / CodeQL-coding-standard
Function too long
Checklist (Please check before submitting)
Describe the contribution
Fix #9, created enum MM_MemType_t for memory types
Testing performed
Unit testing
Expected behavior changes
No impact to behavior
System(s) tested on
Contributor Info - All information REQUIRED for consideration of pull request
Haven Carlson - NASA