mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 20:17:46 +00:00
Kernel: Put Raspberry Pi devices into RPi namespace
This makes it clear in the code that these drivers are specific for the Raspberry Pi devices.
This commit is contained in:
parent
77f24056e0
commit
63ee2781fb
16 changed files with 27 additions and 27 deletions
|
@ -8,7 +8,7 @@
|
|||
#include <Kernel/Arch/aarch64/RPi/Framebuffer.h>
|
||||
#include <Kernel/Arch/aarch64/RPi/FramebufferMailboxMessages.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
Framebuffer::Framebuffer()
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
class Framebuffer {
|
||||
public:
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <Kernel/Arch/aarch64/RPi/Mailbox.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
class FramebufferSetPhysicalSizeMboxMessage : public Mailbox::Message {
|
||||
public:
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <Kernel/Arch/aarch64/RPi/GPIO.h>
|
||||
#include <Kernel/Arch/aarch64/RPi/MMIO.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
// See BCM2835-ARM-Peripherals.pdf section "6 General Purpose I/O" or bcm2711-peripherals.pdf "Chapter 5. General Purpose I/O".
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <AK/Array.h>
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
struct GPIOControlRegisters;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <Kernel/Arch/aarch64/MainIdRegister.h>
|
||||
#include <Kernel/Arch/aarch64/RPi/MMIO.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
MMIO::MMIO()
|
||||
: m_base_address(0xFE00'0000)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
// Knows about memory-mapped IO addresses on the Broadcom family of SOCs used in Raspberry Pis.
|
||||
// RPi3 is the first Raspberry Pi that supports aarch64.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <Kernel/Arch/aarch64/RPi/MMIO.h>
|
||||
#include <Kernel/Arch/aarch64/RPi/Mailbox.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
// There's one mailbox at MBOX_BASE_OFFSET for reading responses from VideoCore, and one at MBOX_BASE_OFFSET + 0x20 for sending requests.
|
||||
// Each has its own status word.
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
// Can exchange mailbox messages with the Raspberry Pi's VideoCore chip.
|
||||
// https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <Kernel/Arch/aarch64/RPi/Mailbox.h>
|
||||
#include <Kernel/Arch/aarch64/RPi/Timer.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
// "12.1 System Timer Registers" / "10.2 System Timer Registers"
|
||||
struct TimerRegisters {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
struct TimerRegisters;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <Kernel/Arch/aarch64/RPi/Timer.h>
|
||||
#include <Kernel/Arch/aarch64/RPi/UART.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
// "13.4 Register View" / "11.5 Register View"
|
||||
struct UARTRegisters {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::RPi {
|
||||
|
||||
struct UARTRegisters;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue