BSP and Device Driver Development Guide
The bsp_cleanup()
is the last C code invoked. Most of the BSPs
use the same shared version of bsp_cleanup()
that does nothing.
This implementation is located in the following file:
c/src/lib/libbsp/shared/bspclean.c
The bsp_cleanup()
routine can be used to return to a ROM monitor,
insure that interrupt sources are disabled, etc.. This routine is the
last place to insure a clean shutdown of the hardware.
BSP and Device Driver Development Guide
Copyright © 1988-2000 OAR Corporation