blob: bf54b2385540ee415406b074da2e66a6956ab487 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI_LINUX_HW_BREAKPOINT_H
8#define _UAPI_LINUX_HW_BREAKPOINT_H
9enum {
Tao Baod7db5942015-01-28 10:07:51 -080010 HW_BREAKPOINT_LEN_1 = 1,
Tao Baod7db5942015-01-28 10:07:51 -080011 HW_BREAKPOINT_LEN_2 = 2,
Christopher Ferris48af7cb2017-02-21 12:35:09 -080012 HW_BREAKPOINT_LEN_3 = 3,
Tao Baod7db5942015-01-28 10:07:51 -080013 HW_BREAKPOINT_LEN_4 = 4,
Christopher Ferris48af7cb2017-02-21 12:35:09 -080014 HW_BREAKPOINT_LEN_5 = 5,
Christopher Ferris48af7cb2017-02-21 12:35:09 -080015 HW_BREAKPOINT_LEN_6 = 6,
16 HW_BREAKPOINT_LEN_7 = 7,
Tao Baod7db5942015-01-28 10:07:51 -080017 HW_BREAKPOINT_LEN_8 = 8,
Ben Cheng655a7c02013-10-16 16:09:24 -070018};
Ben Cheng655a7c02013-10-16 16:09:24 -070019enum {
Tao Baod7db5942015-01-28 10:07:51 -080020 HW_BREAKPOINT_EMPTY = 0,
21 HW_BREAKPOINT_R = 1,
22 HW_BREAKPOINT_W = 2,
Tao Baod7db5942015-01-28 10:07:51 -080023 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
24 HW_BREAKPOINT_X = 4,
25 HW_BREAKPOINT_INVALID = HW_BREAKPOINT_RW | HW_BREAKPOINT_X,
Ben Cheng655a7c02013-10-16 16:09:24 -070026};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080027#endif