The Pedigree Project 0.1
smoke.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_PROCESSOR_HOSTED_SMOKE_H
9#define PEDIGREE_KERNEL_PROCESSOR_HOSTED_SMOKE_H
10#include "pedigree/kernel/compiler.h"
11
12#include <config.h>
13#include <stddef.h>
14
15enum HostedSmokeStage {
16 HostedSmokeNone,
17 HostedSmokeRoot,
18 HostedSmokeInit,
19 HostedSmokeCommand,
20 HostedSmokeShutdown,
21};
22
23extern "C" HostedSmokeStage g_HostedSmokeStage;
24EXPORTED_PUBLIC bool hostedSyscallProfileRequested();
25EXPORTED_PUBLIC size_t hostedSyscallProfileDivisor();
26
27#endif