-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide catch-all error code to functions with paddr inputs
Functions which take physical addresses return SBI_ERR_INVALID_ADDRESS for address parameters or address parameter plus size parameter inputs which result in invalid physical addresses with respect to the platform's physical memory layout. Also provide these functions SBI_ERR_FAILED which may be used for addresses that the specific SBI implementation does not support. It should be less confusing to S-mode to get a generic error than an invalid address error for addresses which S-mode is sure are valid. Also add a new specification to return SBI_ERR_INVALID_ADDRESS for invalid physical addresses and non-normative text stating when SBI_ERR_FAILED may be returned instead. Signed-off-by: Andrew Jones <[email protected]>
- Loading branch information
1 parent
fc84df2
commit d906e39
Showing
5 changed files
with
23 additions
and
0 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
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