mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
Meta: Split debug defines into multiple headers.
The following script was used to make these changes: #!/bin/bash set -e tmp=$(mktemp -d) echo "tmp=$tmp" find Kernel \( -name '*.cpp' -o -name '*.h' \) | sort > $tmp/Kernel.files find . \( -path ./Toolchain -prune -o -path ./Build -prune -o -path ./Kernel -prune \) -o \( -name '*.cpp' -o -name '*.h' \) -print | sort > $tmp/EverythingExceptKernel.files cat $tmp/Kernel.files | xargs grep -Eho '[A-Z0-9_]+_DEBUG' | sort | uniq > $tmp/Kernel.macros cat $tmp/EverythingExceptKernel.files | xargs grep -Eho '[A-Z0-9_]+_DEBUG' | sort | uniq > $tmp/EverythingExceptKernel.macros comm -23 $tmp/Kernel.macros $tmp/EverythingExceptKernel.macros > $tmp/Kernel.unique comm -1 $tmp/Kernel.macros $tmp/EverythingExceptKernel.macros > $tmp/EverythingExceptKernel.unique cat $tmp/Kernel.unique | awk '{ print "#cmakedefine01 "$1 }' > $tmp/Kernel.header cat $tmp/EverythingExceptKernel.unique | awk '{ print "#cmakedefine01 "$1 }' > $tmp/EverythingExceptKernel.header for macro in $(cat $tmp/Kernel.unique) do cat $tmp/Kernel.files | xargs grep -l $macro >> $tmp/Kernel.new-includes ||: done cat $tmp/Kernel.new-includes | sort > $tmp/Kernel.new-includes.sorted for macro in $(cat $tmp/EverythingExceptKernel.unique) do cat $tmp/Kernel.files | xargs grep -l $macro >> $tmp/Kernel.old-includes ||: done cat $tmp/Kernel.old-includes | sort > $tmp/Kernel.old-includes.sorted comm -23 $tmp/Kernel.new-includes.sorted $tmp/Kernel.old-includes.sorted > $tmp/Kernel.includes.new comm -13 $tmp/Kernel.new-includes.sorted $tmp/Kernel.old-includes.sorted > $tmp/Kernel.includes.old comm -12 $tmp/Kernel.new-includes.sorted $tmp/Kernel.old-includes.sorted > $tmp/Kernel.includes.mixed for file in $(cat $tmp/Kernel.includes.new) do sed -i -E 's/#include <AK\/Debug\.h>/#include <Kernel\/Debug\.h>/' $file done for file in $(cat $tmp/Kernel.includes.mixed) do echo "mixed include in $file, requires manual editing." done
This commit is contained in:
parent
37bfaf4e7c
commit
7cf0c7cc0d
Notes:
sideshowbarker
2024-07-18 22:49:57 +09:00
Author: https://github.com/asynts Commit: https://github.com/SerenityOS/serenity/commit/7cf0c7cc0d7 Pull-request: https://github.com/SerenityOS/serenity/pull/5106
187
AK/Debug.h.in
187
AK/Debug.h.in
@ -26,165 +26,94 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#cmakedefine01 PROCESS_DEBUG
|
#cmakedefine01 AUTOCOMPLETE_DEBUG
|
||||||
#cmakedefine01 SCHEDULER_DEBUG
|
|
||||||
#cmakedefine01 SCHEDULER_RUNNABLE_DEBUG
|
|
||||||
#cmakedefine01 THREAD_DEBUG
|
|
||||||
#cmakedefine01 LOCK_DEBUG
|
|
||||||
#cmakedefine01 SIGNAL_DEBUG
|
|
||||||
#cmakedefine01 BMP_DEBUG
|
|
||||||
#cmakedefine01 WAITBLOCK_DEBUG
|
|
||||||
#cmakedefine01 WAITQUEUE_DEBUG
|
|
||||||
#cmakedefine01 MULTIPROCESSOR_DEBUG
|
|
||||||
#cmakedefine01 ACPI_DEBUG
|
|
||||||
#cmakedefine01 PAGE_FAULT_DEBUG
|
|
||||||
#cmakedefine01 CONTEXT_SWITCH_DEBUG
|
|
||||||
#cmakedefine01 SMP_DEBUG
|
|
||||||
#cmakedefine01 BXVGA_DEBUG
|
|
||||||
#cmakedefine01 PS2MOUSE_DEBUG
|
|
||||||
#cmakedefine01 VMWARE_BACKDOOR_DEBUG
|
|
||||||
#cmakedefine01 FILEDESCRIPTION_DEBUG
|
|
||||||
#cmakedefine01 PROCFS_DEBUG
|
|
||||||
#cmakedefine01 VFS_DEBUG
|
|
||||||
#cmakedefine01 IOAPIC_DEBUG
|
|
||||||
#cmakedefine01 IRQ_DEBUG
|
|
||||||
#cmakedefine01 INTERRUPT_DEBUG
|
|
||||||
#cmakedefine01 E1000_DEBUG
|
|
||||||
#cmakedefine01 IPV4_SOCKET_DEBUG
|
|
||||||
#cmakedefine01 LOCAL_SOCKET_DEBUG
|
|
||||||
#cmakedefine01 SOCKET_DEBUG
|
|
||||||
#cmakedefine01 TCP_SOCKET_DEBUG
|
|
||||||
#cmakedefine01 PCI_DEBUG
|
|
||||||
#cmakedefine01 PATA_DEBUG
|
|
||||||
#cmakedefine01 IO_DEBUG
|
|
||||||
#cmakedefine01 FORK_DEBUG
|
|
||||||
#cmakedefine01 POLL_SELECT_DEBUG
|
|
||||||
#cmakedefine01 HPET_DEBUG
|
|
||||||
#cmakedefine01 HPET_COMPARATOR_DEBUG
|
|
||||||
#cmakedefine01 MASTERPTY_DEBUG
|
|
||||||
#cmakedefine01 SLAVEPTY_DEBUG
|
|
||||||
#cmakedefine01 PTMX_DEBUG
|
|
||||||
#cmakedefine01 TTY_DEBUG
|
|
||||||
#cmakedefine01 CONTIGUOUS_VMOBJECT_DEBUG
|
|
||||||
#cmakedefine01 VRA_DEBUG
|
|
||||||
#cmakedefine01 COPY_DEBUG
|
|
||||||
#cmakedefine01 CURSOR_TOOL_DEBUG
|
|
||||||
#cmakedefine01 FILE_CONTENT_DEBUG
|
|
||||||
#cmakedefine01 GZIP_DEBUG
|
|
||||||
#cmakedefine01 CNETWORKJOB_DEBUG
|
|
||||||
#cmakedefine01 CSOCKET_DEBUG
|
|
||||||
#cmakedefine01 SAFE_SYSCALL_DEBUG
|
|
||||||
#cmakedefine01 GHASH_PROCESS_DEBUG
|
|
||||||
#cmakedefine01 NT_DEBUG
|
|
||||||
#cmakedefine01 CRYPTO_DEBUG
|
|
||||||
#cmakedefine01 DWARF_DEBUG
|
|
||||||
#cmakedefine01 HUNKS_DEBUG
|
|
||||||
#cmakedefine01 JOB_DEBUG
|
|
||||||
#cmakedefine01 GIF_DEBUG
|
|
||||||
#cmakedefine01 JPG_DEBUG
|
|
||||||
#cmakedefine01 EMOJI_DEBUG
|
|
||||||
#cmakedefine01 FILL_PATH_DEBUG
|
|
||||||
#cmakedefine01 PNG_DEBUG
|
|
||||||
#cmakedefine01 PORTABLE_IMAGE_LOADER_DEBUG
|
|
||||||
#cmakedefine01 SYNTAX_HIGHLIGHTING_DEBUG
|
|
||||||
#cmakedefine01 KEYBOARD_SHORTCUTS_DEBUG
|
|
||||||
#cmakedefine01 MARKDOWN_DEBUG
|
|
||||||
#cmakedefine01 REGEX_DEBUG
|
|
||||||
#cmakedefine01 TLS_DEBUG
|
|
||||||
#cmakedefine01 SPAM_DEBUG
|
|
||||||
#cmakedefine01 WRAPPER_GENERATOR_DEBUG
|
|
||||||
#cmakedefine01 PARSER_DEBUG
|
|
||||||
#cmakedefine01 TOKENIZER_TRACE_DEBUG
|
|
||||||
#cmakedefine01 IMAGE_LOADER_DEBUG
|
|
||||||
#cmakedefine01 RESOURCE_DEBUG
|
|
||||||
#cmakedefine01 CACHE_DEBUG
|
|
||||||
#cmakedefine01 DHCPV4_DEBUG
|
|
||||||
#cmakedefine01 DHCPV4CLIENT_DEBUG
|
|
||||||
#cmakedefine01 IMAGE_DECODER_DEBUG
|
|
||||||
#cmakedefine01 SYSTEM_MENU_DEBUG
|
|
||||||
#cmakedefine01 SYSTEMSERVER_DEBUG
|
|
||||||
#cmakedefine01 SERVICE_DEBUG
|
|
||||||
#cmakedefine01 COMPOSE_DEBUG
|
|
||||||
#cmakedefine01 MINIMIZE_ANIMATION_DEBUG
|
|
||||||
#cmakedefine01 OCCLUSIONS_DEBUG
|
|
||||||
#cmakedefine01 MENUS_DEBUG
|
|
||||||
#cmakedefine01 WSSCREEN_DEBUG
|
|
||||||
#cmakedefine01 WINDOWMANAGER_DEBUG
|
|
||||||
#cmakedefine01 RESIZE_DEBUG
|
|
||||||
#cmakedefine01 MOVE_DEBUG
|
|
||||||
#cmakedefine01 DOUBLECLICK_DEBUG
|
|
||||||
#cmakedefine01 DISASM_DUMP_DEBUG
|
|
||||||
#cmakedefine01 PATH_DEBUG
|
|
||||||
#cmakedefine01 LOCK_TRACE_DEBUG
|
|
||||||
#cmakedefine01 LOCK_RESTORE_DEBUG
|
|
||||||
#cmakedefine01 FUTEXQUEUE_DEBUG
|
|
||||||
#cmakedefine01 FUTEX_DEBUG
|
|
||||||
#cmakedefine01 UHCI_DEBUG
|
|
||||||
#cmakedefine01 APIC_DEBUG
|
|
||||||
#cmakedefine01 APIC_SMP_DEBUG
|
|
||||||
#cmakedefine01 ARP_DEBUG
|
|
||||||
#cmakedefine01 AWAVLOADER_DEBUG
|
#cmakedefine01 AWAVLOADER_DEBUG
|
||||||
#cmakedefine01 BBFS_DEBUG
|
#cmakedefine01 BMP_DEBUG
|
||||||
|
#cmakedefine01 CACHE_DEBUG
|
||||||
#cmakedefine01 CALLBACK_MACHINE_DEBUG
|
#cmakedefine01 CALLBACK_MACHINE_DEBUG
|
||||||
#cmakedefine01 CHTTPJOB_DEBUG
|
#cmakedefine01 CHTTPJOB_DEBUG
|
||||||
#cmakedefine01 COMMIT_DEBUG
|
#cmakedefine01 CNETWORKJOB_DEBUG
|
||||||
#cmakedefine01 AUTOCOMPLETE_DEBUG
|
#cmakedefine01 COMPOSE_DEBUG
|
||||||
|
#cmakedefine01 COPY_DEBUG
|
||||||
#cmakedefine01 CPP_LANGUAGE_SERVER_DEBUG
|
#cmakedefine01 CPP_LANGUAGE_SERVER_DEBUG
|
||||||
#cmakedefine01 DIFF_DEBUG
|
#cmakedefine01 CRYPTO_DEBUG
|
||||||
#cmakedefine01 HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
#cmakedefine01 CSOCKET_DEBUG
|
||||||
#cmakedefine01 ITEM_RECTS_DEBUG
|
#cmakedefine01 CURSOR_TOOL_DEBUG
|
||||||
#cmakedefine01 SH_LANGUAGE_SERVER_DEBUG
|
|
||||||
#cmakedefine01 STRINGIMPL_DEBUG
|
|
||||||
#cmakedefine01 TEXTEDITOR_DEBUG
|
|
||||||
#cmakedefine01 DEFERRED_INVOKE_DEBUG
|
#cmakedefine01 DEFERRED_INVOKE_DEBUG
|
||||||
|
#cmakedefine01 DHCPV4CLIENT_DEBUG
|
||||||
|
#cmakedefine01 DHCPV4_DEBUG
|
||||||
|
#cmakedefine01 DIFF_DEBUG
|
||||||
|
#cmakedefine01 DISASM_DUMP_DEBUG
|
||||||
|
#cmakedefine01 DOUBLECLICK_DEBUG
|
||||||
|
#cmakedefine01 DWARF_DEBUG
|
||||||
#cmakedefine01 DYNAMIC_LOAD_DEBUG
|
#cmakedefine01 DYNAMIC_LOAD_DEBUG
|
||||||
#cmakedefine01 EDITOR_DEBUG
|
#cmakedefine01 EDITOR_DEBUG
|
||||||
#cmakedefine01 ELF_IMAGE_DEBUG
|
#cmakedefine01 ELF_IMAGE_DEBUG
|
||||||
#cmakedefine01 ETHERNET_DEBUG
|
#cmakedefine01 EMOJI_DEBUG
|
||||||
#cmakedefine01 ETHERNET_VERY_DEBUG
|
|
||||||
#cmakedefine01 EVENT_DEBUG
|
#cmakedefine01 EVENT_DEBUG
|
||||||
#cmakedefine01 EVENTLOOP_DEBUG
|
#cmakedefine01 EVENTLOOP_DEBUG
|
||||||
#cmakedefine01 EXEC_DEBUG
|
#cmakedefine01 FILE_CONTENT_DEBUG
|
||||||
#cmakedefine01 EXT2_DEBUG
|
#cmakedefine01 FILL_PATH_DEBUG
|
||||||
#cmakedefine01 EXT2_VERY_DEBUG
|
|
||||||
#cmakedefine01 FIFO_DEBUG
|
|
||||||
#cmakedefine01 GEMINI_DEBUG
|
#cmakedefine01 GEMINI_DEBUG
|
||||||
#cmakedefine01 GEMINIJOB_DEBUG
|
#cmakedefine01 GEMINIJOB_DEBUG
|
||||||
#cmakedefine01 GENERATE_DEBUG_CODE
|
#cmakedefine01 GENERATE_DEBUG
|
||||||
|
#cmakedefine01 GHASH_PROCESS_DEBUG
|
||||||
|
#cmakedefine01 GIF_DEBUG
|
||||||
#cmakedefine01 GLOBAL_DTORS_DEBUG
|
#cmakedefine01 GLOBAL_DTORS_DEBUG
|
||||||
#cmakedefine01 GMENU_DEBUG
|
#cmakedefine01 GMENU_DEBUG
|
||||||
|
#cmakedefine01 GZIP_DEBUG
|
||||||
#cmakedefine01 HEAP_DEBUG
|
#cmakedefine01 HEAP_DEBUG
|
||||||
#cmakedefine01 HEX_DEBUG
|
#cmakedefine01 HEX_DEBUG
|
||||||
|
#cmakedefine01 HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
||||||
#cmakedefine01 HTTPSJOB_DEBUG
|
#cmakedefine01 HTTPSJOB_DEBUG
|
||||||
#cmakedefine01 ICMP_DEBUG
|
#cmakedefine01 HUNKS_DEBUG
|
||||||
#cmakedefine01 ICO_DEBUG
|
#cmakedefine01 ICO_DEBUG
|
||||||
#cmakedefine01 IPV4_DEBUG
|
#cmakedefine01 IMAGE_DECODER_DEBUG
|
||||||
|
#cmakedefine01 IMAGE_LOADER_DEBUG
|
||||||
#cmakedefine01 IRC_DEBUG
|
#cmakedefine01 IRC_DEBUG
|
||||||
#cmakedefine01 KEYBOARD_DEBUG
|
#cmakedefine01 ITEM_RECTS_DEBUG
|
||||||
#cmakedefine01 KMALLOC_DEBUG_LARGE_ALLOCATIONS
|
#cmakedefine01 JOB_DEBUG
|
||||||
|
#cmakedefine01 JPG_DEBUG
|
||||||
|
#cmakedefine01 KEYBOARD_SHORTCUTS_DEBUG
|
||||||
#cmakedefine01 LEXER_DEBUG
|
#cmakedefine01 LEXER_DEBUG
|
||||||
|
#cmakedefine01 LOG_DEBUG
|
||||||
#cmakedefine01 LOOKUPSERVER_DEBUG
|
#cmakedefine01 LOOKUPSERVER_DEBUG
|
||||||
#cmakedefine01 MALLOC_DEBUG
|
#cmakedefine01 MALLOC_DEBUG
|
||||||
#cmakedefine01 MBR_DEBUG
|
#cmakedefine01 MARKDOWN_DEBUG
|
||||||
#cmakedefine01 MEMORY_DEBUG
|
#cmakedefine01 MEMORY_DEBUG
|
||||||
#cmakedefine01 MENU_DEBUG
|
#cmakedefine01 MENU_DEBUG
|
||||||
#cmakedefine01 NETWORK_TASK_DEBUG
|
#cmakedefine01 MENUS_DEBUG
|
||||||
|
#cmakedefine01 MINIMIZE_ANIMATION_DEBUG
|
||||||
|
#cmakedefine01 MOVE_DEBUG
|
||||||
|
#cmakedefine01 NT_DEBUG
|
||||||
#cmakedefine01 OBJECT_DEBUG
|
#cmakedefine01 OBJECT_DEBUG
|
||||||
#cmakedefine01 OFFD_DEBUG
|
#cmakedefine01 OCCLUSIONS_DEBUG
|
||||||
|
#cmakedefine01 PARSER_DEBUG
|
||||||
|
#cmakedefine01 PATH_DEBUG
|
||||||
|
#cmakedefine01 PNG_DEBUG
|
||||||
|
#cmakedefine01 PORTABLE_IMAGE_LOADER_DEBUG
|
||||||
#cmakedefine01 PTHREAD_DEBUG
|
#cmakedefine01 PTHREAD_DEBUG
|
||||||
#cmakedefine01 REACHABLE_DEBUG
|
#cmakedefine01 REACHABLE_DEBUG
|
||||||
#cmakedefine01 ROUTING_DEBUG
|
#cmakedefine01 REGEX_DEBUG
|
||||||
#cmakedefine01 RTL8139_DEBUG
|
#cmakedefine01 RESIZE_DEBUG
|
||||||
#cmakedefine01 SB16_DEBUG
|
#cmakedefine01 RESOURCE_DEBUG
|
||||||
|
#cmakedefine01 SAFE_SYSCALL_DEBUG
|
||||||
|
#cmakedefine01 SERVICE_DEBUG
|
||||||
#cmakedefine01 SH_DEBUG
|
#cmakedefine01 SH_DEBUG
|
||||||
#cmakedefine01 STORAGE_DEVICE_DEBUG
|
#cmakedefine01 SH_LANGUAGE_SERVER_DEBUG
|
||||||
#cmakedefine01 TCP_DEBUG
|
#cmakedefine01 SPAM_DEBUG
|
||||||
|
#cmakedefine01 STRINGIMPL_DEBUG
|
||||||
|
#cmakedefine01 SYNTAX_HIGHLIGHTING_DEBUG
|
||||||
|
#cmakedefine01 SYSTEM_MENU_DEBUG
|
||||||
|
#cmakedefine01 SYSTEMSERVER_DEBUG
|
||||||
#cmakedefine01 TERMCAP_DEBUG
|
#cmakedefine01 TERMCAP_DEBUG
|
||||||
#cmakedefine01 TERMINAL_DEBUG
|
#cmakedefine01 TERMINAL_DEBUG
|
||||||
|
#cmakedefine01 TEXTEDITOR_DEBUG
|
||||||
|
#cmakedefine01 TLS_DEBUG
|
||||||
|
#cmakedefine01 TOKENIZER_TRACE_DEBUG
|
||||||
#cmakedefine01 UCI_DEBUG
|
#cmakedefine01 UCI_DEBUG
|
||||||
#cmakedefine01 UDP_DEBUG
|
|
||||||
#cmakedefine01 UHCI_VERBOSE_DEBUG
|
|
||||||
#cmakedefine01 UPDATE_COALESCING_DEBUG
|
#cmakedefine01 UPDATE_COALESCING_DEBUG
|
||||||
#cmakedefine01 VOLATILE_PAGE_RANGES_DEBUG
|
#cmakedefine01 WINDOWMANAGER_DEBUG
|
||||||
|
#cmakedefine01 WRAPPER_GENERATOR_DEBUG
|
||||||
#cmakedefine01 WSMESSAGELOOP_DEBUG
|
#cmakedefine01 WSMESSAGELOOP_DEBUG
|
||||||
#cmakedefine01 GPT_DEBUG
|
#cmakedefine01 WSSCREEN_DEBUG
|
||||||
|
@ -69,6 +69,7 @@ if (ENABLE_ALL_THE_DEBUG_MACROS)
|
|||||||
endif(ENABLE_ALL_THE_DEBUG_MACROS)
|
endif(ENABLE_ALL_THE_DEBUG_MACROS)
|
||||||
|
|
||||||
configure_file(AK/Debug.h.in AK/Debug.h @ONLY)
|
configure_file(AK/Debug.h.in AK/Debug.h @ONLY)
|
||||||
|
configure_file(Kernel/Debug.h.in Kernel/Debug.h @ONLY)
|
||||||
|
|
||||||
include_directories(Userland/Libraries)
|
include_directories(Userland/Libraries)
|
||||||
include_directories(.)
|
include_directories(.)
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
#include <Kernel/ACPI/MultiProcessorParser.h>
|
#include <Kernel/ACPI/MultiProcessorParser.h>
|
||||||
#include <Kernel/Arch/PC/BIOS.h>
|
#include <Kernel/Arch/PC/BIOS.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Interrupts/IOAPIC.h>
|
#include <Kernel/Interrupts/IOAPIC.h>
|
||||||
#include <Kernel/StdLib.h>
|
#include <Kernel/StdLib.h>
|
||||||
#include <Kernel/VM/MemoryManager.h>
|
#include <Kernel/VM/MemoryManager.h>
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
#include <Kernel/ACPI/Parser.h>
|
#include <Kernel/ACPI/Parser.h>
|
||||||
#include <Kernel/Arch/PC/BIOS.h>
|
#include <Kernel/Arch/PC/BIOS.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/PCI/Access.h>
|
#include <Kernel/PCI/Access.h>
|
||||||
#include <Kernel/StdLib.h>
|
#include <Kernel/StdLib.h>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Assertions.h>
|
#include <AK/Assertions.h>
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <AK/ScopeGuard.h>
|
#include <AK/ScopeGuard.h>
|
||||||
#include <AK/String.h>
|
#include <AK/String.h>
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
|
101
Kernel/Debug.h.in
Normal file
101
Kernel/Debug.h.in
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
|
||||||
|
#cmakedefine01 ACPI_DEBUG
|
||||||
|
#cmakedefine01 APIC_DEBUG
|
||||||
|
#cmakedefine01 APIC_SMP_DEBUG
|
||||||
|
#cmakedefine01 ARP_DEBUG
|
||||||
|
#cmakedefine01 BBFS_DEBUG
|
||||||
|
#cmakedefine01 BXVGA_DEBUG
|
||||||
|
#cmakedefine01 COMMIT_DEBUG
|
||||||
|
#cmakedefine01 CONTEXT_SWITCH_DEBUG
|
||||||
|
#cmakedefine01 CONTIGUOUS_VMOBJECT_DEBUG
|
||||||
|
#cmakedefine01 E1000_DEBUG
|
||||||
|
#cmakedefine01 ETHERNET_DEBUG
|
||||||
|
#cmakedefine01 ETHERNET_VERY_DEBUG
|
||||||
|
#cmakedefine01 EXEC_DEBUG
|
||||||
|
#cmakedefine01 EXT2_DEBUG
|
||||||
|
#cmakedefine01 EXT2_VERY_DEBUG
|
||||||
|
#cmakedefine01 FIFO_DEBUG
|
||||||
|
#cmakedefine01 FILEDESCRIPTION_DEBUG
|
||||||
|
#cmakedefine01 FORK_DEBUG
|
||||||
|
#cmakedefine01 FUTEX_DEBUG
|
||||||
|
#cmakedefine01 FUTEXQUEUE_DEBUG
|
||||||
|
#cmakedefine01 GPT_DEBUG
|
||||||
|
#cmakedefine01 HPET_COMPARATOR_DEBUG
|
||||||
|
#cmakedefine01 HPET_DEBUG
|
||||||
|
#cmakedefine01 ICMP_DEBUG
|
||||||
|
#cmakedefine01 INTERRUPT_DEBUG
|
||||||
|
#cmakedefine01 IOAPIC_DEBUG
|
||||||
|
#cmakedefine01 IO_DEBUG
|
||||||
|
#cmakedefine01 IPV4_DEBUG
|
||||||
|
#cmakedefine01 IPV4_SOCKET_DEBUG
|
||||||
|
#cmakedefine01 IRQ_DEBUG
|
||||||
|
#cmakedefine01 KEYBOARD_DEBUG
|
||||||
|
#cmakedefine01 KMALLOC_DEBUG
|
||||||
|
#cmakedefine01 LOCAL_SOCKET_DEBUG
|
||||||
|
#cmakedefine01 LOCK_DEBUG
|
||||||
|
#cmakedefine01 LOCK_RESTORE_DEBUG
|
||||||
|
#cmakedefine01 LOCK_TRACE_DEBUG
|
||||||
|
#cmakedefine01 MASTERPTY_DEBUG
|
||||||
|
#cmakedefine01 MBR_DEBUG
|
||||||
|
#cmakedefine01 MULTIPROCESSOR_DEBUG
|
||||||
|
#cmakedefine01 NETWORK_TASK_DEBUG
|
||||||
|
#cmakedefine01 OFFD_DEBUG
|
||||||
|
#cmakedefine01 PAGE_FAULT_DEBUG
|
||||||
|
#cmakedefine01 PATA_DEBUG
|
||||||
|
#cmakedefine01 PCI_DEBUG
|
||||||
|
#cmakedefine01 POLL_SELECT_DEBUG
|
||||||
|
#cmakedefine01 PROCESS_DEBUG
|
||||||
|
#cmakedefine01 PROCFS_DEBUG
|
||||||
|
#cmakedefine01 PS2MOUSE_DEBUG
|
||||||
|
#cmakedefine01 PTMX_DEBUG
|
||||||
|
#cmakedefine01 ROUTING_DEBUG
|
||||||
|
#cmakedefine01 RTL8139_DEBUG
|
||||||
|
#cmakedefine01 SB16_DEBUG
|
||||||
|
#cmakedefine01 SCHEDULER_DEBUG
|
||||||
|
#cmakedefine01 SCHEDULER_RUNNABLE_DEBUG
|
||||||
|
#cmakedefine01 SIGNAL_DEBUG
|
||||||
|
#cmakedefine01 SLAVEPTY_DEBUG
|
||||||
|
#cmakedefine01 SMP_DEBUG
|
||||||
|
#cmakedefine01 SOCKET_DEBUG
|
||||||
|
#cmakedefine01 STORAGE_DEVICE_DEBUG
|
||||||
|
#cmakedefine01 TCP_DEBUG
|
||||||
|
#cmakedefine01 TCP_SOCKET_DEBUG
|
||||||
|
#cmakedefine01 THREAD_DEBUG
|
||||||
|
#cmakedefine01 TTY_DEBUG
|
||||||
|
#cmakedefine01 UDP_DEBUG
|
||||||
|
#cmakedefine01 UHCI_DEBUG
|
||||||
|
#cmakedefine01 UHCI_VERBOSE_DEBUG
|
||||||
|
#cmakedefine01 VFS_DEBUG
|
||||||
|
#cmakedefine01 VMWARE_BACKDOOR_DEBUG
|
||||||
|
#cmakedefine01 VOLATILE_PAGE_RANGES_DEBUG
|
||||||
|
#cmakedefine01 VRA_DEBUG
|
||||||
|
#cmakedefine01 WAITBLOCK_DEBUG
|
||||||
|
#cmakedefine01 WAITQUEUE_DEBUG
|
||||||
|
#cmakedefine01 KMALLOC_DEBUG_LARGE_ALLOCATIONS
|
@ -25,8 +25,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Checked.h>
|
#include <AK/Checked.h>
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/BXVGADevice.h>
|
#include <Kernel/Devices/BXVGADevice.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/PCI/Access.h>
|
#include <Kernel/PCI/Access.h>
|
||||||
|
@ -26,11 +26,11 @@
|
|||||||
|
|
||||||
#include <AK/Assertions.h>
|
#include <AK/Assertions.h>
|
||||||
#include <AK/ByteBuffer.h>
|
#include <AK/ByteBuffer.h>
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
#include <AK/Types.h>
|
#include <AK/Types.h>
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/KeyboardDevice.h>
|
#include <Kernel/Devices/KeyboardDevice.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/TTY/VirtualConsole.h>
|
#include <Kernel/TTY/VirtualConsole.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Memory.h>
|
#include <AK/Memory.h>
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/PS2MouseDevice.h>
|
#include <Kernel/Devices/PS2MouseDevice.h>
|
||||||
#include <Kernel/Devices/VMWareBackdoor.h>
|
#include <Kernel/Devices/VMWareBackdoor.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Memory.h>
|
#include <AK/Memory.h>
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/SB16.h>
|
#include <Kernel/Devices/SB16.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/USB/UHCIController.h>
|
#include <Kernel/Devices/USB/UHCIController.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <Kernel/StdLib.h>
|
#include <Kernel/StdLib.h>
|
||||||
|
@ -25,13 +25,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Assertions.h>
|
#include <AK/Assertions.h>
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/OwnPtr.h>
|
#include <AK/OwnPtr.h>
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/String.h>
|
#include <AK/String.h>
|
||||||
#include <Kernel/API/MousePacket.h>
|
#include <Kernel/API/MousePacket.h>
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
#include <Kernel/CommandLine.h>
|
#include <Kernel/CommandLine.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/VMWareBackdoor.h>
|
#include <Kernel/Devices/VMWareBackdoor.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/IntrusiveList.h>
|
#include <AK/IntrusiveList.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/BlockBasedFileSystem.h>
|
#include <Kernel/FileSystem/BlockBasedFileSystem.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
|
||||||
|
@ -25,11 +25,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Bitmap.h>
|
#include <AK/Bitmap.h>
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/HashMap.h>
|
#include <AK/HashMap.h>
|
||||||
#include <AK/MemoryStream.h>
|
#include <AK/MemoryStream.h>
|
||||||
#include <AK/StdLibExtras.h>
|
#include <AK/StdLibExtras.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/BlockDevice.h>
|
#include <Kernel/Devices/BlockDevice.h>
|
||||||
#include <Kernel/FileSystem/Ext2FileSystem.h>
|
#include <Kernel/FileSystem/Ext2FileSystem.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/HashTable.h>
|
#include <AK/HashTable.h>
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/StdLibExtras.h>
|
#include <AK/StdLibExtras.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FIFO.h>
|
#include <Kernel/FileSystem/FIFO.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Lock.h>
|
#include <Kernel/Lock.h>
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/MemoryStream.h>
|
#include <AK/MemoryStream.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/BlockDevice.h>
|
#include <Kernel/Devices/BlockDevice.h>
|
||||||
#include <Kernel/Devices/CharacterDevice.h>
|
#include <Kernel/Devices/CharacterDevice.h>
|
||||||
#include <Kernel/FileSystem/Custody.h>
|
#include <Kernel/FileSystem/Custody.h>
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/JsonArraySerializer.h>
|
#include <AK/JsonArraySerializer.h>
|
||||||
#include <AK/JsonObject.h>
|
#include <AK/JsonObject.h>
|
||||||
#include <AK/JsonObjectSerializer.h>
|
#include <AK/JsonObjectSerializer.h>
|
||||||
@ -33,6 +32,7 @@
|
|||||||
#include <Kernel/Arch/i386/ProcessorInfo.h>
|
#include <Kernel/Arch/i386/ProcessorInfo.h>
|
||||||
#include <Kernel/CommandLine.h>
|
#include <Kernel/CommandLine.h>
|
||||||
#include <Kernel/Console.h>
|
#include <Kernel/Console.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/BlockDevice.h>
|
#include <Kernel/Devices/BlockDevice.h>
|
||||||
#include <Kernel/Devices/KeyboardDevice.h>
|
#include <Kernel/Devices/KeyboardDevice.h>
|
||||||
#include <Kernel/FileSystem/Custody.h>
|
#include <Kernel/FileSystem/Custody.h>
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/LexicalPath.h>
|
#include <AK/LexicalPath.h>
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/BlockDevice.h>
|
#include <Kernel/Devices/BlockDevice.h>
|
||||||
#include <Kernel/FileSystem/Custody.h>
|
#include <Kernel/FileSystem/Custody.h>
|
||||||
#include <Kernel/FileSystem/FileBackedFileSystem.h>
|
#include <Kernel/FileSystem/FileBackedFileSystem.h>
|
||||||
|
@ -22,11 +22,6 @@
|
|||||||
* The second extended filesystem constants/structures
|
* The second extended filesystem constants/structures
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* Define EXT2FS_DEBUG to produce debug messages
|
|
||||||
*/
|
|
||||||
#undef EXT2FS_DEBUG
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define EXT2_PREALLOCATE to preallocate data blocks for expanding files
|
* Define EXT2_PREALLOCATE to preallocate data blocks for expanding files
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FutexQueue.h>
|
#include <Kernel/FutexQueue.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Types.h>
|
#include <AK/Types.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
|
|
||||||
#define KMALLOC_SCRUB_BYTE 0xbb
|
#define KMALLOC_SCRUB_BYTE 0xbb
|
||||||
#define KFREE_SCRUB_BYTE 0xaa
|
#define KFREE_SCRUB_BYTE 0xaa
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Assertions.h>
|
#include <AK/Assertions.h>
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Memory.h>
|
#include <AK/Memory.h>
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
@ -33,6 +32,7 @@
|
|||||||
#include <Kernel/ACPI/Parser.h>
|
#include <Kernel/ACPI/Parser.h>
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
#include <Kernel/Arch/i386/ProcessorInfo.h>
|
#include <Kernel/Arch/i386/ProcessorInfo.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/Interrupts/APIC.h>
|
#include <Kernel/Interrupts/APIC.h>
|
||||||
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
|
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Optional.h>
|
#include <AK/Optional.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
#include <Kernel/ACPI/MultiProcessorParser.h>
|
#include <Kernel/ACPI/MultiProcessorParser.h>
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Interrupts/APIC.h>
|
#include <Kernel/Interrupts/APIC.h>
|
||||||
#include <Kernel/Interrupts/IOAPIC.h>
|
#include <Kernel/Interrupts/IOAPIC.h>
|
||||||
#include <Kernel/Interrupts/InterruptManagement.h>
|
#include <Kernel/Interrupts/InterruptManagement.h>
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Interrupts/IRQHandler.h>
|
#include <Kernel/Interrupts/IRQHandler.h>
|
||||||
#include <Kernel/Interrupts/InterruptManagement.h>
|
#include <Kernel/Interrupts/InterruptManagement.h>
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
#include <Kernel/Assertions.h>
|
#include <Kernel/Assertions.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Interrupts/IRQHandler.h>
|
#include <Kernel/Interrupts/IRQHandler.h>
|
||||||
#include <Kernel/Interrupts/InterruptManagement.h>
|
#include <Kernel/Interrupts/InterruptManagement.h>
|
||||||
#include <Kernel/Interrupts/PIC.h>
|
#include <Kernel/Interrupts/PIC.h>
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/TemporaryChange.h>
|
#include <AK/TemporaryChange.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/KSyms.h>
|
#include <Kernel/KSyms.h>
|
||||||
#include <Kernel/Lock.h>
|
#include <Kernel/Lock.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/MACAddress.h>
|
#include <AK/MACAddress.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/Net/E1000NetworkAdapter.h>
|
#include <Kernel/Net/E1000NetworkAdapter.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Net/ARP.h>
|
#include <Kernel/Net/ARP.h>
|
||||||
#include <Kernel/Net/ICMP.h>
|
#include <Kernel/Net/ICMP.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||||
#include <Kernel/Net/LocalSocket.h>
|
#include <Kernel/Net/LocalSocket.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Lock.h>
|
#include <Kernel/Lock.h>
|
||||||
#include <Kernel/Net/ARP.h>
|
#include <Kernel/Net/ARP.h>
|
||||||
#include <Kernel/Net/EtherType.h>
|
#include <Kernel/Net/EtherType.h>
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/MACAddress.h>
|
#include <AK/MACAddress.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/Net/RTL8139NetworkAdapter.h>
|
#include <Kernel/Net/RTL8139NetworkAdapter.h>
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/HashMap.h>
|
#include <AK/HashMap.h>
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Net/LoopbackAdapter.h>
|
#include <Kernel/Net/LoopbackAdapter.h>
|
||||||
#include <Kernel/Net/Routing.h>
|
#include <Kernel/Net/Routing.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Net/IPv4Socket.h>
|
#include <Kernel/Net/IPv4Socket.h>
|
||||||
#include <Kernel/Net/LocalSocket.h>
|
#include <Kernel/Net/LocalSocket.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/Time.h>
|
#include <AK/Time.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/RandomDevice.h>
|
#include <Kernel/Devices/RandomDevice.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Net/NetworkAdapter.h>
|
#include <Kernel/Net/NetworkAdapter.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/PCI/Access.h>
|
#include <Kernel/PCI/Access.h>
|
||||||
#include <Kernel/PCI/IOAccess.h>
|
#include <Kernel/PCI/IOAccess.h>
|
||||||
|
@ -26,12 +26,12 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Function.h>
|
#include <AK/Function.h>
|
||||||
#include <AK/LogStream.h>
|
#include <AK/LogStream.h>
|
||||||
#include <AK/String.h>
|
#include <AK/String.h>
|
||||||
#include <AK/Types.h>
|
#include <AK/Types.h>
|
||||||
#include <AK/Vector.h>
|
#include <AK/Vector.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/IO.h>
|
#include <Kernel/IO.h>
|
||||||
#include <Kernel/PCI/IOAccess.h>
|
#include <Kernel/PCI/IOAccess.h>
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Optional.h>
|
#include <AK/Optional.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/PCI/MMIOAccess.h>
|
#include <Kernel/PCI/MMIOAccess.h>
|
||||||
#include <Kernel/VM/MemoryManager.h>
|
#include <Kernel/VM/MemoryManager.h>
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Demangle.h>
|
#include <AK/Demangle.h>
|
||||||
#include <AK/QuickSort.h>
|
#include <AK/QuickSort.h>
|
||||||
#include <AK/StdLibExtras.h>
|
#include <AK/StdLibExtras.h>
|
||||||
@ -34,6 +33,7 @@
|
|||||||
#include <Kernel/API/Syscall.h>
|
#include <Kernel/API/Syscall.h>
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
#include <Kernel/CoreDump.h>
|
#include <Kernel/CoreDump.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Devices/NullDevice.h>
|
#include <Kernel/Devices/NullDevice.h>
|
||||||
#include <Kernel/FileSystem/Custody.h>
|
#include <Kernel/FileSystem/Custody.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/QuickSort.h>
|
#include <AK/QuickSort.h>
|
||||||
#include <AK/ScopeGuard.h>
|
#include <AK/ScopeGuard.h>
|
||||||
#include <AK/TemporaryChange.h>
|
#include <AK/TemporaryChange.h>
|
||||||
#include <AK/Time.h>
|
#include <AK/Time.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/PerformanceEventBuffer.h>
|
#include <Kernel/PerformanceEventBuffer.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <Kernel/RTC.h>
|
#include <Kernel/RTC.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Storage/Partition/DiskPartition.h>
|
#include <Kernel/Storage/Partition/DiskPartition.h>
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <AK/AllOf.h>
|
#include <AK/AllOf.h>
|
||||||
#include <AK/Array.h>
|
#include <AK/Array.h>
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Storage/Partition/GUIDPartitionTable.h>
|
#include <Kernel/Storage/Partition/GUIDPartitionTable.h>
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/ByteBuffer.h>
|
#include <AK/ByteBuffer.h>
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Storage/Partition/MBRPartitionTable.h>
|
#include <Kernel/Storage/Partition/MBRPartitionTable.h>
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Memory.h>
|
#include <AK/Memory.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Storage/StorageDevice.h>
|
#include <Kernel/Storage/StorageDevice.h>
|
||||||
|
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/LexicalPath.h>
|
#include <AK/LexicalPath.h>
|
||||||
#include <AK/ScopeGuard.h>
|
#include <AK/ScopeGuard.h>
|
||||||
#include <AK/TemporaryChange.h>
|
#include <AK/TemporaryChange.h>
|
||||||
#include <AK/WeakPtr.h>
|
#include <AK/WeakPtr.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/Custody.h>
|
#include <Kernel/FileSystem/Custody.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/PerformanceEventBuffer.h>
|
#include <Kernel/PerformanceEventBuffer.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/Custody.h>
|
#include <Kernel/FileSystem/Custody.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
#include <AK/Time.h>
|
#include <AK/Time.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <Kernel/VM/MemoryManager.h>
|
#include <Kernel/VM/MemoryManager.h>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/Custody.h>
|
#include <Kernel/FileSystem/Custody.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/ScopeGuard.h>
|
#include <AK/ScopeGuard.h>
|
||||||
#include <AK/Time.h>
|
#include <AK/Time.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/NumericLimits.h>
|
#include <AK/NumericLimits.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "MasterPTY.h"
|
#include "MasterPTY.h"
|
||||||
#include "PTYMultiplexer.h"
|
#include "PTYMultiplexer.h"
|
||||||
#include "SlavePTY.h"
|
#include "SlavePTY.h"
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <LibC/errno_numbers.h>
|
#include <LibC/errno_numbers.h>
|
||||||
#include <LibC/signal_numbers.h>
|
#include <LibC/signal_numbers.h>
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
|
|
||||||
#include "PTYMultiplexer.h"
|
#include "PTYMultiplexer.h"
|
||||||
#include "MasterPTY.h"
|
#include "MasterPTY.h"
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Singleton.h>
|
#include <AK/Singleton.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <LibC/errno_numbers.h>
|
#include <LibC/errno_numbers.h>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "SlavePTY.h"
|
#include "SlavePTY.h"
|
||||||
#include "MasterPTY.h"
|
#include "MasterPTY.h"
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/DevPtsFS.h>
|
#include <Kernel/FileSystem/DevPtsFS.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/ScopeGuard.h>
|
#include <AK/ScopeGuard.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <Kernel/TTY/TTY.h>
|
#include <Kernel/TTY/TTY.h>
|
||||||
#include <LibC/errno_numbers.h>
|
#include <LibC/errno_numbers.h>
|
||||||
|
@ -24,12 +24,12 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Demangle.h>
|
#include <AK/Demangle.h>
|
||||||
#include <AK/ScopeGuard.h>
|
#include <AK/ScopeGuard.h>
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
#include <AK/Time.h>
|
#include <AK/Time.h>
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/KSyms.h>
|
#include <Kernel/KSyms.h>
|
||||||
#include <Kernel/PerformanceEventBuffer.h>
|
#include <Kernel/PerformanceEventBuffer.h>
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Function.h>
|
#include <AK/Function.h>
|
||||||
#include <AK/IntrusiveList.h>
|
#include <AK/IntrusiveList.h>
|
||||||
#include <AK/Optional.h>
|
#include <AK/Optional.h>
|
||||||
@ -38,6 +37,7 @@
|
|||||||
#include <AK/Weakable.h>
|
#include <AK/Weakable.h>
|
||||||
#include <Kernel/Arch/i386/CPU.h>
|
#include <Kernel/Arch/i386/CPU.h>
|
||||||
#include <Kernel/Arch/i386/SafeMem.h>
|
#include <Kernel/Arch/i386/SafeMem.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Forward.h>
|
#include <Kernel/Forward.h>
|
||||||
#include <Kernel/KResult.h>
|
#include <Kernel/KResult.h>
|
||||||
#include <Kernel/LockMode.h>
|
#include <Kernel/LockMode.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Net/Socket.h>
|
#include <Kernel/Net/Socket.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
#include <Kernel/ACPI/Parser.h>
|
#include <Kernel/ACPI/Parser.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Interrupts/InterruptManagement.h>
|
#include <Kernel/Interrupts/InterruptManagement.h>
|
||||||
#include <Kernel/Time/HPET.h>
|
#include <Kernel/Time/HPET.h>
|
||||||
#include <Kernel/Time/HPETComparator.h>
|
#include <Kernel/Time/HPETComparator.h>
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <Kernel/Assertions.h>
|
#include <Kernel/Assertions.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Time/HPETComparator.h>
|
#include <Kernel/Time/HPETComparator.h>
|
||||||
#include <Kernel/Time/TimeManagement.h>
|
#include <Kernel/Time/TimeManagement.h>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <Kernel/VM/AnonymousVMObject.h>
|
#include <Kernel/VM/AnonymousVMObject.h>
|
||||||
#include <Kernel/VM/MemoryManager.h>
|
#include <Kernel/VM/MemoryManager.h>
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/BinarySearch.h>
|
#include <AK/BinarySearch.h>
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/ScopeGuard.h>
|
#include <AK/ScopeGuard.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <Kernel/VM/AnonymousVMObject.h>
|
#include <Kernel/VM/AnonymousVMObject.h>
|
||||||
#include <Kernel/VM/MemoryManager.h>
|
#include <Kernel/VM/MemoryManager.h>
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/BinarySearch.h>
|
#include <AK/BinarySearch.h>
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/QuickSort.h>
|
#include <AK/QuickSort.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Random.h>
|
#include <Kernel/Random.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
#include <Kernel/VM/RangeAllocator.h>
|
#include <Kernel/VM/RangeAllocator.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
|
||||||
#include <AK/Memory.h>
|
#include <AK/Memory.h>
|
||||||
#include <AK/StringView.h>
|
#include <AK/StringView.h>
|
||||||
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/FileSystem/Inode.h>
|
#include <Kernel/FileSystem/Inode.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AK/Debug.h>
|
#include <Kernel/Debug.h>
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
#include <Kernel/WaitQueue.h>
|
#include <Kernel/WaitQueue.h>
|
||||||
|
|
||||||
|
@ -81,6 +81,7 @@ set(LAGOM_MORE_SOURCES ${LIBELF_SOURCES} ${LIBIPC_SOURCES} ${LIBLINE_SOURCES} ${
|
|||||||
# in combination with the system, we generate two Debug.h files. One in
|
# in combination with the system, we generate two Debug.h files. One in
|
||||||
# Build/AK/Debug.h and the other in Build/Meta/Lagom/AK/Debug.h.
|
# Build/AK/Debug.h and the other in Build/Meta/Lagom/AK/Debug.h.
|
||||||
configure_file(../../AK/Debug.h.in AK/Debug.h @ONLY)
|
configure_file(../../AK/Debug.h.in AK/Debug.h @ONLY)
|
||||||
|
configure_file(../../Kernel/Debug.h.in Kernel/Debug.h @ONLY)
|
||||||
|
|
||||||
include_directories(../../)
|
include_directories(../../)
|
||||||
include_directories(../../Userland/)
|
include_directories(../../Userland/)
|
||||||
|
Loading…
Reference in New Issue
Block a user