akaros/kern/arch/x86/smp.h
<<
>>
Prefs
   1/*
   2 * Copyright (c) 2009 The Regents of the University of California
   3 * Barret Rhoden <brho@cs.berkeley.edu>
   4 * See LICENSE for details.
   5 */
   6
   7#pragma once
   8
   9#include <atomic.h>
  10
  11// be careful changing this, esp if you go over 16
  12#define NUM_HANDLER_WRAPPERS            5
  13
  14struct HandlerWrapper {
  15        checklist_t* cpu_list;
  16        uint8_t vector;
  17};
  18
  19typedef struct HandlerWrapper handler_wrapper_t;
  20