forked from firesim/FireMarshal
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup tests and examples to remove duplicated or bloated code.
- Loading branch information
Nathan Pemberton
committed
Feb 23, 2019
1 parent
4fbcb2d
commit b35f3b2
Showing
33 changed files
with
34 additions
and
23,548 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,7 @@ | ||
#include <stdio.h> | ||
#include "util.h" | ||
#include "mmio.h" | ||
|
||
#define MTIME_ADDR 0x0200bff8L | ||
|
||
int main(void) | ||
{ | ||
/* unsigned long cycle; */ | ||
/* unsigned long time; */ | ||
/* */ | ||
/* do { */ | ||
/* time = reg_read64(MTIME_ADDR); */ | ||
/* } while (time < 100); */ | ||
/* */ | ||
/* cycle = rdcycle(); */ | ||
/* */ | ||
/* printf("%ld cycles per jiffy\n", cycle / time); */ | ||
printf("Hello World\n"); | ||
return 0; | ||
} |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
hello | ||
*.o |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/bash | ||
|
||
pushd ../bare | ||
make | ||
popd |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.