include/mgba/internal/ds/bios.h (view raw)
1/* Copyright (c) 2013-2016 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#ifndef DS_BIOS_H
7#define DS_BIOS_H
8
9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13#include <mgba/core/log.h>
14
15mLOG_DECLARE_CATEGORY(DS_BIOS);
16
17struct ARMCore;
18void DS7Swi16(struct ARMCore* cpu, int immediate);
19void DS7Swi32(struct ARMCore* cpu, int immediate);
20void DS9Swi16(struct ARMCore* cpu, int immediate);
21void DS9Swi32(struct ARMCore* cpu, int immediate);
22
23extern const uint32_t DS7_BIOS_CHECKSUM;
24extern const uint32_t DS9_BIOS_CHECKSUM;
25
26CXX_GUARD_END
27
28#endif