1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

Kernel: Move FIFO into FileSystem/ and Socket+LocalSocket into Net/.

This commit is contained in:
Andreas Kling 2019-04-06 20:29:48 +02:00
parent f2580dcfeb
commit 644c887594
15 changed files with 20 additions and 20 deletions

View file

@ -2,7 +2,7 @@
#include <AK/Retainable.h>
#include <AK/Types.h>
#include "FileDescriptor.h"
#include <Kernel/FileSystem/FileDescriptor.h>
class Process;

View file

@ -1,4 +1,4 @@
#include "FIFO.h"
#include <Kernel/FileSystem/FIFO.h>
#include <AK/StdLibExtras.h>
//#define FIFO_DEBUG

View file

@ -4,10 +4,10 @@
#include <LibC/errno_numbers.h>
#include "UnixTypes.h"
#include <AK/BufferStream.h>
#include "FIFO.h"
#include <Kernel/FileSystem/FIFO.h>
#include <Kernel/TTY/TTY.h>
#include <Kernel/TTY/MasterPTY.h>
#include <Kernel/Socket.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/Process.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/VM/MemoryManager.h>

View file

@ -2,13 +2,13 @@
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/FileSystem/InodeMetadata.h>
#include <Kernel/FileSystem/FIFO.h>
#include <Kernel/LinearAddress.h>
#include <Kernel/FIFO.h>
#include <AK/ByteBuffer.h>
#include <AK/CircularQueue.h>
#include <AK/Retainable.h>
#include <AK/Badge.h>
#include <Kernel/Socket.h>
#include <Kernel/Net/Socket.h>
class TTY;
class MasterPTY;

View file

@ -4,7 +4,7 @@
#include <LibC/errno_numbers.h>
#include "FileSystem.h"
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/LocalSocket.h>
#include <Kernel/Net/LocalSocket.h>
static dword s_lastFileSystemID;
static HashMap<dword, FS*>* s_fs_map;

View file

@ -1,5 +1,5 @@
#include <Kernel/FileSystem/SyntheticFileSystem.h>
#include <Kernel/FileDescriptor.h>
#include <Kernel/FileSystem/FileDescriptor.h>
#include <LibC/errno_numbers.h>
#include <AK/StdLibExtras.h>

View file

@ -1,5 +1,5 @@
#include "VirtualFileSystem.h"
#include "FileDescriptor.h"
#include <Kernel/FileSystem/FileDescriptor.h>
#include "FileSystem.h"
#include <AK/FileSystemPath.h>
#include <AK/StringBuilder.h>

View file

@ -25,7 +25,7 @@ KERNEL_OBJS = \
TTY/MasterPTY.o \
TTY/SlavePTY.o \
TTY/VirtualConsole.o \
FIFO.o \
FileSystem/FIFO.o \
Scheduler.o \
DoubleBuffer.o \
ELF/ELFImage.o \
@ -35,8 +35,8 @@ KERNEL_OBJS = \
Devices/BXVGADevice.o \
PCI.o \
Devices/PS2MouseDevice.o \
Socket.o \
LocalSocket.o \
Net/Socket.o \
Net/LocalSocket.o \
Net/IPv4Socket.o \
Net/TCPSocket.o \
Net/UDPSocket.o \

View file

@ -1,6 +1,6 @@
#pragma once
#include <Kernel/Socket.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/DoubleBuffer.h>
#include <Kernel/Net/IPv4.h>
#include <AK/HashMap.h>

View file

@ -1,4 +1,4 @@
#include <Kernel/LocalSocket.h>
#include <Kernel/Net/LocalSocket.h>
#include <Kernel/UnixTypes.h>
#include <Kernel/Process.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <Kernel/Socket.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/DoubleBuffer.h>
class FileDescriptor;

View file

@ -1,5 +1,5 @@
#include <Kernel/Socket.h>
#include <Kernel/LocalSocket.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/Net/LocalSocket.h>
#include <Kernel/Net/IPv4Socket.h>
#include <Kernel/UnixTypes.h>
#include <Kernel/Process.h>

View file

@ -4,7 +4,7 @@
#include "StdLib.h"
#include "i386.h"
#include "system.h"
#include <Kernel/FileDescriptor.h>
#include <Kernel/FileSystem/FileDescriptor.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Devices/NullDevice.h>
#include <Kernel/ELF/ELFLoader.h>
@ -16,9 +16,9 @@
#include <LibC/errno_numbers.h>
#include "Syscall.h"
#include "Scheduler.h"
#include "FIFO.h"
#include <Kernel/FileSystem/FIFO.h>
#include "KSyms.h"
#include <Kernel/Socket.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/TTY/MasterPTY.h>
#include <Kernel/ELF/exec_elf.h>
#include <AK/StringBuilder.h>