Function report |
Source Code:arch\x86\lib\msr.c |
Create Date:2022-07-28 07:26:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__flip_bit
Proto:static inline int __flip_bit(unsigned int msr, u8 bit, bool set)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | msr | |
| u8 | bit | |
| bool | set |
| 70 | err = Read an MSR with error handling*@msr: MSR to read*@m: value to read into* It returns read data only on success, otherwise it doesn't change the output* argument @m. |
| 87 | Return 1 |
| Name | Describe |
|---|---|
| msr_set_bit | Set @bit in a MSR @msr.* Retval:* < 0: An error was encountered.* = 0: Bit was already set.* > 0: Hardware accepted the MSR write. |
| msr_clear_bit | Clear @bit in a MSR @msr.* Retval:* < 0: An error was encountered.* = 0: Bit was already cleared.* > 0: Hardware accepted the MSR write. |
| 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 |