forked from open-power/secvarctl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
guest/read: split print_variables into two functions
To avoid excessive nested scopes and indentation, split the ESD printing logic out into its own function print_esd_from_esl_buffer, and rename the previous function to print_esl_buffer. For the moment, print_esd_from_esl_buffer is declared as static and only used by print_esl_buffer, though this can be exposed as a helper for use elsewhere in the code if need be (though may want to change the input type to sv_esl_t and calculate signature_type inside). Signed-off-by: Eric Richter <[email protected]>
- Loading branch information
1 parent
245fc67
commit efdb02f
Showing
4 changed files
with
88 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters