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