Fix definitions for kernel context switch events

This commit is contained in:
Rodrigo Arias 2024-03-20 11:38:22 +01:00
parent f4296c66e4
commit d1312ff6e9
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Emulator events # Emulator events
This is a exhaustive list of the events recognized by the emulator. This is a exhaustive list of the events recognized by the emulator.
Built on Mar 13 2024. Built on Mar 20 2024.
## Model nanos6 ## Model nanos6
@ -185,9 +185,9 @@ List of events for the model *nodes* with identifier **`D`** at version `1.0.0`:
List of events for the model *kernel* with identifier **`K`** at version `1.0.0`: List of events for the model *kernel* with identifier **`K`** at version `1.0.0`:
<dl> <dl>
<dt><a id="KO[" href="#KO["><pre>KO[</pre></a></dt> <dt><a id="KCO" href="#KCO"><pre>KCO</pre></a></dt>
<dd>out of CPU</dd> <dd>out of CPU</dd>
<dt><a id="KO]" href="#KO]"><pre>KO]</pre></a></dt> <dt><a id="KCI" href="#KCI"><pre>KCI</pre></a></dt>
<dd>back to CPU</dd> <dd>back to CPU</dd>
</dl> </dl>

View File

@ -21,8 +21,8 @@ static const char model_name[] = "kernel";
enum { model_id = 'K' }; enum { model_id = 'K' };
static struct ev_decl model_evlist[] = { static struct ev_decl model_evlist[] = {
{ "KO[", "out of CPU" }, { "KCO", "out of CPU" },
{ "KO]", "back to CPU" }, { "KCI", "back to CPU" },
{ NULL, NULL }, { NULL, NULL },
}; };