debuggers.hg
diff xen/include/asm-x86/shadow.h @ 3664:8472fafee3cf
bitkeeper revision 1.1159.212.74 (42015ef3sPQp8pjeJAck1wBtTAYL9g)
Interface to typed allocator is now just xmalloc/xmalloc_array/xfree.
_xmalloc/_xmalloc_array are dead (or, at least, non-API).
Signed-off-by: keir.fraser@cl.cam.ac.uk
Interface to typed allocator is now just xmalloc/xmalloc_array/xfree.
_xmalloc/_xmalloc_array are dead (or, at least, non-API).
Signed-off-by: keir.fraser@cl.cam.ac.uk
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Wed Feb 02 23:14:59 2005 +0000 (2005-02-02) |
parents | 0ef6e8e6e85d |
children | 07d5c9548534 |
line diff
1.1 --- a/xen/include/asm-x86/shadow.h Wed Feb 02 22:31:42 2005 +0000 1.2 +++ b/xen/include/asm-x86/shadow.h Wed Feb 02 23:14:59 2005 +0000 1.3 @@ -616,8 +616,8 @@ static inline void set_shadow_status( 1.4 { 1.5 SH_LOG("Allocate more shadow hashtable blocks."); 1.6 1.7 - extra = _xmalloc( 1.8 - sizeof(void *) + (shadow_ht_extra_size * sizeof(*x))); 1.9 + extra = (struct shadow_status *)xmalloc( 1.10 + u8[sizeof(void *) + (shadow_ht_extra_size * sizeof(*x))]); 1.11 1.12 /* XXX Should be more graceful here. */ 1.13 if ( extra == NULL )