Not much progess. Priority has to be in fixing debug_printf.

This commit is contained in:
Simon Brooke 2026-04-23 12:29:10 +01:00
parent aa0d60bbed
commit dd4176e20b
3 changed files with 13 additions and 8 deletions

View file

@ -109,8 +109,11 @@ struct pso_pointer pop_freelist( uint8_t size_class ) {
* on the freelist, but again we should sanity check. */
if ( object->header.count != 0 ) {
fwprintf( stderr,
L"WARNING: Request to allocate object of size class %d, which is not implemented",
size_class );
L"WARNING: Count of %d in newly allocated object at %d, %d, should be 0\n",
result.page,
result.offset,
object->header.count );
object->header.count = 0;
}
}
} // TODO: else throw exception