semihosting.h 385 B

1234567891011121314151617
  1. /*
  2. * Copyright 2014 Broadcom Corporation
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __SEMIHOSTING_H__
  7. #define __SEMIHOSTING_H__
  8. /*
  9. * ARM semihosting functions for loading images to memory. See the source
  10. * code for more information.
  11. */
  12. int smh_load(const char *fname, void *memp, int avail, int verbose);
  13. long smh_len(const char *fname);
  14. #endif /* __SEMIHOSTING_H__ */