Allow secure to be slightly more optional
This commit is contained in:
parent
3e4de1ebd0
commit
79db2df228
2 changed files with 11 additions and 1 deletions
|
@ -16,7 +16,13 @@
|
|||
|
||||
#include <quantum.h>
|
||||
#include <xap.h>
|
||||
|
||||
#include "secure.h"
|
||||
#ifndef SECURE_ENABLE
|
||||
# define secure_get_status() SECURE_UNLOCKED
|
||||
# define secure_request_unlock()
|
||||
# define secure_lock()
|
||||
#endif
|
||||
|
||||
void xap_respond_success(xap_token_t token) {
|
||||
xap_send(token, XAP_RESPONSE_FLAG_SUCCESS, NULL, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue