Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212064
b: refs/heads/master
c: 161b027
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and H. Peter Anvin committed Oct 6, 2010
1 parent 7da5ab0 commit 97c3b7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ee48b6af49cf534ca2f481ecc484b156a41451d
refs/heads/master: 161b0275e2311b8bd9609d5f32e2b703cf5d70a8
5 changes: 5 additions & 0 deletions trunk/arch/x86/include/asm/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ void *extend_brk(size_t size, size_t align);
: : "i" (sz)); \
}

/* Helper for reserving space for arrays of things */
#define RESERVE_BRK_ARRAY(type, name, entries) \
type *name; \
RESERVE_BRK(name, sizeof(type) * entries)

#ifdef __i386__

void __init i386_start_kernel(void);
Expand Down

0 comments on commit 97c3b7e

Please sign in to comment.