diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-16 11:34:54 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-16 11:34:54 +0200 |
commit | 204fb2733323321027628ce032ce19de4cb0bff6 (patch) | |
tree | f5f70d37b428fedeadc56b9f24884456d5efc529 | |
parent | 2d35810e0a4d71a12efc33f23f6c79333f91d139 (diff) | |
download | serenity-204fb2733323321027628ce032ce19de4cb0bff6.zip |
Kernel: Remove now-unused KernelInfoPage.h
-rw-r--r-- | Kernel/KernelInfoPage.h | 40 | ||||
-rw-r--r-- | Kernel/Process.cpp | 1 | ||||
-rw-r--r-- | Libraries/LibC/time.cpp | 1 |
3 files changed, 0 insertions, 42 deletions
diff --git a/Kernel/KernelInfoPage.h b/Kernel/KernelInfoPage.h deleted file mode 100644 index 122615c527..0000000000 --- a/Kernel/KernelInfoPage.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> - * 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 - -#include <AK/Types.h> - -#ifdef KERNEL -# include <Kernel/UnixTypes.h> -#else -# include <sys/time.h> -#endif - -struct KernelInfoPage { - volatile u32 serial; - volatile struct timeval now; -}; diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 0ea945c842..25421029e2 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -51,7 +51,6 @@ #include <Kernel/Heap/kmalloc.h> #include <Kernel/KBufferBuilder.h> #include <Kernel/KSyms.h> -#include <Kernel/KernelInfoPage.h> #include <Kernel/Module.h> #include <Kernel/Multiboot.h> #include <Kernel/Net/Socket.h> diff --git a/Libraries/LibC/time.cpp b/Libraries/LibC/time.cpp index 602ac54e3a..4d19b2134b 100644 --- a/Libraries/LibC/time.cpp +++ b/Libraries/LibC/time.cpp @@ -26,7 +26,6 @@ #include <AK/String.h> #include <AK/StringBuilder.h> -#include <Kernel/KernelInfoPage.h> #include <Kernel/Syscall.h> #include <assert.h> #include <errno.h> |