apusys_security_ctrl_perm.h 476 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2024, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef SECURITY_CTRL_PERM_H
  7. #define SECURITY_CTRL_PERM_H
  8. #include "apusys_security_ctrl_perm_plat.h"
  9. enum apusys_sec_level {
  10. SEC_LEVEL_NORMAL,
  11. SEC_LEVEL_SECURE,
  12. SEC_LEVEL_SAPU,
  13. SEC_LEVEL_AOV,
  14. SEC_LEVEL_NUM,
  15. };
  16. int sec_set_rv_dns(void);
  17. int sec_get_dns(enum apusys_dev_type dev_type, enum apusys_sec_level sec_level,
  18. uint8_t *domain, uint8_t *ns);
  19. #endif