v_frmbuf_wr
Vitis Drivers API Documentation
platform.h File Reference

Functions

void init_platform ()
 Initializes the platform hardware and enables necessary features. More...
 
void cleanup_platform ()
 Cleans up the platform by disabling caches. More...
 

Function Documentation

void cleanup_platform ( )

Cleans up the platform by disabling caches.

This function is typically called during the shutdown or cleanup phase of the application to ensure that all processor caches are properly disabled before exiting or resetting the system.

References disable_caches().

void init_platform ( )

Initializes the platform hardware and enables necessary features.

This function performs platform-specific initialization steps required before running the main application. It optionally calls ps7_init() for Zynq platforms if running outside of the SDK, enables instruction and data caches, and initializes the UART for standard output.

  • For Zynq: Optionally calls ps7_init() if needed (see comments).
  • Enables processor caches.
  • Initializes UART for console output.

References enable_caches(), and init_uart().

Referenced by main().