diff options
Diffstat (limited to 'include/mach/mach4.defs')
-rw-r--r-- | include/mach/mach4.defs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/mach/mach4.defs b/include/mach/mach4.defs index 61423a44..53cca7d3 100644 --- a/include/mach/mach4.defs +++ b/include/mach/mach4.defs @@ -41,10 +41,16 @@ subsystem #ifdef MACH_PCSAMPLE -type sampled_pc_t = struct[3] of natural_t; +type sampled_pc_flavor_t = unsigned; + +type sampled_pc_t = struct { + rpc_vm_offset_t id; + rpc_vm_offset_t pc; + sampled_pc_flavor_t sampletype; +}; + type sampled_pc_array_t = array[*:512] of sampled_pc_t; type sampled_pc_seqno_t = unsigned; -type sampled_pc_flavor_t = natural_t; routine task_enable_pc_sampling( host : task_t; |