Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
FlashMLA
Commits
8b0ec03c
Commit
8b0ec03c
authored
Jan 25, 2026
by
zhanghj2
Browse files
适配s_trap
parent
7fdeaaa8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/utils.h
csrc/utils.h
+1
-1
No files found.
csrc/utils.h
View file @
8b0ec03c
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
do { \
do { \
if (not (cond)) { \
if (not (cond)) { \
printf("Assertion failed (%s:%d): %s\n", __FILE__, __LINE__, #cond); \
printf("Assertion failed (%s:%d): %s\n", __FILE__, __LINE__, #cond); \
asm
("trap;
"); \
asm
volatile("s_trap 0 \n\t
"); \
} \
} \
} while(0)
} while(0)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment