[refcnt] Add ref_no_free handler
authorJoshua Oreman <oremanj@rwcr.net>
Thu, 26 Nov 2009 01:27:50 +0000 (17:27 -0800)
committerStefan Hajnoczi <stefanha@gmail.com>
Wed, 7 Jul 2010 19:22:19 +0000 (20:22 +0100)
commit48547946808ead01537c66d0dc725ef0907ffa1a
tree830e351015d2c93f1bab38887f957f93d25bd1b9
parentecd0bd604114a3f0778ada68643565f4a1724b5a
[refcnt] Add ref_no_free handler

Since more reference-counted structures than embedded images might
want to mark themselves unfreeable, expose a dummy ref_no_free().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
src/core/refcnt.c
src/image/embedded.c
src/include/gpxe/refcnt.h