函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-27 08:58:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_dr_addr_mask
函数原型:void set_dr_addr_mask(unsigned long mask, int dr)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | mask | |
| int | dr |
| 1156 | 如果非boot_cpu_has(Data breakpoint extension )则返回 |
| 1161 | wrmsr(MSR_F16H_DR0_ADDR_MASK, mask, 0) |
| 1162 | 退出 |
| 1166 | wrmsr(MSR_F16H_DR1_ADDR_MASK - 1 + dr, mask, 0) |
| 1167 | 退出 |
| 1168 | 默认 |
| 1169 | 退出 |
| 名称 | 描述 |
|---|---|
| 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |