1/** 2 * \file 3 * \brief Architecture specific dispatcher structure private to the user 4 */ 5 6/* 7 * Copyright (c) 2010, ETH Zurich. 8 * All rights reserved. 9 * 10 * This file is distributed under the terms in the attached LICENSE file. 11 * If you do not find this file, copies can be found by writing to: 12 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 13 */ 14 15#ifndef ARCH_X86_32_BARRELFISH_DISPATCHER_H 16#define ARCH_X86_32_BARRELFISH_DISPATCHER_H 17 18#include <target/x86_32/barrelfish/dispatcher_target.h> 19 20static inline struct dispatcher_generic* 21get_dispatcher_generic(dispatcher_handle_t handle) 22{ 23 return get_dispatcher_generic_x86_32(handle); 24} 25 26static inline size_t get_dispatcher_size(void) 27{ 28 return sizeof(struct dispatcher_x86_32); 29} 30 31#endif // ARCH_X86_32_BARRELFISH_DISPATCHER_H 32