projects
/
riscv-tests.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
debug: Don't halt out of reset. It's unrealistic. Use a program which loops (actually...
[riscv-tests.git]
/
debug
/
programs
/
infinite_loop.c
1
#include <stdio.h>
2
#include <string.h>
3
#include <stdint.h>
4
#include <stdlib.h>
5
6
7
int
main
()
8
{
9
10
volatile
int
forever
=
1
;
11
while
(
forever
);
12
13
return
1
;
14
}