mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
1682f0b760
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
32 lines
566 B
C++
32 lines
566 B
C++
/*
|
|
* Copyright (c) 2020, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <Kernel/PCI/Device.h>
|
|
|
|
namespace Kernel {
|
|
namespace PCI {
|
|
|
|
Device::Device(Address address)
|
|
: IRQHandler(get_interrupt_line(address))
|
|
, m_pci_address(address)
|
|
{
|
|
// FIXME: Register PCI device somewhere...
|
|
}
|
|
|
|
Device::Device(Address address, u8 interrupt_vector)
|
|
: IRQHandler(interrupt_vector)
|
|
, m_pci_address(address)
|
|
{
|
|
// FIXME: Register PCI device somewhere...
|
|
}
|
|
|
|
Device::~Device()
|
|
{
|
|
// FIXME: Unregister the device
|
|
}
|
|
|
|
}
|
|
}
|