OpenBIC
OpenSource Bridge-IC
plat_isr.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef PLAT_FUNC_H
18#define PLAT_FUNC_H
19
20#include <stdint.h>
21
22#define SMI_STACK_SIZE 1000
23#define SMI_FALLING_INTERRUPT 1
24
25void send_gpio_interrupt(uint8_t gpio_num);
26void ISR_PLTRST();
27void ISR_SLP3();
28void ISR_DC_ON();
29void ISR_BMC_PRDY();
30void ISR_PWRGD_CPU();
31void ISR_CATERR();
32void ISR_DBP_PRSNT();
35void ISR_SYS_THROTTLE();
37void ISR_HSC_OC();
38void ISR_CPU_MEMHOT();
39void ISR_CPUVR_HOT();
43void ISR_HSC_THROTTLE();
44void ISR_NMI();
45void ISR_FIVR();
46void ISR_UV_DETECT();
47void ISR_SMI();
48void ISR_CPU_VPP_INT();
49#endif
void ISR_DC_ON()
Definition: plat_isr.c:101
void ISR_SYS_THROTTLE()
Definition: plat_isr.c:366
void ISR_CATERR()
Definition: plat_isr.c:251
void ISR_CPUVR_HOT()
Definition: plat_isr.c:463
void ISR_HSC_OC()
Definition: plat_isr.c:418
void ISR_PLTRST()
Definition: plat_isr.c:264
void ISR_POST_COMPLETE()
Definition: plat_isr.c:118
void ISR_CPU_MEMHOT()
Definition: plat_isr.c:440
void ISR_PWRGD_CPU()
Definition: plat_isr.c:200
void ISR_SOC_THMALTRIP()
Definition: plat_isr.c:338
void ISR_SMI()
Definition: plat_isr.c:549
void send_gpio_interrupt(uint8_t gpio_num)
Definition: plat_isr.c:58
void ISR_BMC_PRDY()
Definition: plat_isr.c:170
void ISR_HSC_THROTTLE()
Definition: plat_isr.c:299
void ISR_PCH_THMALTRIP()
Definition: plat_isr.c:389
void ISR_DBP_PRSNT()
Definition: plat_isr.c:270
void ISR_SLP3()
Definition: plat_isr.c:104
void ISR_DIMM_DEF_VR_HOT()
Definition: plat_isr.c:474
void ISR_NMI()
Definition: plat_isr.c:495
void ISR_UV_DETECT()
Definition: plat_isr.c:534
void ISR_FIVR()
Definition: plat_isr.c:512
void ISR_DIMM_ABC_VR_HOT()
Definition: plat_isr.c:452
void ISR_PVCCIO_VR_HOT()
Definition: plat_isr.c:430
void ISR_CPU_VPP_INT()
Definition: plat_isr.c:671