aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/alloc_SUITE_data/allocator_test.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-05-21 15:53:29 +0200
committerSverker Eriksson <[email protected]>2013-06-03 14:24:24 +0200
commit473612d16e75e8c01cbf7725205418700c389759 (patch)
tree43f0b8fd11172dafd4530caf7ad3b11673308c44 /erts/emulator/test/alloc_SUITE_data/allocator_test.h
parent5803c8c83ea7b44127d3d4e80b0a4ea308f5f4e9 (diff)
downloadotp-473612d16e75e8c01cbf7725205418700c389759.tar.gz
otp-473612d16e75e8c01cbf7725205418700c389759.tar.bz2
otp-473612d16e75e8c01cbf7725205418700c389759.zip
erts: Add test for add_mbc and remove_mbc callbacks
Diffstat (limited to 'erts/emulator/test/alloc_SUITE_data/allocator_test.h')
-rw-r--r--erts/emulator/test/alloc_SUITE_data/allocator_test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/allocator_test.h b/erts/emulator/test/alloc_SUITE_data/allocator_test.h
index c08398d40f..f1d6d59211 100644
--- a/erts/emulator/test/alloc_SUITE_data/allocator_test.h
+++ b/erts/emulator/test/alloc_SUITE_data/allocator_test.h
@@ -76,6 +76,8 @@ typedef void* erts_cond;
#define IS_MBC_FIRST_BLK(A,B) ((Ulong) ALC_TEST2(0x01a, (A), (B)))
#define UNIT_SZ ((Ulong) ALC_TEST0(0x01b))
#define BLK_TO_MBC(B) ((Carrier_t *) ALC_TEST1(0x01c, (B)))
+#define ADD_MBC(A, C) ((void) ALC_TEST2(0x01d, (A), (C)))
+#define REMOVE_MBC(A, C) ((void) ALC_TEST2(0x01e, (A), (C)))
/* From erl_goodfit_alloc.c */
#define BKT_IX(A, S) ((Ulong) ALC_TEST2(0x100, (A), (S)))