1/* 2 * Copyright (c) 2012, ETH Zurich. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#ifndef DOM_INVOCATIONS_H 11#define DOM_INVOCATIONS_H 12 13#include <barrelfish/invocations_arch.h> 14#include "domcap.h" 15 16static inline errval_t dom_cnode_get_state(struct domcapref cap, distcap_state_t *ret) 17{ 18 return invoke_cnode_get_state(cap.croot, cap.cptr, cap.level, ret); 19} 20static inline errval_t dom_cnode_delete(struct domcapref cap) 21{ 22 return invoke_cnode_delete(cap.croot, cap.cptr, cap.level); 23} 24 25#endif 26