mirror of https://github.com/seL4/microkit.git
23 lines
407 B
C
23 lines
407 B
C
/*
|
|
* Copyright 2021, Breakaway Consulting Pty. Ltd.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
#include <stdint.h>
|
|
#include <sel4cp.h>
|
|
|
|
#define ECHO_CH 2
|
|
|
|
volatile uint64_t *shared_counter = (uint64_t *)(uintptr_t)0x1800000;
|
|
|
|
void
|
|
init(void)
|
|
{
|
|
sel4cp_dbg_puts("capfault: forcing a cap fault by notifying invalid channel 10,000\n");
|
|
sel4cp_notify(10000);
|
|
}
|
|
|
|
void
|
|
notified(sel4cp_channel ch)
|
|
{
|
|
} |