Serenity Operating System
at master 372 lines 5.8 kB view raw
1/* 2 * Copyright (c) 2021, Paul Scharnofske 3 * Copyright (c) 2022, the SerenityOS developers. 4 * 5 * SPDX-License-Identifier: BSD-2-Clause 6 */ 7 8#pragma once 9 10#ifndef AC97_DEBUG 11#cmakedefine01 AC97_DEBUG 12#endif 13 14#ifndef AHCI_DEBUG 15#cmakedefine01 AHCI_DEBUG 16#endif 17 18#ifndef ACPI_DEBUG 19#cmakedefine01 ACPI_DEBUG 20#endif 21 22#ifndef APIC_DEBUG 23#cmakedefine01 APIC_DEBUG 24#endif 25 26#ifndef APIC_SMP_DEBUG 27#cmakedefine01 APIC_SMP_DEBUG 28#endif 29 30#ifndef ARP_DEBUG 31#cmakedefine01 ARP_DEBUG 32#endif 33 34#ifndef ATA_DEBUG 35#cmakedefine01 ATA_DEBUG 36#endif 37 38#ifndef BBFS_DEBUG 39#cmakedefine01 BBFS_DEBUG 40#endif 41 42#ifndef BXVGA_DEBUG 43#cmakedefine01 BXVGA_DEBUG 44#endif 45 46#ifndef COMMIT_DEBUG 47#cmakedefine01 COMMIT_DEBUG 48#endif 49 50#ifndef CONTEXT_SWITCH_DEBUG 51#cmakedefine01 CONTEXT_SWITCH_DEBUG 52#endif 53 54#ifndef CONTIGUOUS_VMOBJECT_DEBUG 55#cmakedefine01 CONTIGUOUS_VMOBJECT_DEBUG 56#endif 57 58#ifndef DUMP_REGIONS_ON_CRASH 59#cmakedefine01 DUMP_REGIONS_ON_CRASH 60#endif 61 62#ifndef E1000_DEBUG 63#cmakedefine01 E1000_DEBUG 64#endif 65 66#ifndef E1000E_DEBUG 67#cmakedefine01 E1000E_DEBUG 68#endif 69 70#ifndef ETHERNET_DEBUG 71#cmakedefine01 ETHERNET_DEBUG 72#endif 73 74#ifndef ETHERNET_VERY_DEBUG 75#cmakedefine01 ETHERNET_VERY_DEBUG 76#endif 77 78#ifndef EXEC_DEBUG 79#cmakedefine01 EXEC_DEBUG 80#endif 81 82#ifndef EXT2_BLOCKLIST_DEBUG 83#cmakedefine01 EXT2_BLOCKLIST_DEBUG 84#endif 85 86#ifndef EXT2_DEBUG 87#cmakedefine01 EXT2_DEBUG 88#endif 89 90#ifndef EXT2_VERY_DEBUG 91#cmakedefine01 EXT2_VERY_DEBUG 92#endif 93 94#ifndef FAT_DEBUG 95#cmakedefine01 FAT_DEBUG 96#endif 97 98#ifndef FRAMEBUFFER_DEVICE_DEBUG 99#cmakedefine01 FRAMEBUFFER_DEVICE_DEBUG 100#endif 101 102#ifndef FILEDESCRIPTION_DEBUG 103#cmakedefine01 FILEDESCRIPTION_DEBUG 104#endif 105 106#ifndef FORK_DEBUG 107#cmakedefine01 FORK_DEBUG 108#endif 109 110#ifndef FUTEX_DEBUG 111#cmakedefine01 FUTEX_DEBUG 112#endif 113 114#ifndef FUTEXQUEUE_DEBUG 115#cmakedefine01 FUTEXQUEUE_DEBUG 116#endif 117 118#ifndef HPET_COMPARATOR_DEBUG 119#cmakedefine01 HPET_COMPARATOR_DEBUG 120#endif 121 122#ifndef HPET_DEBUG 123#cmakedefine01 HPET_DEBUG 124#endif 125 126#ifndef ICMP_DEBUG 127#cmakedefine01 ICMP_DEBUG 128#endif 129 130#ifndef INTEL_GRAPHICS_DEBUG 131#cmakedefine01 INTEL_GRAPHICS_DEBUG 132#endif 133 134#ifndef INTERRUPT_DEBUG 135#cmakedefine01 INTERRUPT_DEBUG 136#endif 137 138#ifndef IO_DEBUG 139#cmakedefine01 IO_DEBUG 140#endif 141 142#ifndef IOAPIC_DEBUG 143#cmakedefine01 IOAPIC_DEBUG 144#endif 145 146#ifndef ISO9660_DEBUG 147#cmakedefine01 ISO9660_DEBUG 148#endif 149 150#ifndef ISO9660_VERY_DEBUG 151#cmakedefine01 ISO9660_VERY_DEBUG 152#endif 153 154#ifndef IPV4_DEBUG 155#cmakedefine01 IPV4_DEBUG 156#endif 157 158#ifndef IPV4_SOCKET_DEBUG 159#cmakedefine01 IPV4_SOCKET_DEBUG 160#endif 161 162#ifndef IRQ_DEBUG 163#cmakedefine01 IRQ_DEBUG 164#endif 165 166#ifndef KEYBOARD_DEBUG 167#cmakedefine01 KEYBOARD_DEBUG 168#endif 169 170#ifndef KMALLOC_DEBUG 171#cmakedefine01 KMALLOC_DEBUG 172#endif 173 174#ifndef KMALLOC_VERIFY_NO_SPINLOCK_HELD 175#cmakedefine01 KMALLOC_VERIFY_NO_SPINLOCK_HELD 176#endif 177 178#ifndef LOCAL_SOCKET_DEBUG 179#cmakedefine01 LOCAL_SOCKET_DEBUG 180#endif 181 182#ifndef LOCK_DEBUG 183#cmakedefine01 LOCK_DEBUG 184#endif 185 186#ifndef LOCK_IN_CRITICAL_DEBUG 187#cmakedefine01 LOCK_IN_CRITICAL_DEBUG 188#endif 189 190#ifndef LOCK_RANK_ENFORCEMENT 191#cmakedefine01 LOCK_RANK_ENFORCEMENT 192#endif 193 194#ifndef LOCK_RESTORE_DEBUG 195#cmakedefine01 LOCK_RESTORE_DEBUG 196#endif 197 198#ifndef LOCK_SHARED_UPGRADE_DEBUG 199#cmakedefine01 LOCK_SHARED_UPGRADE_DEBUG 200#endif 201 202#ifndef LOCK_TRACE_DEBUG 203#cmakedefine01 LOCK_TRACE_DEBUG 204#endif 205 206#ifndef MASTERPTY_DEBUG 207#cmakedefine01 MASTERPTY_DEBUG 208#endif 209 210#ifndef MOUSE_DEBUG 211#cmakedefine01 MOUSE_DEBUG 212#endif 213 214#ifndef MEMORY_DEVICE_DEBUG 215#cmakedefine01 MEMORY_DEVICE_DEBUG 216#endif 217 218#ifndef MULTIPROCESSOR_DEBUG 219#cmakedefine01 MULTIPROCESSOR_DEBUG 220#endif 221 222#ifndef NETWORK_TASK_DEBUG 223#cmakedefine01 NETWORK_TASK_DEBUG 224#endif 225 226#ifndef NVME_DEBUG 227#cmakedefine01 NVME_DEBUG 228#endif 229 230#ifndef OFFD_DEBUG 231#cmakedefine01 OFFD_DEBUG 232#endif 233 234#ifndef PAGE_FAULT_DEBUG 235#cmakedefine01 PAGE_FAULT_DEBUG 236#endif 237 238#ifndef PATA_DEBUG 239#cmakedefine01 PATA_DEBUG 240#endif 241 242#ifndef PCI_DEBUG 243#cmakedefine01 PCI_DEBUG 244#endif 245 246#ifndef POLL_SELECT_DEBUG 247#cmakedefine01 POLL_SELECT_DEBUG 248#endif 249 250#ifndef PROCESS_DEBUG 251#cmakedefine01 PROCESS_DEBUG 252#endif 253 254#ifndef PROCFS_DEBUG 255#cmakedefine01 PROCFS_DEBUG 256#endif 257 258#ifndef PS2MOUSE_DEBUG 259#cmakedefine01 PS2MOUSE_DEBUG 260#endif 261 262#ifndef PTMX_DEBUG 263#cmakedefine01 PTMX_DEBUG 264#endif 265 266#ifndef ROUTING_DEBUG 267#cmakedefine01 ROUTING_DEBUG 268#endif 269 270#ifndef RTL8168_DEBUG 271#cmakedefine01 RTL8168_DEBUG 272#endif 273 274#ifndef SB16_DEBUG 275#cmakedefine01 SB16_DEBUG 276#endif 277 278#ifndef SCHEDULER_DEBUG 279#cmakedefine01 SCHEDULER_DEBUG 280#endif 281 282#ifndef SCHEDULER_RUNNABLE_DEBUG 283#cmakedefine01 SCHEDULER_RUNNABLE_DEBUG 284#endif 285 286#ifndef SIGNAL_DEBUG 287#cmakedefine01 SIGNAL_DEBUG 288#endif 289 290#ifndef SLAVEPTY_DEBUG 291#cmakedefine01 SLAVEPTY_DEBUG 292#endif 293 294#ifndef SMP_DEBUG 295#cmakedefine01 SMP_DEBUG 296#endif 297 298#ifndef SOCKET_DEBUG 299#cmakedefine01 SOCKET_DEBUG 300#endif 301 302#ifndef STORAGE_DEVICE_DEBUG 303#cmakedefine01 STORAGE_DEVICE_DEBUG 304#endif 305 306#ifndef SYSFS_DEBUG 307#cmakedefine01 SYSFS_DEBUG 308#endif 309 310#ifndef TCP_DEBUG 311#cmakedefine01 TCP_DEBUG 312#endif 313 314#ifndef TCP_SOCKET_DEBUG 315#cmakedefine01 TCP_SOCKET_DEBUG 316#endif 317 318#ifndef THREAD_DEBUG 319#cmakedefine01 THREAD_DEBUG 320#endif 321 322#ifndef TTY_DEBUG 323#cmakedefine01 TTY_DEBUG 324#endif 325 326#ifndef UDP_DEBUG 327#cmakedefine01 UDP_DEBUG 328#endif 329 330#ifndef UHCI_DEBUG 331#cmakedefine01 UHCI_DEBUG 332#endif 333 334#ifndef UHCI_VERBOSE_DEBUG 335#cmakedefine01 UHCI_VERBOSE_DEBUG 336#endif 337 338#ifndef USB_DEBUG 339#cmakedefine01 USB_DEBUG 340#endif 341 342#ifndef VFS_DEBUG 343#cmakedefine01 VFS_DEBUG 344#endif 345 346#ifndef VMWARE_BACKDOOR_DEBUG 347#cmakedefine01 VMWARE_BACKDOOR_DEBUG 348#endif 349 350#ifndef VOLATILE_PAGE_RANGES_DEBUG 351#cmakedefine01 VOLATILE_PAGE_RANGES_DEBUG 352#endif 353 354#ifndef VIRTIO_DEBUG 355#cmakedefine01 VIRTIO_DEBUG 356#endif 357 358#ifndef VIRTUAL_CONSOLE_DEBUG 359#cmakedefine01 VIRTUAL_CONSOLE_DEBUG 360#endif 361 362#ifndef VRA_DEBUG 363#cmakedefine01 VRA_DEBUG 364#endif 365 366#ifndef WAITBLOCK_DEBUG 367#cmakedefine01 WAITBLOCK_DEBUG 368#endif 369 370#ifndef WAITQUEUE_DEBUG 371#cmakedefine01 WAITQUEUE_DEBUG 372#endif