Function report |
Source Code:arch\x86\kernel\nmi.c |
Create Date:2022-07-28 07:35:12 |
Last Modify:2022-05-22 06:29:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__register_nmi_handler
Proto:int __register_nmi_handler(unsigned int type, struct nmiaction *action)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | type | |
struct nmiaction * | action |
161 | desc = nmi_to_desc(type) |
167 | raw_spin_lock_irqsave( & lock, flags) |
173 | WARN_ON_ONCE(type == NMI_SERR && !list_empty - tests whether a list is empty*@head: the list to test.) |
174 | WARN_ON_ONCE(type == NMI_IO_CHECK && !list_empty - tests whether a list is empty*@head: the list to test.) |
180 | If flags & NMI_FLAG_FIRST Then list_add_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head |
185 | raw_spin_unlock_irqrestore( & lock, flags) |
186 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |