1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

Kernel+Userland: Unify declarations for KCOV in Kernel/API/kcov.h

This commit is contained in:
Liav A 2023-02-24 17:14:24 +02:00 committed by Linus Groh
parent e7142c482a
commit 8f3c343b88
3 changed files with 2 additions and 5 deletions

12
Kernel/API/kcov.h Normal file
View file

@ -0,0 +1,12 @@
/*
* Copyright (c) 2021, Patrick Meyer <git@the-space.agency>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
typedef volatile u64 kcov_pc_t;
#define KCOV_ENTRY_SIZE sizeof(kcov_pc_t)