arch/x86: Use 'enum cb_err'
Change-Id: I38e4b8c6adfaaa45377b2fbe0644285d21841cd1 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68369 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
committed by
Felix Singer
parent
70191da272
commit
9523e3b790
@@ -2,13 +2,13 @@
|
||||
#ifndef _RANDOM_H_
|
||||
#define _RANDOM_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <types.h>
|
||||
|
||||
/*
|
||||
* Generates a 32/64 bit random number respectively.
|
||||
* return 0 on success and -1 on error.
|
||||
*/
|
||||
int get_random_number_32(uint32_t *rand);
|
||||
int get_random_number_64(uint64_t *rand);
|
||||
enum cb_err get_random_number_32(uint32_t *rand);
|
||||
enum cb_err get_random_number_64(uint64_t *rand);
|
||||
|
||||
#endif /* _RANDOM_H_ */
|
||||
|
Reference in New Issue
Block a user