Function report |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-28 11:43:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_dap_lock
Proto:static int get_dap_lock(void)__acquires(dap_lock)
Type:int
Parameter:Nothing
| 725 | dap_locked = -1 |
| 727 | If dap_locked == smp_processor_id() Then count = 1 |
| 729 | Else count = 1000 |
| 731 | When 1 cycle |
| 733 | dap_locked = -1 |
| 734 | Return 1 |
| 736 | If Not count -- Then Break |
| 738 | 0x10c7 is 2**32 / 1000000 (rounded up) (1000) |
| 740 | dap_locked = smp_processor_id() |
| 742 | Return 0 |
| Name | Describe |
|---|---|
| debug_kmalloc | |
| debug_kfree | |
| debug_kusage |
| 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 |