L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
__vcpu-arch.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021, 2024 Kernkonzept GmbH.
3 * Author(s): Georg Kotheimer <georg.kotheimer@kernkonzept.com>
4 *
5 * License: see LICENSE.spdx (in this directory or the directories above)
6 */
11#pragma once
12
13#include <l4/sys/types.h>
14#include <l4/sys/utcb.h>
15
16enum
17{
25
26 L4_VCPU_STATE_SIZE = 0x200,
27 L4_VCPU_STATE_EXT_SIZE = L4_PAGESIZE,
28};
29
39
45
49typedef struct l4_vcpu_arch_state_t
50{
51 l4_umword_t host_tp;
52 l4_umword_t host_gp;
54
59typedef struct l4_vcpu_ipc_regs_t
60{
61 l4_msgtag_t tag; /* a0 */
62 l4_umword_t dest; /* a1 */
63 l4_umword_t timeout; /* a2 */
64 l4_umword_t label; /* a3 */
@ L4_VCPU_STATE_VERSION
Architecture-specific version ID.
Definition __vcpu-arch.h:25
unsigned long l4_umword_t
Unsigned machine word.
Definition l4int.h:40
#define L4_PAGESIZE
Minimal page size (in bytes).
Definition consts.h:410
L4_vcpu_state_offset
Offsets for vCPU state layouts.
Definition __vcpu-arch.h:36
@ L4_VCPU_OFFSET_EXT_INFOS
Offset where extended infos begin.
Definition __vcpu-arch.h:38
@ L4_VCPU_OFFSET_EXT_STATE
Offset where extended state begins.
Definition __vcpu-arch.h:37
Common L4 ABI Data Types.
UTCB definitions.
UTCB structure for exceptions.
Definition utcb.h:28
Architecture-specific vCPU state.
Definition __vcpu-arch.h:75
vCPU message registers.
Definition __vcpu-arch.h:84
vCPU registers.
Definition __vcpu-arch.h:56