paul@93 | 1 | /* |
paul@93 | 2 | * Interprocess communication utilities. |
paul@93 | 3 | * |
paul@93 | 4 | * Copyright (C) 2021 Paul Boddie <paul@boddie.org.uk> |
paul@93 | 5 | * |
paul@93 | 6 | * This program is free software; you can redistribute it and/or |
paul@93 | 7 | * modify it under the terms of the GNU General Public License as |
paul@93 | 8 | * published by the Free Software Foundation; either version 2 of |
paul@93 | 9 | * the License, or (at your option) any later version. |
paul@93 | 10 | * |
paul@93 | 11 | * This program is distributed in the hope that it will be useful, |
paul@93 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
paul@93 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
paul@93 | 14 | * GNU General Public License for more details. |
paul@93 | 15 | * |
paul@93 | 16 | * You should have received a copy of the GNU General Public License |
paul@93 | 17 | * along with this program; if not, write to the Free Software |
paul@93 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, |
paul@93 | 19 | * Boston, MA 02110-1301, USA |
paul@93 | 20 | */ |
paul@93 | 21 | |
paul@2 | 22 | #pragma once |
paul@2 | 23 | |
paul@2 | 24 | #include <l4/sys/ipc.h> |
paul@2 | 25 | |
paul@94 | 26 | #include <mem/flexpage.h> |
paul@2 | 27 | |
paul@2 | 28 | |
paul@2 | 29 | |
paul@92 | 30 | long ipc_prepare_flexpage(Flexpage *flexpage, offset_t offset, |
paul@92 | 31 | offset_t max_offset, address_t hot_spot, |
paul@86 | 32 | flags_t flags, l4_snd_fpage_t *region); |
paul@4 | 33 | |
paul@4 | 34 | void ipc_unmap_flexpage(Flexpage *flexpage); |
paul@2 | 35 | |
paul@2 | 36 | // vim: tabstop=4 expandtab shiftwidth=4 |