]> git.saurik.com Git - apple/xnu.git/blame - tools/lldbmacros/mbufdefines.py
xnu-3248.60.10.tar.gz
[apple/xnu.git] / tools / lldbmacros / mbufdefines.py
CommitLineData
39236c6e
A
1from xnu import *
2from utils import *
3import ctypes
4
5MBSHIFT = 20
6MSIZE = 256
7MCLBYTES = 2048
3e170ce0 8MBIGCLBYTES = 4096
39236c6e 9M16KCLBYTES = 16384
39236c6e
A
10
11MB_SCVALID = 4
12
13MB_INUSE = 1
14MB_COMP_INUSE = 2
15
16SLF_MAPPED = 0x0001
17SLF_PARTIAL = 0x0002
18SLF_DETACHED = 0x0004
19
20INTP = ctypes.POINTER(ctypes.c_int)
21
22kgm_manual_pkt_ppc = 0x549C
23kgm_manual_pkt_i386 = 0x249C
24kgm_manual_pkt_x86_64 = 0xFFFFFF8000002930
25kgm_manual_pkt_arm = 0xFFFF04A0
26kgm_kdp_pkt_data_len = 128
27
28MCF_NOCPUCACHE = 0x10