BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / bus_managers / isa / isa_arch.h
blob524725ea8442c2930bfe62f9399287549a6a8d69
1 /*
2 * Copyright 2007 Haiku, Inc.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * François Revol (revol@free.fr)
7 */
9 /*
10 ISA bus manager
12 arch-dependant functions
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 /* implemented in arch/<cpu>/ */
20 extern status_t arch_isa_init(void);
21 extern uint8 arch_isa_read_io_8(int mapped_io_addr);
22 extern void arch_isa_write_io_8(int mapped_io_addr, uint8 value);
23 extern uint16 arch_isa_read_io_16(int mapped_io_addr);
24 extern void arch_isa_write_io_16(int mapped_io_addr, uint16 value);
25 extern uint32 arch_isa_read_io_32(int mapped_io_addr);
26 extern void arch_isa_write_io_32(int mapped_io_addr, uint32 value);
27 extern void *arch_isa_ram_address(const void *);
28 extern status_t arch_start_isa_dma(long channel, void *buf,
29 long transfer_count,
30 uchar mode, uchar e_mode);
32 #ifdef __cplusplus
34 #endif