diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-01-20 17:46:21 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-01-20 17:46:21 +0000 |
commit | 998e67add27c5d47a9db2f6f8021ba2231220156 (patch) | |
tree | 216952ab66d0195bfb77511a63d4cb23e7c46c0a /sys/arch | |
parent | 2993320f1d05659f7e2abcc6c94b49ca0057621f (diff) |
Add dummy versions of bus_space_{alloc,free}
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amiga/include/bus.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/arch/amiga/include/bus.h b/sys/arch/amiga/include/bus.h index 4eeb17b2592..3c230593024 100644 --- a/sys/arch/amiga/include/bus.h +++ b/sys/arch/amiga/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.8 1998/10/05 09:58:21 niklas Exp $ */ +/* $OpenBSD: bus.h,v 1.9 1999/01/20 17:46:20 niklas Exp $ */ /* * Copyright (c) 1996 Niklas Hallqvist. @@ -315,4 +315,19 @@ bus_space_write_raw_region_4(bus_space_tag_t bst, bus_space_handle_t bsh, #define bus_space_write_raw_region_8 \ !!! bus_space_write_raw_region_8 not implemented !!! +static __inline int +bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend, + bus_size_t size, bus_size_t alignment, bus_size_t boundary, + int cacheable, bus_addr_t *bpap, bus_space_handle_t *bshp) +{ + /* XXX Always fail for now. */ + return (1); +} + +static __inline void +bus_space_free(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size) +{ + /* XXX Nothing here yet. */ +} + #endif /* _AMIGA_BUS_H_ */ |