summaryrefslogtreecommitdiff
path: root/Kernel/kmalloc.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-27 00:14:24 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-27 00:14:24 +0200
commit2716a9e2d7ceb92e66ed486b4d6797caf8be4efd (patch)
tree63ad0a1966118432fe3146814ef7a530d8922af0 /Kernel/kmalloc.h
parentc928b062180b10a9908325727e18483e029edada (diff)
downloadserenity-2716a9e2d7ceb92e66ed486b4d6797caf8be4efd.zip
Greatly improve /proc/PID/stack by tracing the ebp frame chain.
I also added a generator cache to FileHandle. This way, multiple reads to a generated file (i.e in a synthfs) can transparently handle multiple calls to read() without the contents changing between calls. The cache is discarded at EOF (or when the FileHandle is destroyed.)
Diffstat (limited to 'Kernel/kmalloc.h')
-rw-r--r--Kernel/kmalloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/kmalloc.h b/Kernel/kmalloc.h
index 3862b68aef..e0b5ac4955 100644
--- a/Kernel/kmalloc.h
+++ b/Kernel/kmalloc.h
@@ -4,6 +4,8 @@ void kmalloc_init();
void *kmalloc(DWORD size) __attribute__ ((malloc));
void kfree(void*);
+bool is_kmalloc_address(void*);
+
extern volatile DWORD sum_alloc;
extern volatile DWORD sum_free;