bdk: add missing header guards

This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 19:38:45 +01:00
1 parent 6a43aa8c33
commit 378d38b850
4 files changed
+14 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2018 naehrwert
* Copyright (c) 2018-2025 CTCaer
* Copyright (c) 2018-2026 CTCaer
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
+7 -2
View File
@@ -15,10 +15,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <utils/types.h>
#ifndef _SMMU_H_
#define _SMMU_H_
#include <assert.h>
#define MC_SMMU_AVPC_ASID 0x23C
#define MC_SMMU_TSEC_ASID 0x294
@@ -70,3 +73,5 @@ void smmu_deinit_domain(u32 dev_base, u32 asid);
void smmu_domain_bypass(u32 dev_base, bool bypass);
void smmu_map(void *ptb, u32 iova, u64 iopa, u32 pages, u32 attr);
void smmu_map_huge(void *ptb, u32 iova, u64 iopa, u32 regions, u32 attr);
#endif