spl.h (529B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 * 7 * File: spl.h 8 * Purpose: Interrupt Blocking 9 */ 10 11 #ifndef _SAL_SPL_H 12 #define _SAL_SPL_H 13 14 extern int sal_spl_init(void); 15 extern int sal_spl(int level); 16 extern int sal_splhi(void); 17 18 extern int sal_int_locked(void); 19 extern int sal_int_context(void); 20 extern int sal_no_sleep(void); 21 22 #endif /* !_SAL_SPL_H */