OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [linux-headers/] [include/] [linux/] [hw_breakpoint.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#ifndef _LINUX_HW_BREAKPOINT_H
2
#define _LINUX_HW_BREAKPOINT_H
3
 
4
enum {
5
        HW_BREAKPOINT_LEN_1 = 1,
6
        HW_BREAKPOINT_LEN_2 = 2,
7
        HW_BREAKPOINT_LEN_4 = 4,
8
        HW_BREAKPOINT_LEN_8 = 8,
9
};
10
 
11
enum {
12
        HW_BREAKPOINT_EMPTY     = 0,
13
        HW_BREAKPOINT_R         = 1,
14
        HW_BREAKPOINT_W         = 2,
15
        HW_BREAKPOINT_RW        = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
16
        HW_BREAKPOINT_X         = 4,
17
        HW_BREAKPOINT_INVALID   = HW_BREAKPOINT_RW | HW_BREAKPOINT_X,
18
};
19
 
20
enum bp_type_idx {
21
        TYPE_INST       = 0,
22
#ifdef CONFIG_HAVE_MIXED_BREAKPOINTS_REGS
23
        TYPE_DATA       = 0,
24
#else
25
        TYPE_DATA       = 1,
26
#endif
27
        TYPE_MAX
28
};
29
 
30
#endif /* _LINUX_HW_BREAKPOINT_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.