cache.h 561 B

12345678910111213141516171819202122
  1. /*
  2. TinyLoad - a simple region free (original) game launcher in 4k
  3. # This code is licensed to you under the terms of the GNU GPL, version 2;
  4. # see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
  5. */
  6. /* This code comes from the Twilight Hack */
  7. // Copyright 2008-2009 Segher Boessenkool <segher@kernel.crashing.org>
  8. // Copyright 2008-2009 Hector Martin <marcan@marcansoft.com>
  9. #ifndef __CACHE_H__
  10. #define __CACHE_H__
  11. #include "types.h"
  12. void sync_before_read(void *p, u32 len);
  13. void sync_after_write(const void *p, u32 len);
  14. #endif