]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kdp/kdp_private.h
xnu-3248.30.4.tar.gz
[apple/xnu.git] / osfmk / kdp / kdp_private.h
index c4ef6bf8af1f0d7a5c1ddf185b4647f9faf85590..bcd2f33994590063e0a143d38ab16e49d7abc0b3 100644 (file)
@@ -29,6 +29,7 @@
 /*
  * Private functions for kdp.c
  */
+extern char kdp_kernelversion_string[];
 
 static boolean_t
 kdp_unknown(
@@ -93,6 +94,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 +122,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 +143,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 +171,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 +186,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 *);