X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..060df5ea7c632b1ac8cc8aac1fb59758165c2084:/osfmk/kdp/kdp_private.h diff --git a/osfmk/kdp/kdp_private.h b/osfmk/kdp/kdp_private.h index c4ef6bf8a..07e5123ff 100644 --- a/osfmk/kdp/kdp_private.h +++ b/osfmk/kdp/kdp_private.h @@ -93,6 +93,13 @@ kdp_version( unsigned short * ); +static boolean_t +kdp_kernelversion( + kdp_pkt_t *, + int *, + unsigned short * +); + static boolean_t kdp_regions( kdp_pkt_t *, @@ -114,6 +121,20 @@ kdp_readmem( unsigned short * ); +static boolean_t +kdp_readmem64( + kdp_pkt_t *, + int *, + unsigned short * +); + +static boolean_t +kdp_readphysmem64( + kdp_pkt_t *, + int *, + unsigned short * +); + static boolean_t kdp_writemem( kdp_pkt_t *, @@ -121,6 +142,20 @@ kdp_writemem( unsigned short * ); +static boolean_t +kdp_writemem64( + kdp_pkt_t *, + int *, + unsigned short * +); + +static boolean_t +kdp_writephysmem64( + kdp_pkt_t *, + int *, + unsigned short * +); + static boolean_t kdp_resumecpus( kdp_pkt_t *, @@ -135,6 +170,14 @@ kdp_breakpoint_set( unsigned short *t ); +static boolean_t +kdp_breakpoint64_set( + kdp_pkt_t *, + int *, + unsigned short *t +); + + static boolean_t kdp_breakpoint_remove( kdp_pkt_t *, @@ -142,3 +185,32 @@ kdp_breakpoint_remove( unsigned short * ); +static boolean_t +kdp_breakpoint64_remove( + kdp_pkt_t *, + int *, + unsigned short * +); + + +static boolean_t +kdp_reboot( + kdp_pkt_t *, + int *, + unsigned short * +); + +static boolean_t +kdp_readioport(kdp_pkt_t *, int *, unsigned short *); + +static boolean_t +kdp_writeioport(kdp_pkt_t *, int *, unsigned short *); + +static boolean_t +kdp_readmsr64(kdp_pkt_t *, int *, unsigned short *); + +static boolean_t +kdp_writemsr64(kdp_pkt_t *, int *, unsigned short *); + +static boolean_t +kdp_dumpinfo(kdp_pkt_t *, int *, unsigned short *);