2021-01-25 18:07:10 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, Paul Scharnofske
|
2022-02-09 19:15:55 +03:00
|
|
|
* Copyright (c) 2022, the SerenityOS developers.
|
2021-01-25 18:07:10 +03:00
|
|
|
*
|
2021-04-22 11:24:48 +03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2021-01-25 18:07:10 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-11-27 15:46:43 +03:00
|
|
|
#ifndef AC97_DEBUG
|
|
|
|
#cmakedefine01 AC97_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2022-02-09 19:15:55 +03:00
|
|
|
#ifndef AHCI_DEBUG
|
|
|
|
#cmakedefine01 AHCI_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef ACPI_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 ACPI_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef APIC_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 APIC_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef APIC_SMP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 APIC_SMP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ARP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 ARP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-11-26 20:39:26 +03:00
|
|
|
#ifndef ATA_DEBUG
|
|
|
|
#cmakedefine01 ATA_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef BBFS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 BBFS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef BXVGA_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 BXVGA_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef COMMIT_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 COMMIT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CONTEXT_SWITCH_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 CONTEXT_SWITCH_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-09-02 21:59:01 +03:00
|
|
|
#ifndef DUMP_REGIONS_ON_CRASH
|
|
|
|
#cmakedefine01 DUMP_REGIONS_ON_CRASH
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef E1000_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 E1000_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ETHERNET_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 ETHERNET_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXEC_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 EXEC_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-03-11 21:22:13 +03:00
|
|
|
#ifndef EXT2_BLOCKLIST_DEBUG
|
|
|
|
#cmakedefine01 EXT2_BLOCKLIST_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef EXT2_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 EXT2_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXT2_VERY_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 EXT2_VERY_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-09-18 19:21:10 +03:00
|
|
|
#ifndef FAT_DEBUG
|
|
|
|
#cmakedefine01 FAT_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef FORK_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 FORK_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FUTEX_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 FUTEX_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FUTEXQUEUE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 FUTEXQUEUE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HPET_COMPARATOR_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 HPET_COMPARATOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HPET_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 HPET_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ICMP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 ICMP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-04-12 22:07:30 +03:00
|
|
|
#ifndef INTEL_GRAPHICS_DEBUG
|
|
|
|
#cmakedefine01 INTEL_GRAPHICS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2023-03-10 22:10:06 +03:00
|
|
|
#ifndef INTEL_HDA_DEBUG
|
|
|
|
#cmakedefine01 INTEL_HDA_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef INTERRUPT_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 INTERRUPT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IO_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 IO_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-02-09 19:15:55 +03:00
|
|
|
#ifndef IOAPIC_DEBUG
|
|
|
|
#cmakedefine01 IOAPIC_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-07-29 23:19:12 +03:00
|
|
|
#ifndef ISO9660_DEBUG
|
|
|
|
#cmakedefine01 ISO9660_DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ISO9660_VERY_DEBUG
|
|
|
|
#cmakedefine01 ISO9660_VERY_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef IPV4_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 IPV4_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IPV4_SOCKET_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 IPV4_SOCKET_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IRQ_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 IRQ_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef KEYBOARD_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 KEYBOARD_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-03-11 17:26:02 +03:00
|
|
|
#ifndef KMALLOC_DEBUG
|
|
|
|
#cmakedefine01 KMALLOC_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-05-14 14:09:06 +03:00
|
|
|
#ifndef KMALLOC_VERIFY_NO_SPINLOCK_HELD
|
|
|
|
#cmakedefine01 KMALLOC_VERIFY_NO_SPINLOCK_HELD
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef LOCAL_SOCKET_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 LOCAL_SOCKET_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LOCK_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 LOCK_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-08-23 07:06:44 +03:00
|
|
|
#ifndef LOCK_IN_CRITICAL_DEBUG
|
|
|
|
#cmakedefine01 LOCK_IN_CRITICAL_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-09-14 21:05:17 +03:00
|
|
|
#ifndef LOCK_RANK_ENFORCEMENT
|
|
|
|
#cmakedefine01 LOCK_RANK_ENFORCEMENT
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef LOCK_RESTORE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 LOCK_RESTORE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-01-29 02:47:18 +03:00
|
|
|
#ifndef LOCK_SHARED_UPGRADE_DEBUG
|
|
|
|
#cmakedefine01 LOCK_SHARED_UPGRADE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef LOCK_TRACE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 LOCK_TRACE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2023-06-17 11:37:47 +03:00
|
|
|
#ifndef LOOPBACK_DEBUG
|
|
|
|
#cmakedefine01 LOOPBACK_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef MASTERPTY_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 MASTERPTY_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-04-02 23:21:35 +03:00
|
|
|
#ifndef MOUSE_DEBUG
|
|
|
|
#cmakedefine01 MOUSE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2022-04-01 19:52:22 +03:00
|
|
|
#ifndef MEMORY_DEVICE_DEBUG
|
|
|
|
#cmakedefine01 MEMORY_DEVICE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef MULTIPROCESSOR_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 MULTIPROCESSOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NETWORK_TASK_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 NETWORK_TASK_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-12-16 18:07:54 +03:00
|
|
|
#ifndef NVME_DEBUG
|
|
|
|
#cmakedefine01 NVME_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef OFFD_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 OFFD_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PAGE_FAULT_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PAGE_FAULT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PATA_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PATA_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PCI_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PCI_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef POLL_SELECT_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 POLL_SELECT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PROCESS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PROCESS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PROCFS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PROCFS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PS2MOUSE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PS2MOUSE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PTMX_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PTMX_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ROUTING_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 ROUTING_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-04-02 17:53:31 +03:00
|
|
|
#ifndef RTL8168_DEBUG
|
|
|
|
#cmakedefine01 RTL8168_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef SCHEDULER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SCHEDULER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SCHEDULER_RUNNABLE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SCHEDULER_RUNNABLE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SIGNAL_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SIGNAL_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SLAVEPTY_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SLAVEPTY_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SMP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SMP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SOCKET_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SOCKET_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef STORAGE_DEVICE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 STORAGE_DEVICE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-08-06 17:40:07 +03:00
|
|
|
#ifndef SYSFS_DEBUG
|
|
|
|
#cmakedefine01 SYSFS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef TCP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 TCP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TCP_SOCKET_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 TCP_SOCKET_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2023-08-24 18:05:42 +03:00
|
|
|
#ifndef TDFX_DEBUG
|
|
|
|
#cmakedefine01 TDFX_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef THREAD_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 THREAD_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TTY_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 TTY_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UDP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 UDP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UHCI_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 UHCI_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UHCI_VERBOSE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 UHCI_VERBOSE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-27 07:10:37 +03:00
|
|
|
#ifndef USB_DEBUG
|
|
|
|
#cmakedefine01 USB_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef VFS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 VFS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef VMWARE_BACKDOOR_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 VMWARE_BACKDOOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-02 20:53:05 +03:00
|
|
|
#ifndef VIRTIO_DEBUG
|
|
|
|
#cmakedefine01 VIRTIO_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-04-16 22:58:51 +03:00
|
|
|
#ifndef VIRTUAL_CONSOLE_DEBUG
|
|
|
|
#cmakedefine01 VIRTUAL_CONSOLE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef WAITBLOCK_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 WAITBLOCK_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WAITQUEUE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 WAITQUEUE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|