History log of /seL4-camkes-master/tools/rumprun/platform/hw/intr.c
Revision Date Author Comments
# 1692a188 11-Jul-2018 Damon Lee <Damon.Lee@data61.csiro.au>

Add GCC macros to detect x86 compilation and add x86 compatible code

serialcons_putc is not available on ARM platforms.


# 1f7cabf8 16-Oct-2017 Kent McLeod <Kent.Mcleod@data61.csiro.au>

Update hw for benchmarking and api changes

The hw platform is maintained in order to run benchmark comparisons with
the seL4 platform. As we develop the seL4 platform we change some of
the library apis. This commit adds:
- Extra interrupt numbers to the PIC
- A serial input interrupt handler for saving, resetting and printing
the tsc for measuring idle time
- Changes default console output to use COM port instead of VGA
- Changes for changed library functions
- A rumprun-bake configuration for only using ethernet modules


# 8391b974 19-Feb-2016 Antti Kantee <pooka@iki.fi>

space -> tab indent

no functional change (one would at least hope ...)


# 0127af0f 19-Feb-2016 Antti Kantee <pooka@iki.fi>

Treat routed and non-routed interrupts separately.

For systems with routed interrupts, we don't know exactly
how they're routed (since we don't parse acpi tables or
mpbios or any of that rubbish). However, for bog-standard
ISA interrupts we do know where they'll appear. So avoid
calling the non-routed interrupt handler in case of a routed
interrupt and vice versa.


# 17dd8ebc 17-Feb-2016 Antti Kantee <pooka@iki.fi>

also voidify intr_init()


# 0174f250 17-Feb-2016 Antti Kantee <pooka@iki.fi>

p-p-p-p-panic: make bmk_isr_rumpkernel() type void

In other words: just panic if something doesn't work out.
It's ~100% likely that the resulting state would not be what
the user wanted in case we'd return an error.


# aa2ab16d 16-Feb-2016 Antti Kantee <pooka@iki.fi>

Rename bmk_isr_init -> bmk_isr_rumpkernel

The established handler will always call the rump kernel, so
reflect that in the name. Also, give it a flags parameter
(always 0 for now).


# a340c6b8 30-Oct-2015 Antti Kantee <pooka@iki.fi>

Disable "stray interrupt" print

Doesn't convey anything useful in its current state.


# 800a221b 12-Oct-2015 Antti Kantee <pooka@iki.fi>

<bmk-rumpuser/core_types.h> needed here too


# f45f7067 15-Aug-2015 Antti Kantee <pooka@iki.fi>

make stray interrupt print "work" under BMK_INTRLEVS == 1


# eca57de8 15-Aug-2015 Antti Kantee <pooka@iki.fi>

Make isr_todo a volatile.

It's set in the interrupt handler and examined in thread context.


# 85bd3334 13-Aug-2015 Antti Kantee <pooka@iki.fi>

Flag interrupts we tried to handle as processed for cpu_intr_ack().

If we mark only ones which were acknowledged by devices, buggy
drivers may disable interrupts unwillingly. Of course, the flipside
is that buggy drivers with level-triggered interrupts will perpetually
raise the interrupt. Not quite what to do about that. But at least
ARM/integratorcp interrupts work now (or, will work after the next, MD
commit).


# 837625f1 13-Aug-2015 Antti Kantee <pooka@iki.fi>

pass info on which interrupts where handled to cpu_intr_ack()


# d22cc02b 12-Aug-2015 Antti Kantee <pooka@iki.fi>

Pass interrupt as a mask instead of shift to isr()

On some platforms (e.g. ARM) we get the mask but not the shift(s),
so this makes like a bit easier there.


# 4f49cab4 02-Aug-2015 Antti Kantee <pooka@iki.fi>

actually commit the code changes too (for previous commit)


# 77fa03e0 02-Aug-2015 Antti Kantee <pooka@iki.fi>

remove bmk_ prefix from routines private to platform/hw


# 8874ba38 22-Jun-2015 Martin Lucina <martin@lucina.net>

hw: Consolidate clock-related code

This commit consolidates the common clock-related functions for the x86
and amd64 hw platform into platform/hw/arch/x86/clock.c.

No functional change intended.


# c15cd4d4 10-Jun-2015 Antti Kantee <pooka@iki.fi>

if compiled with BMK_SCREW_INTERRUPT_ROUTING, use only one level


# 49deaf0d 02-Jun-2015 Antti Kantee <pooka@iki.fi>

Start introducing memory allocation arenas to bmk_memalloc.

Step 1: include information on who is allocation memory
in the memory allocation requests.


# 5910b1a8 29-May-2015 Antti Kantee <pooka@iki.fi>

use assert() for invariants


# 0d487216 29-May-2015 Antti Kantee <pooka@iki.fi>

judge stray interrupts per wakeup, not per loop


# bca794b5 27-May-2015 Antti Kantee <pooka@iki.fi>

Rename baremetal -> hw, as discussed on rumpkernel-users

Migration: use "hw" where you would have previously used "baremetal".