Skip to content

Commit

Permalink
write function page_free for 1 page
Browse files Browse the repository at this point in the history
WARNING: page_alloc/Makefile don't work. #48.
  • Loading branch information
fijiol committed Apr 7, 2010
1 parent 65acff7 commit 292af18
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
13 changes: 13 additions & 0 deletions extended_test/page_alloc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

MACROS = ./macros.h
INCLUDES = ../../src/include

CC = gcc -I $(INCLUDES) -imacros $(MACROS)

page_alloc:
$(CC) ../../src/lib/page_alloc/page_alloc.c

.PHONY: test
test: page_alloc
$(CC) ./test_page_alloc.c

3 changes: 3 additions & 0 deletions extended_test/page_alloc/macros.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

#define EXTENDED_TEST

3 changes: 1 addition & 2 deletions extended_test/page_alloc/test_page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
*/


#define DEBUG_x86_ONLY
#include "page_alloc.h"
#include <lib/page_alloc.h>

#if 0
#include "../../src/lib/page_alloc/page_alloc.c"
Expand Down

0 comments on commit 292af18

Please sign in to comment.