Kernel: Move headers intended for userspace use into Kernel/API/

This commit is contained in:
Andreas Kling 2020-07-04 17:22:23 +02:00
parent ca93c22ae2
commit 11c4a28660
Notes: sideshowbarker 2024-07-19 05:11:23 +09:00
63 changed files with 61 additions and 61 deletions

View file

@ -28,7 +28,7 @@
#include <AK/SharedBuffer.h>
#include <AK/kmalloc.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <stdio.h>
#include <serenity.h>

View file

@ -26,7 +26,7 @@
#include "HexEditor.h"
#include <AK/StringBuilder.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGfx/Palette.h>
#include <LibGUI/Action.h>
#include <LibGUI/Clipboard.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibCore/ArgsParser.h>
#include <LibGUI/AboutDialog.h>
#include <LibGUI/Action.h>

View file

@ -31,7 +31,7 @@
#include <AK/Types.h>
#include <Kernel/Devices/CharacterDevice.h>
#include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <Kernel/Random.h>
#include <LibKeyboard/CharacterMap.h>

View file

@ -29,7 +29,7 @@
#include <AK/CircularQueue.h>
#include <Kernel/Devices/CharacterDevice.h>
#include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/MousePacket.h>
#include <Kernel/API/MousePacket.h>
#include <Kernel/Random.h>
namespace Kernel {

View file

@ -29,7 +29,7 @@
#include <Kernel/Arch/i386/CPU.h>
#include <Kernel/CommandLine.h>
#include <Kernel/Devices/VMWareBackdoor.h>
#include <Kernel/MousePacket.h>
#include <Kernel/API/MousePacket.h>
#include <Kernel/IO.h>
namespace Kernel {

View file

@ -29,7 +29,7 @@
#include <AK/Optional.h>
#include <AK/Types.h>
#include <AK/kmalloc.h>
#include <Kernel/MousePacket.h>
#include <Kernel/API/MousePacket.h>
namespace Kernel {

View file

@ -36,7 +36,7 @@
#include <Kernel/Interrupts/PIC.h>
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
#include <Kernel/Interrupts/UnhandledInterruptHandler.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/TypedMapping.h>

View file

@ -66,7 +66,7 @@
#include <Kernel/Scheduler.h>
#include <Kernel/SharedBuffer.h>
#include <Kernel/StdLib.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/TTY/MasterPTY.h>
#include <Kernel/TTY/TTY.h>
#include <Kernel/Thread.h>

View file

@ -37,7 +37,7 @@
#include <Kernel/Forward.h>
#include <Kernel/Lock.h>
#include <Kernel/StdLib.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/Thread.h>
#include <Kernel/UnixTypes.h>
#include <Kernel/VM/RangeAllocator.h>

View file

@ -28,7 +28,7 @@
#include <Kernel/KResult.h>
#include <Kernel/Process.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <LibC/sys/arch/i386/regs.h>
namespace Ptrace {

View file

@ -27,7 +27,7 @@
#include <Kernel/Arch/i386/CPU.h>
#include <Kernel/Process.h>
#include <Kernel/Random.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/ThreadTracer.h>
#include <Kernel/VM/MemoryManager.h>

View file

@ -26,7 +26,7 @@
#include <AK/Assertions.h>
#include <AK/StdLibExtras.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <mman.h>
#include <stdio.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <poll.h>
#include <sys/time.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <sched.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <serenity.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <assert.h>
#include <errno.h>
#include <setjmp.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <assert.h>
#include <errno.h>
#include <stdio.h>

View file

@ -30,7 +30,7 @@
#include <AK/ScopedValueRollback.h>
#include <AK/StdLibExtras.h>
#include <AK/kmalloc.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <assert.h>
#include <errno.h>
#include <fcntl.h>

View file

@ -30,7 +30,7 @@
#include <AK/StdLibExtras.h>
#include <AK/Types.h>
#include <AK/Utf8View.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <alloca.h>
#include <assert.h>
#include <ctype.h>

View file

@ -25,7 +25,7 @@
*/
#include <AK/LogStream.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <sys/ptrace.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <stdio.h>
#include <sys/select.h>

View file

@ -25,7 +25,7 @@
*/
#include <AK/Assertions.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <stdio.h>
#include <sys/socket.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <sys/uio.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <assert.h>
#include <sys/wait.h>
#include <unistd.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <assert.h>
#include <errno.h>
#include <sys/ioctl.h>

View file

@ -26,7 +26,7 @@
#include <AK/String.h>
#include <AK/StringBuilder.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <assert.h>
#include <errno.h>
#include <stdio.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <sys/times.h>

View file

@ -27,7 +27,7 @@
#include <AK/ScopedValueRollback.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <alloca.h>
#include <assert.h>
#include <errno.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <string.h>
#include <utime.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <sys/utsname.h>

View file

@ -25,7 +25,7 @@
*/
#ifdef __serenity__
# include <Kernel/Syscall.h>
# include <Kernel/API/Syscall.h>
#endif
#include <LibCore/File.h>
#include <errno.h>

View file

@ -26,7 +26,7 @@
#include <AK/StringBuilder.h>
#include <AK/Vector.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/AbstractView.h>
#include <LibGUI/DragOperation.h>
#include <LibGUI/Model.h>

View file

@ -25,7 +25,7 @@
*/
#include <AK/StringBuilder.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/Action.h>
#include <LibGUI/ActionGroup.h>
#include <LibGUI/Button.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/CheckBox.h>
#include <LibGUI/Painter.h>
#include <LibGfx/CharacterBitmap.h>

View file

@ -25,7 +25,7 @@
*/
#include <AK/StringBuilder.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibCore/MimeData.h>
#include <LibGUI/Event.h>

View file

@ -28,7 +28,7 @@
#include <AK/StringBuilder.h>
#include <AK/Vector.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibCore/Event.h>
#include <LibGUI/WindowType.h>
#include <LibGfx/Point.h>

View file

@ -25,7 +25,7 @@
*/
#include <AK/StringBuilder.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/DragOperation.h>
#include <LibGUI/IconView.h>
#include <LibGUI/Model.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/ListView.h>
#include <LibGUI/Model.h>
#include <LibGUI/Painter.h>

View file

@ -27,7 +27,7 @@
#pragma once
#include <AK/Traits.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
namespace GUI {

View file

@ -25,7 +25,7 @@
*/
#include <AK/StringBuilder.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/Action.h>
#include <LibGUI/Menu.h>
#include <LibGUI/Model.h>

View file

@ -26,7 +26,7 @@
#include <AK/QuickSort.h>
#include <AK/StringBuilder.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibCore/Timer.h>
#include <LibGUI/Action.h>
#include <LibGUI/Clipboard.h>

View file

@ -26,7 +26,7 @@
#include "CharacterMap.h"
#include <AK/StringBuilder.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#ifndef KERNEL
# include <LibKeyboard/CharacterMapFile.h>
#endif

View file

@ -27,7 +27,7 @@
#pragma once
#include <AK/String.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibKeyboard/CharacterMapData.h>
namespace Keyboard {

View file

@ -27,7 +27,7 @@
#include <AK/Assertions.h>
#include <AK/Atomic.h>
#include <AK/StdLibExtras.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <limits.h>
#include <pthread.h>
#include <serenity.h>

View file

@ -30,7 +30,7 @@
#include <AK/NonnullOwnPtrVector.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibVT/Line.h>
#include <LibVT/Position.h>

View file

@ -32,7 +32,7 @@
#include <AK/StringBuilder.h>
#include <AK/Utf32View.h>
#include <AK/Utf8View.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibCore/ConfigFile.h>
#include <LibCore/MimeData.h>
#include <LibDesktop/Launcher.h>

View file

@ -27,7 +27,7 @@
#pragma once
#include <AK/String.h>
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibCore/Event.h>
#include <LibGfx/Rect.h>
#include <WindowServer/Cursor.h>

View file

@ -24,8 +24,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/KeyCode.h>
#include <Kernel/MousePacket.h>
#include <Kernel/API/KeyCode.h>
#include <Kernel/API/MousePacket.h>
#include <LibCore/LocalSocket.h>
#include <LibCore/Object.h>
#include <WindowServer/ClientConnection.h>

View file

@ -29,8 +29,8 @@
#include "Event.h"
#include "EventLoop.h"
#include "WindowManager.h"
#include <Kernel/FB.h>
#include <Kernel/MousePacket.h>
#include <Kernel/API/FB.h>
#include <Kernel/API/MousePacket.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/mman.h>

View file

@ -26,7 +26,7 @@
#pragma once
#include <Kernel/KeyCode.h>
#include <Kernel/API/KeyCode.h>
#include <LibGfx/Color.h>
#include <LibGfx/Rect.h>
#include <LibGfx/Size.h>

View file

@ -27,7 +27,7 @@
#include <AK/Function.h>
#include <AK/String.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/IO.h>
#include <LibCore/ArgsParser.h>
#include <stdio.h>

View file

@ -32,7 +32,7 @@
#include <AK/NonnullOwnPtr.h>
#include <AK/StringBuilder.h>
#include <AK/kmalloc.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <LibC/sys/arch/i386/regs.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/File.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <serenity.h>
#include <stdio.h>
#include <string.h>

View file

@ -27,7 +27,7 @@
#include <AK/Assertions.h>
#include <AK/LogStream.h>
#include <AK/Types.h>
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <LibC/sys/arch/i386/regs.h>
#include <LibCore/ArgsParser.h>
#include <signal.h>

View file

@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Syscall.h>
#include <Kernel/API/Syscall.h>
#include <errno.h>
#include <getopt.h>
#include <stdint.h>