NeKernel dev
Loading...
Searching...
No Matches
HardwareThreadScheduler.h File Reference
#include <ArchKit/ArchKit.h>
#include <CompilerKit/CompilerKit.h>
#include <NeKit/Ref.h>

Go to the source code of this file.

Classes

class  Kernel::HardwareThread
class  Kernel::HardwareThreadScheduler

Namespaces

namespace  Kernel
 UPS inline definitions.

Macros

#define kMaxAPInsideSched   (4U)

Typedefs

using Kernel::ThreadID = UInt32
typedef enum ThreadKind Kernel::ThreadKind

Enumerations

enum  Kernel::ThreadKind {
  Kernel::kAPInvalid = 0 , Kernel::kAPSystemReserved = 100 , Kernel::kAPStandard , Kernel::kAPRealTime ,
  Kernel::kAPBoot , Kernel::kAPCount
}

Functions

HardwareThreadScheduler

Class to manage the thread scheduling.

void Kernel::mp_wakeup_thread (HAL::StackFramePtr stack)
 wakes up thread. wakes up thread from hang.
void Kernel::mp_hang_thread (HAL::StackFramePtr stack)
 makes thread sleep. hooks and hangs thread to prevent code from executing.

Macro Definition Documentation

◆ kMaxAPInsideSched

#define kMaxAPInsideSched   (4U)
Note
Last Rev Sun 28 Jul CET 2024
Last Rev Thu, Aug 1, 2024 9:07:38 AM