Mark3 Realtime Kernel
kernelswi.h
Go to the documentation of this file.
1 /*===========================================================================
2  _____ _____ _____ _____
3  ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______
4 | \ / | || \ || | || |/ / ||___ |
5 | \/ | || \ || \ || \ ||___ |
6 |__/\__/|__|_||__|\__\ __||__|\__\ __||__|\__\ __||______|
7  |_____| |_____| |_____| |_____|
8 
9 --[Mark3 Realtime Platform]--------------------------------------------------
10 
11 Copyright (c) 2012 - 2019 m0slevin, all rights reserved.
12 See license.txt for more information
13 =========================================================================== */
21 #pragma once
22 #include "kerneltypes.h"
23 
24 //---------------------------------------------------------------------------
25 namespace Mark3
26 {
32 class KernelSWI
33 {
34 public:
40  static void Config(void);
41 
46  static void Start(void);
47 
53  static void Trigger(void);
54 };
55 } // namespace Mark3
Basic data type primatives used throughout the OS.
static void Trigger(void)
Trigger Call the software interrupt.
Definition: kernelswi.cpp:46
Definition: atomic.cpp:23
static void Start(void)
Start Enable ("Start") the software interrupt functionality.
Definition: kernelswi.cpp:39
The KernelSWI Class provides the software-interrupt used to implement the context-switching interrupt...
Definition: kernelswi.h:32
static void Config(void)
Config Configure the software interrupt - must be called before any other software interrupt function...
Definition: kernelswi.cpp:31