drc: some portability fixes
[picodrive.git] / cpu / drc / cmn.c
1 /*
2  * PicoDrive
3  * Copyright (C) 2009,2010 notaz
4  *
5  * This work is licensed under the terms of MAME license.
6  * See COPYING file in the top-level directory.
7  */
8 #include <stdio.h>
9
10 #include <pico/pico.h>
11 #include "cmn.h"
12
13 u8 __attribute__((aligned(4096))) tcache[DRC_TCACHE_SIZE];
14
15
16 void drc_cmn_init(void)
17 {
18         plat_mem_set_exec(tcache, sizeof(tcache));
19 }
20
21 void drc_cmn_cleanup(void)
22 {
23 }