mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
25 lines
393 B
C++
25 lines
393 B
C++
/*
|
|
* Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Assertions.h>
|
|
#include <AK/StdLibExtras.h>
|
|
#include <serenity.h>
|
|
|
|
namespace UserspaceEmulator {
|
|
|
|
enum class Command {
|
|
MarkROIStart = 5,
|
|
MarkROIEnd = 6,
|
|
};
|
|
|
|
inline void control(Command command)
|
|
{
|
|
emuctl(to_underlying(command), 0, 0);
|
|
}
|
|
|
|
}
|