• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include <zircon/syscalls.h>
2include <zircon/types.h>
3
4resource zx_interrupt[intptr]
5
6cache_flush_flags = ZX_CACHE_FLUSH_DATA, ZX_CACHE_FLUSH_INVALIDATE, ZX_CACHE_FLUSH_INSN
7
8zx_cache_flush(addr ptr[out, intptr], size int64, flags flags[cache_flush_flags])
9# TODO: enable modes other than ZX_INTERRUPT_VIRTUAL
10zx_interrupt_create(src_obj const[0], src_num const[0], options const[ZX_INTERRUPT_VIRTUAL], interrupt ptr[out, zx_interrupt])
11zx_interrupt_ack(interrupt zx_interrupt)
12zx_interrupt_destroy(interrupt zx_interrupt)
13# TODO fill out remaining interrupt syscalls
14