-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: create dedicated selftest directory
This directory contains bare-metal applications designed to test various functionalities provided by `libsgxstep` without the need for SGX enclaves. Also add some documentation cf #48
- Loading branch information
1 parent
fa2a4b5
commit 2734d9e
Showing
34 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# SGX-Step "Selftest" Applications | ||
|
||
This directory contains bare-metal applications designed to test various functionalities provided by `libsgxstep` without the need for SGX enclaves. | ||
|
||
## Directory Overview | ||
|
||
| Directory | Description | | ||
|------------|-----------------------------------------------------------------------------------------------------------| | ||
| `apic` | Microbenchmarks for timer interrupts via various Advanced Programmable Interrupt Controller (APIC) modes. | | ||
| `apic-ipi` | Microbenchmarks for APIC inter-processor interrupts. | | ||
| `cpl` | Changing the Current Privilege Level (CPL) through calland interrupt GDT/IDT gates. | | ||
| `idt` | Custom handlers for software and timer interrupts via the Interrupt Descriptor Table (IDT). | | ||
| `idt_isr_map` | Stresstest to demonstrate custom IDT handlers can be called across processes. | | ||
|
||
## Usage | ||
|
||
To run the selftest applications: | ||
|
||
1. Navigate to the desired directory. | ||
2. Compile the application: | ||
```bash | ||
make | ||
``` | ||
3. Run the application with: | ||
```bash | ||
sudo ./app | ||
``` | ||
|
||
Reference output is available in the respective README files within each subdirectory. | ||
|
||
**Note:** Any crashes during execution may indicate that your machine is not set up correctly for using SGX-Step. |
File renamed without changes.
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
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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