BurritOS/test_programs
2023-03-08 13:02:03 +01:00
..
riscv_instructions Updated makefile 2023-03-08 13:02:03 +01:00
userlib Added libnachos 2023-03-08 13:00:38 +01:00
.gitignore Updated gitignore 2023-03-08 13:01:36 +01:00
Makefile Updated makefile 2023-03-08 13:02:03 +01:00
Makefile.config Automated objdumping of test programs 2023-03-01 13:44:48 +01:00
Makefile.dumps Automated objdumping of test programs 2023-03-01 13:44:48 +01:00
Makefile.tests Updated makefile 2023-03-08 13:02:03 +01:00
README.md Updated README.md 2023-03-01 13:46:19 +01:00

BurritOS Test programs

This folder contains small C programs pertaining to the assessment of the correctness of BurritOS' behavior.

Folder Structure

  • riscv_instructions: contains small programs for testing simulator instruction coverage.

How to build

In the Makefile.config file

Set the variables to the correct paths for the RISCV Newlib compilation toolchain. Simply changing the RISCV_PREFIX variable should do the trick. Do not forget to add a trailing slash.

Exporting objdumps

$ make dumps

Compiling programs

$ make programs

Cleaning

$ make clean

Output folder

Compilation results are located in the target/objdumps and target/programs directories.