Files
ladybird/Kernel/Bus/PCI/Initializer.h
Liav A. 2bba9411ca Kernel: Use the AK SetOnce container class in various cases
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.
2024-04-26 23:46:23 -06:00

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();
}