[SeaBIOS] [PATCH 07/10] malloc: Introduce common helper alloc_new_detail()