contur2
Loading...
Searching...
No Matches
execution_context.h File Reference

ExecutionResult and related types for execution engine outcomes. More...

#include <cstddef>
#include "contur/core/types.h"
#include "contur/arch/interrupt.h"
Include dependency graph for execution_context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  contur::ExecutionResult
 Result of an execution burst returned by IExecutionEngine::execute(). More...

Namespaces

namespace  contur

Enumerations

enum class  contur::StopReason : std::uint8_t {
  contur::BudgetExhausted , contur::ProcessExited , contur::Error , contur::Interrupted ,
  contur::Halted
}
 Reason why the execution engine returned control to the dispatcher. More...

Detailed Description

ExecutionResult and related types for execution engine outcomes.

ExecutionResult is returned by IExecutionEngine::execute() to describe what happened during a burst of execution: how many ticks were consumed, why execution stopped, and what interrupt (if any) was raised.

Definition in file execution_context.h.