Add nosv create and destroy API subsystem states
This commit is contained in:
parent
b1ee2e7143
commit
9269dd7202
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Add `ovni_version_get()` function.
|
- Add `ovni_version_get()` function.
|
||||||
- Add the `ovniver` program to report the libovni version and commit.
|
- Add the `ovniver` program to report the libovni version and commit.
|
||||||
|
- Add nOS-V API subsystem events for `nosv_create()` and `nosv_destroy()`.
|
||||||
|
|
||||||
## [1.2.2] - 2022-07-26
|
## [1.2.2] - 2022-07-26
|
||||||
|
|
||||||
|
@ -58,6 +58,10 @@ VMA Ends allocating memory
|
|||||||
VMf Starts freeing memory
|
VMf Starts freeing memory
|
||||||
VMF Ends freeing memory
|
VMF Ends freeing memory
|
||||||
|
|
||||||
|
VAr Enters nosv_create()
|
||||||
|
VAR Exits nosv_create()
|
||||||
|
VAd Enters nosv_destroy()
|
||||||
|
VAD Exits nosv_destroy()
|
||||||
VAs Enters nosv_submit()
|
VAs Enters nosv_submit()
|
||||||
VAS Exits nosv_submit()
|
VAS Exits nosv_submit()
|
||||||
VAp Enters nosv_pause()
|
VAp Enters nosv_pause()
|
||||||
|
@ -41,6 +41,10 @@ static const int ss_table[256][256][3] = {
|
|||||||
['F'] = { CHSS, POP, ST_MEM_FREEING },
|
['F'] = { CHSS, POP, ST_MEM_FREEING },
|
||||||
},
|
},
|
||||||
['A'] = {
|
['A'] = {
|
||||||
|
['r'] = { CHSS, PUSH, ST_API_CREATE },
|
||||||
|
['R'] = { CHSS, POP, ST_API_CREATE },
|
||||||
|
['d'] = { CHSS, PUSH, ST_API_DESTROY },
|
||||||
|
['D'] = { CHSS, POP, ST_API_DESTROY },
|
||||||
['s'] = { CHSS, PUSH, ST_API_SUBMIT },
|
['s'] = { CHSS, PUSH, ST_API_SUBMIT },
|
||||||
['S'] = { CHSS, POP, ST_API_SUBMIT },
|
['S'] = { CHSS, POP, ST_API_SUBMIT },
|
||||||
['p'] = { CHSS, PUSH, ST_API_PAUSE },
|
['p'] = { CHSS, PUSH, ST_API_PAUSE },
|
||||||
|
@ -27,6 +27,8 @@ enum nosv_ss_values {
|
|||||||
ST_MEM_ALLOCATING,
|
ST_MEM_ALLOCATING,
|
||||||
ST_MEM_FREEING,
|
ST_MEM_FREEING,
|
||||||
ST_TASK_RUNNING,
|
ST_TASK_RUNNING,
|
||||||
|
ST_API_CREATE,
|
||||||
|
ST_API_DESTROY,
|
||||||
ST_API_SUBMIT,
|
ST_API_SUBMIT,
|
||||||
ST_API_PAUSE,
|
ST_API_PAUSE,
|
||||||
ST_API_YIELD,
|
ST_API_YIELD,
|
||||||
|
@ -84,6 +84,8 @@ static const struct pcf_value_label nosv_ss_values[] = {
|
|||||||
{ ST_MEM_ALLOCATING, "Memory: Allocating" },
|
{ ST_MEM_ALLOCATING, "Memory: Allocating" },
|
||||||
{ ST_MEM_FREEING, "Memory: Freeing" },
|
{ ST_MEM_FREEING, "Memory: Freeing" },
|
||||||
{ ST_TASK_RUNNING, "Task: Running" },
|
{ ST_TASK_RUNNING, "Task: Running" },
|
||||||
|
{ ST_API_CREATE, "API: Create" },
|
||||||
|
{ ST_API_DESTROY, "API: Destroy" },
|
||||||
{ ST_API_SUBMIT, "API: Submit" },
|
{ ST_API_SUBMIT, "API: Submit" },
|
||||||
{ ST_API_PAUSE, "API: Pause" },
|
{ ST_API_PAUSE, "API: Pause" },
|
||||||
{ ST_API_YIELD, "API: Yield" },
|
{ ST_API_YIELD, "API: Yield" },
|
||||||
|
Loading…
Reference in New Issue
Block a user