From 5c1e2da736a77fc7172da2c621310a9ceaf1e6ce Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 6 Jul 2011 03:48:40 +0200 Subject: Support alignments in kmem allocation --- kmem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kmem.h') diff --git a/kmem.h b/kmem.h index 985864d..a92d55a 100644 --- a/kmem.h +++ b/kmem.h @@ -11,6 +11,9 @@ typedef struct { // uintptr_t va; void *ua; size_t size; + + size_t alignment_offset; + size_t mmap_offset; } pcilib_kmem_addr_t; /** -- cgit v1.2.3