1.1 --- a/pkg/landfall-examples/ci20_leds/ci20_leds.c Tue Sep 27 23:21:50 2022 +0200
1.2 +++ b/pkg/landfall-examples/ci20_leds/ci20_leds.c Sun May 28 22:35:09 2023 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
1.6 * economic rights: Technische Universität Dresden (Germany)
1.7 - * Copyright (C) 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2017, 2018, 2023 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This file is part of TUD:OS and distributed under the terms of the
1.11 * GNU General Public License 2.
1.12 @@ -23,6 +23,7 @@
1.13 #include <l4/sys/icu.h>
1.14 #include <l4/sys/ipc.h>
1.15 #include <l4/sys/irq.h>
1.16 +#include <l4/sys/rcv_endpoint.h>
1.17 #include <l4/vbus/vbus.h>
1.18 #include <stdio.h>
1.19 #include <unistd.h>
1.20 @@ -224,7 +225,7 @@
1.21
1.22 /* Attach ourselves to the interrupt handler. */
1.23
1.24 - tag = l4_irq_attach(irqcap, 0xDEAD, l4re_env()->main_thread);
1.25 + tag = l4_rcv_ep_bind_thread(irqcap, l4re_env()->main_thread, 0xDEAD);
1.26
1.27 if ((err = l4_error(tag)))
1.28 {