2021-01-25 15:07:10 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, Paul Scharnofske
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions are met:
|
|
|
|
*
|
|
|
|
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
|
|
* list of conditions and the following disclaimer.
|
|
|
|
*
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
|
|
* and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef ACPI_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 ACPI_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef APIC_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 APIC_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef APIC_SMP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 APIC_SMP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ARP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 ARP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef BBFS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 BBFS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef BXVGA_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 BXVGA_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef COMMIT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 COMMIT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CONTEXT_SWITCH_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 CONTEXT_SWITCH_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CONTIGUOUS_VMOBJECT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 CONTIGUOUS_VMOBJECT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef E1000_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 E1000_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ETHERNET_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 ETHERNET_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ETHERNET_VERY_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 ETHERNET_VERY_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXEC_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 EXEC_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXT2_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 EXT2_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXT2_VERY_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 EXT2_VERY_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FIFO_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 FIFO_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FILEDESCRIPTION_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 FILEDESCRIPTION_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FORK_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 FORK_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FUTEX_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 FUTEX_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FUTEXQUEUE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 FUTEXQUEUE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GPT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 GPT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HPET_COMPARATOR_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 HPET_COMPARATOR_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HPET_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 HPET_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ICMP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 ICMP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef INTERRUPT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 INTERRUPT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IOAPIC_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 IOAPIC_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IO_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 IO_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IPV4_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 IPV4_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IPV4_SOCKET_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 IPV4_SOCKET_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IRQ_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 IRQ_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef KEYBOARD_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 KEYBOARD_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef KMALLOC_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 KMALLOC_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LOCAL_SOCKET_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 LOCAL_SOCKET_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LOCK_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 LOCK_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LOCK_RESTORE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 LOCK_RESTORE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LOCK_TRACE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 LOCK_TRACE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MASTERPTY_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 MASTERPTY_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MBR_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 MBR_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MULTIPROCESSOR_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 MULTIPROCESSOR_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NETWORK_TASK_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 NETWORK_TASK_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef OFFD_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 OFFD_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PAGE_FAULT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PAGE_FAULT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PATA_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PATA_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PCI_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PCI_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef POLL_SELECT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 POLL_SELECT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PROCESS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PROCESS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PROCFS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PROCFS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PS2MOUSE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PS2MOUSE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PTMX_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PTMX_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ROUTING_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 ROUTING_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef RTL8139_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 RTL8139_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SB16_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SB16_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SCHEDULER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SCHEDULER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SCHEDULER_RUNNABLE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SCHEDULER_RUNNABLE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SIGNAL_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SIGNAL_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SLAVEPTY_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SLAVEPTY_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SMP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SMP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SOCKET_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SOCKET_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef STORAGE_DEVICE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 STORAGE_DEVICE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TCP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 TCP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TCP_SOCKET_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 TCP_SOCKET_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef THREAD_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 THREAD_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TTY_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 TTY_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UDP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 UDP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UHCI_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 UHCI_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UHCI_VERBOSE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 UHCI_VERBOSE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef VFS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 VFS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef VMWARE_BACKDOOR_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 VMWARE_BACKDOOR_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef VOLATILE_PAGE_RANGES_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 VOLATILE_PAGE_RANGES_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef VRA_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 VRA_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WAITBLOCK_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 WAITBLOCK_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WAITQUEUE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 WAITQUEUE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef KMALLOC_DEBUG_LARGE_ALLOCATIONS
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 KMALLOC_DEBUG_LARGE_ALLOCATIONS
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|