1 /* 2 * Copyright (c) 2008 Travis Geiselbrecht 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 #include <lk/list.h> 11 #include <sys/types.h> 12 13 typedef void (*dpc_callback)(void *arg); 14 15 #define DPC_FLAG_NORESCHED 0x1 16 17 status_t dpc_queue(dpc_callback, void *arg, uint flags); 18 19