summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/watchdog.h
blob: acebfb9681807e7dfb40ea8b1bfb965be08bc8fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/***************************************************************************

    watchdog.h

    Watchdog handling

    Copyright Nicola Salmoria and the MAME Team.
    Visit http://mamedev.org for licensing and usage restrictions.

***************************************************************************/

#pragma once

#ifndef __EMU_H__
#error Dont include this file directly; include emu.h instead.
#endif

#ifndef __WATCHDOG_H__
#define __WATCHDOG_H__


/* startup */
void watchdog_init(running_machine *machine);

/* reset the watchdog */
void watchdog_reset(running_machine *machine);

/* enable/disable the watchdog */
void watchdog_enable(running_machine *machine, int enable);


#endif	/* __WATCHDOG_H__ */