Skip to content

Commit 1a48b4b

Browse files
committed
Add fallback for PHRB_BRANCHES, suggested by @yegroup001 in #6
1 parent 57a7684 commit 1a48b4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/utils.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,8 @@ int virt_to_phys_user(uintptr_t *paddr, uintptr_t vaddr);
130130
#define PHR_BRANCHES 64
131131
#endif
132132

133+
#ifndef PHRB_BRANCHES
134+
#define PHRB_BRANCHES 64
135+
#endif
136+
133137
#endif

0 commit comments

Comments
 (0)