cleanup BdsBoot.c