mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
We have many places in the kernel code that we have boolean flags that are only set once, and never reset again but are checked multiple times before and after the time they're being set, which matches the purpose of the SetOnce class.
19 lines
297 B
C++
19 lines
297 B
C++
/*
|
|
* Copyright (c) 2020, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/SetOnce.h>
|
|
|
|
namespace Kernel::PCI {
|
|
|
|
extern SetOnce g_pci_access_io_probe_failed;
|
|
extern SetOnce g_pci_access_is_disabled_from_commandline;
|
|
|
|
void initialize();
|
|
|
|
}
|