-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from VisorFolks/development
<1.3.2> Beryllium Release
- Loading branch information
Showing
62 changed files
with
1,891 additions
and
343 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,22 @@ | ||
# Cyancore root | ||
* @visorfolks/cc-arch-board | ||
|
||
# Akash Kollipara owns | ||
/mk/ @akashkollipara | ||
/src/arch/avr/ @akashkollipara | ||
/src/arch/riscv/ @akashkollipara | ||
/src/platform/mega_avr/ @akashkollipara | ||
/src/platform/sifive/ @akashkollipara | ||
/src/driver/ @akashkollipara | ||
/src/lib/ @akashkollipara | ||
/src/inlcude/ @akashkollipara | ||
/src/visor/ @akashkollipara | ||
|
||
# Mayuri Lokhande owns | ||
/src/arch/arm/ @MayuriLokhande | ||
/src/platform/pico/ @MayuriLokhande | ||
/src/visor/supervisor/ @MayuriLokhande | ||
|
||
# Pranjal Chanda owns | ||
/src/visor/ @pranjalchanda08 | ||
/src/lib/libposix/ @pranjalchanda08 |
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 |
---|---|---|
|
@@ -17,3 +17,4 @@ BOOTMSGS := 0 | |
EARLYCON_SERIAL := 1 | ||
CONSOLE_SERIAL := 1 | ||
OBRDLED_ENABLE := 1 | ||
TERRAKERN := 0 |
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 |
---|---|---|
|
@@ -17,3 +17,4 @@ BOOTMSGS := 0 | |
EARLYCON_SERIAL := 1 | ||
CONSOLE_SERIAL := 1 | ||
OBRDLED_ENABLE := 1 | ||
TERRAKERN := 0 |
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 |
---|---|---|
|
@@ -17,3 +17,4 @@ BOOTMSGS := 1 | |
EARLYCON_SERIAL := 1 | ||
CONSOLE_SERIAL := 0 | ||
OBRDLED_ENABLE := 1 | ||
TERRAKERN := 0 |
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 |
---|---|---|
|
@@ -15,3 +15,4 @@ PLATFORM := | |
SYSLOG_MEMBUF := | ||
EARLYCON_SERIAL := | ||
CONSOLE_SERIAL := | ||
TERRAKERN := |
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,8 @@ | ||
# ARM - 32M | ||
|
||
Home directory for ARM-32M CPU | ||
|
||
#### Supported Variants | ||
* M0 | ||
* M0+ | ||
* M4 |
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,61 @@ | ||
/* | ||
* CYANCORE LICENSE | ||
* Copyrights (C) 2022, Cyancore Team | ||
* | ||
* File Name : arch_verctors.c | ||
* Description : This file consists of array of vector table | ||
* specific to arm-m proile. | ||
* Primary Author : Akash Kollipara [[email protected]] | ||
* Organisation : Cyancore Core-Team | ||
*/ | ||
|
||
#include <status.h> | ||
|
||
extern uint8_t _start_start; | ||
extern void init(void); | ||
#define proto_irq_func(x) extern void int_##x(void) | ||
proto_irq_func(1); | ||
proto_irq_func(2); | ||
proto_irq_func(3); | ||
proto_irq_func(4); | ||
proto_irq_func(5); | ||
proto_irq_func(6); | ||
proto_irq_func(7); | ||
proto_irq_func(8); | ||
proto_irq_func(9); | ||
proto_irq_func(10); | ||
proto_irq_func(11); | ||
proto_irq_func(12); | ||
proto_irq_func(13); | ||
proto_irq_func(14); | ||
|
||
/** | ||
* arch_vectors - Interrupt vector table defined as per arm-m spec | ||
* @brief This is the array of interrupt/exception vectors defined | ||
* by arm-v6/v7 spec. This is generic implementation and upon any | ||
* irq/excep, these function will call common handler which will | ||
* deref based on irq id and call respective handler. | ||
*/ | ||
|
||
const void (*arch_vectors[N_IRQ+1](void)) _SECTION(".archvectors") = | ||
[ | ||
&_stack_start, // Stack start value has higher address of stack | ||
// with as assumption that stack grows towards | ||
// lower address | ||
|
||
&init, // CPU entry address | ||
&int_1, // IRQ 1 -> NMI | ||
&int_2, // IRQ 2 -> HardFault | ||
&int_3, // IRQ 3 -> M-Manage | ||
&int_4, // IRQ 4 -> BusFault | ||
&int_5, // IRQ 5 -> UsageFault | ||
&int_6, // IRQ 6 -> N/A | ||
&int_7, // IRQ 7 -> DBG info | ||
&int_8, // IRQ 8 -> Debugger handler | ||
&int_9, // IRQ 9 -> N/A | ||
&int_10, // IRQ 10 -> SVC | ||
&int_11, // IRQ 11 -> Debug Monitor | ||
&int_12, // IRQ 12 -> N/A | ||
&int_13, // IRQ 13 -> PendSV | ||
&int_14, // IRQ 14 -> SysTick | ||
]; |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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
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,7 @@ | ||
# RV32 | ||
|
||
Home directory for RV32 CPU | ||
|
||
#### Supported Variants | ||
* RV32I | ||
* RV32IMAC |
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,6 @@ | ||
# RV32 A-Extension | ||
_RISC-V Atomic extension support_ | ||
|
||
* This is a generic atomic extension layer. | ||
* This directory consists of sources that involve use of atomic instructions. | ||
* If any other directory uses same function or has same intended funcationality, make sure to use "weak" function definitions. |
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,7 @@ | ||
# RV32 I-Extension (baseline) | ||
|
||
* Supports machine, supervisor and undermode as of the commit date. | ||
* Hypervisor aka background supervisor spec is still under development. | ||
|
||
#### Supported execution levels | ||
* Terravisor (machine layer) |
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,10 @@ | ||
# RV32 I [Terravisor] | ||
|
||
* Home directory for RV32 Terravisor sources. | ||
* I being baseline for RV cores, this is a common directory. | ||
* For terravisor documentation please read [Terravisor README](../../../../../visor/terravisor/README.md) | ||
|
||
#### Highlights | ||
* Bootstrap routine is mostly in C | ||
* Reduced use of ASM | ||
* Exception handling is unified by updated "mtvec" reg with handler address |
Oops, something went wrong.