]> git.saurik.com Git - apple/xnu.git/blame_incremental - tools/lldbmacros/mbufdefines.py
xnu-4903.270.47.tar.gz
[apple/xnu.git] / tools / lldbmacros / mbufdefines.py
... / ...
CommitLineData
1from xnu import *
2from utils import *
3import ctypes
4
5MBSHIFT = 20
6MSIZE = 256
7MCLBYTES = 2048
8MBIGCLBYTES = 4096
9M16KCLBYTES = 16384
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 = 0xFFFF13A0
26kgm_kdp_pkt_data_len = 128
27
28MCF_NOCPUCACHE = 0x10