drc: some portability fixes
[picodrive.git] / cpu / drc / cmn.c
CommitLineData
cff531af 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 */
41397701 8#include <stdio.h>
41397701 9
c25d78ee 10#include <pico/pico.h>
41397701 11#include "cmn.h"
12
f4bb5d6b 13u8 __attribute__((aligned(4096))) tcache[DRC_TCACHE_SIZE];
41397701 14
15
16void drc_cmn_init(void)
17{
c25d78ee 18 plat_mem_set_exec(tcache, sizeof(tcache));
41397701 19}
20
41397701 21void drc_cmn_cleanup(void)
22{
41397701 23}