fixed a problem with the store: we sometimes lost some memory

This commit is contained in:
ceriel
1989-07-17 15:13:09 +00:00
parent 09a52b8cf2
commit b1ee8fe36b
3 changed files with 20 additions and 0 deletions

View File

@@ -56,6 +56,10 @@ typedef union _inf mallink;
#define checksum_of(ml) (_checksum_of(ml))
#endif CHECK
#define new_mallink(ml) ( _log_prev_of(ml) = 0, \
_log_next_of(ml) = 0, \
_phys_prev_of(ml) = 0, \
_this_size_of(ml) = 0 )
#define block_of_mallink(ml) ((char *)ml)
#define mallink_of_block(addr) ((mallink *)addr)