]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libsigma0/lib/src/debug.c
Inital import
[l4.git] / l4 / pkg / libsigma0 / lib / src / debug.c
1 /*
2  * (c) 2008-2009 Technische Universität Dresden
3  * This file is part of TUD:OS and distributed under the terms of the
4  * GNU Lesser General Public License 2.1.
5  * Please see the COPYING-LGPL-2.1 file for details.
6  */
7
8 #include <l4/sys/ipc.h>
9 #include <l4/sigma0/sigma0.h>
10
11 void
12 l4sigma0_debug_dump(l4_cap_idx_t pager)
13 {
14   l4_msgtag_t tag = l4_msgtag(L4_PROTO_SIGMA0, 1, 0, 0);
15   l4_utcb_mr()->mr[0] = SIGMA0_REQ_DEBUG_DUMP;
16
17   l4_ipc_call(pager, l4_utcb(), tag, L4_IPC_NEVER);
18 }