mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 18:05:08 +00:00
Kernel: Get rid of the "cool globals" thingy.
This was something I used while debugging with Computron. I haven't needed it for months, so let's get rid of it. It's trivial to readd if needed.
This commit is contained in:
parent
84f96c393c
commit
a9d09e9020
3 changed files with 5 additions and 28 deletions
|
@ -1,15 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
#include "Syscall.h"
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
#include <AK/InlineLinkedList.h>
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <AK/WeakPtr.h>
|
||||
#include <AK/Weakable.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
#include <Kernel/Syscall.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
|
||||
#include <Kernel/Thread.h>
|
||||
#include <Kernel/Lock.h>
|
||||
|
||||
|
@ -17,17 +18,6 @@ class FileDescriptor;
|
|||
class PageDirectory;
|
||||
class Region;
|
||||
class VMObject;
|
||||
class Zone;
|
||||
class WSWindow;
|
||||
class GraphicsBitmap;
|
||||
|
||||
#define COOL_GLOBALS
|
||||
#ifdef COOL_GLOBALS
|
||||
struct CoolGlobals {
|
||||
pid_t current_pid;
|
||||
};
|
||||
extern CoolGlobals* g_cool_globals;
|
||||
#endif
|
||||
|
||||
void kgettimeofday(timeval&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue