SimpleKernel 1.17.0
Loading...
Searching...
No Matches
cpu_io::CalleeSavedContext Struct Reference

#include <cpu_io.h>

Collaboration diagram for cpu_io::CalleeSavedContext:
Collaboration graph

Public Member Functions

__always_inline uint64_t & ReturnAddress ()
 
__always_inline uint64_t & EntryFunction ()
 
__always_inline uint64_t & EntryArgument ()
 
__always_inline uint64_t & StackPointer ()
 

Public Attributes

uint64_t ra
 
uint64_t sp
 
uint64_t s0
 
uint64_t s1
 
uint64_t padding [18]
 

Detailed Description

Definition at line 199 of file cpu_io.h.

Member Function Documentation

◆ EntryArgument()

__always_inline uint64_t & cpu_io::CalleeSavedContext::EntryArgument ( )
inline

Definition at line 209 of file cpu_io.h.

209{ return s1; }
Here is the caller graph for this function:

◆ EntryFunction()

__always_inline uint64_t & cpu_io::CalleeSavedContext::EntryFunction ( )
inline

Definition at line 208 of file cpu_io.h.

208{ return s0; }
Here is the caller graph for this function:

◆ ReturnAddress()

__always_inline uint64_t & cpu_io::CalleeSavedContext::ReturnAddress ( )
inline

Definition at line 207 of file cpu_io.h.

207{ return ra; }
Here is the caller graph for this function:

◆ StackPointer()

__always_inline uint64_t & cpu_io::CalleeSavedContext::StackPointer ( )
inline

Definition at line 210 of file cpu_io.h.

210{ return sp; }
Here is the caller graph for this function:

Member Data Documentation

◆ padding

uint64_t cpu_io::CalleeSavedContext::padding[18]

Definition at line 205 of file cpu_io.h.

◆ ra

uint64_t cpu_io::CalleeSavedContext::ra

Definition at line 200 of file cpu_io.h.

◆ s0

uint64_t cpu_io::CalleeSavedContext::s0

Definition at line 202 of file cpu_io.h.

◆ s1

uint64_t cpu_io::CalleeSavedContext::s1

Definition at line 203 of file cpu_io.h.

◆ sp

uint64_t cpu_io::CalleeSavedContext::sp

Definition at line 201 of file cpu_io.h.


The documentation for this struct was generated from the following file: