lib: Add doxygen style documentation for sbi_platform

This patch adds doxygen style documenation for struct sbi_platform
and related functions/macros/defines.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup Patel
2019-01-21 23:23:23 +05:30
committed by Anup Patel
parent 3fde8f3f64
commit 5c2ab99971
2 changed files with 248 additions and 23 deletions

View File

@@ -75,7 +75,7 @@ static void __noreturn sbi_trap_error(const char *msg,
* @param cause exception cause for lower privledge mode
* @param tval trap value for lower privledge mode
*
* Returns 0 on success and error code (< 0) on failure
* @return 0 on success and negative error code on failure
*/
int sbi_trap_redirect(struct sbi_trap_regs *regs,
struct sbi_scratch *scratch,