Function report |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-28 07:58:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_dr_addr_mask
Proto:void set_dr_addr_mask(unsigned long mask, int dr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | mask | |
| int | dr |
| 1156 | If Not boot_cpu_has(Data breakpoint extension ) Then Return |
| 1160 | Case dr == 0 |
| 1161 | wrmsr(MSR_F16H_DR0_ADDR_MASK, mask, 0) |
| 1162 | Break |
| 1163 | Case dr == 1 |
| 1164 | Case dr == 2 |
| 1165 | Case dr == 3 |
| 1166 | wrmsr(MSR_F16H_DR1_ADDR_MASK - 1 + dr, mask, 0) |
| 1167 | Break |
| 1168 | Default |
| 1169 | Break |
| Name | Describe |
|---|---|
| arch_uninstall_hw_breakpoint | Uninstall the breakpoint contained in the given counter.* First we search the debug address register it uses and then we disable* it.* Atomic: we hold the counter->ctx->lock and we only handle variables* and registers local to this cpu. |
| 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 |