mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
18 lines
354 B
C
18 lines
354 B
C
#ifndef __DEBUG_H__
|
|
#define __DEBUG_H__
|
|
|
|
#include <kmalloc/kmalloc.h>
|
|
#include <mm/alloc_page.h>
|
|
#include <l4/lib/list.h>
|
|
|
|
#if defined(DEBUG)
|
|
#define dprintf printf
|
|
#else
|
|
#define dprintf(...)
|
|
#endif
|
|
|
|
void print_page_area_list(struct page_allocator *p);
|
|
void print_km_area_list(struct link *s);
|
|
void print_km_area(struct km_area *s);
|
|
#endif /* DEBUG_H */
|