1/**
2 * \file
3 * \brief contains functions to signal a linux based host
4 */
5
6/*
7 * Copyright (c) 2007, 2008, 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, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
13 */
14
15
16static inline void notify_host(void) {
17    volatile uint32_t *signal;
18    /* XXX this has to be done without MMU enabled or with 1:1 mapping */
19    signal = (uint32_t *)(0x08007D0000ULL + 0x0000AB28);
20   *signal |= 0x1;
21}
22