예제 #1
0
파일: emulator.c 프로젝트: reyheaven/PiEmu
void
emulator_destroy(emulator_t* emu)
{
  fb_destroy(&emu->fb);
  pr_destroy(&emu->pr);
  mbox_destroy(&emu->mbox);
  gpio_destroy(&emu->gpio);
  cpu_destroy(&emu->cpu);
  vfp_destroy(&emu->vfp);
  memory_destroy(&emu->memory);
}
예제 #2
0
/** Delete an mbox
 * @param mbox mbox to delete */
void sys_mbox_free(sys_mbox_t *mbox)
{
	mbox_destroy(mbox);
}
예제 #3
0
void rq_close(rqueue *rq)
{
	mbox_destroy((struct mbox *) rq);
}