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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/**
* @ingroup emu68_lib
* @file emu68/ioplug68.h
* @date 1999/03/13
* @brief 68k IO plugger header.
* @author Benjamin Gerard
*
*/
/* Copyright (C) 1998-2011 Benjamin Gerard */
/**
* @defgroup emu68_lib_ioplug 68k IO plugger
* @ingroup emu68_lib_api
* @brief IO plugging and mapping facilities.
*
* Provide functions for warm plugging/unplugging of IO
* chipset. Limitations are explained in @ref emu68_mem68_devel "68k
* memory and IO manager" detailed description.
*
* @{
*/
/** Unplug all IO.
*
* Process emu68_ioplug_unplug() function for all pluged IO.
*
*/
void ;
/** Unplug and destroy all IO.
*
* Process emu68_ioplug_unplug() function for all pluged IO and
* destroy each io by calling its io68_t::destroy function.
*
*/
void ;
/** Unplug an IO.
*
* The emu68_ioplug_unplug() function removes an IO from pluged IO
* list and reset memory access handler for its area.
*
* @param io Address of IO structure to unplug.
*
* @return error-code
* @retval 0 Success
* @retval <0 Error (probably no matching IO)
*/
int ;
/** Plug an IO.
*
* The emu68_ioplug() function add an IO to pluged IO list and add
* suitable memory access handlers.
*
* @param io Address of IO structure to plug.
*/
void ;
/**
* @}
*/
/* #ifndef _EMU68_IOPLUG68_H_ */