The Pedigree Project 0.1
SchedulerIrqHandler.h
1/*
2 * Copyright (c) 2026, Pedigree Developers
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted.
6 */
7
8#ifndef PEDIGREE_KERNEL_MACHINE_SCHEDULERIRQHANDLER_H
9#define PEDIGREE_KERNEL_MACHINE_SCHEDULERIRQHANDLER_H
10#include "pedigree/kernel/compiler.h"
11#include "pedigree/kernel/machine/types.h"
12#include "pedigree/kernel/processor/state_forward.h"
13
14#include <config.h>
15
25class EXPORTED_PUBLIC SchedulerIrqHandler {
26 public:
27 virtual void schedulerIrq(irq_id_t number, InterruptState& state) = 0;
28
29 protected:
30 virtual ~SchedulerIrqHandler() {}
31};
32
33#endif