root / trunk / data / iokittools / mactypes.diff

Revision 199, 1.5 kB (checked in by saurik, 8 months ago)

Drastic, sweeping modifications to support iPhone 1.2.0/2.0.

  • ioalloccount.tproj/ioalloccount.c

    diff -ru IOKitTools-76/ioalloccount.tproj/ioalloccount.c IOKitTools-76+iPhone/ioalloccount.tproj/ioalloccount.c
    old new  
    66#include <CoreFoundation/CoreFoundation.h> 
    77#include <IOKit/IOKitLib.h> 
    88#include <IOKit/IOKitKeys.h> 
     9#include <MacTypes.h> 
    910 
    1011static void printNumber( CFDictionaryRef dict, CFStringRef name ) 
    1112{ 
  • ioclasscount.tproj/ioclasscount.c

    diff -ru IOKitTools-76/ioclasscount.tproj/ioclasscount.c IOKitTools-76+iPhone/ioclasscount.tproj/ioclasscount.c
    old new  
    88 
    99#include <IOKit/IOKitLib.h> 
    1010#include <IOKit/IOKitKeys.h> 
     11#include <MacTypes.h> 
    1112 
    1213static int CompareKey(const void * left, const void * right) 
    1314{ 
  • ioreg.tproj/ioreg.c

    diff -ru IOKitTools-76/ioreg.tproj/ioreg.c IOKitTools-76+iPhone/ioreg.tproj/ioreg.c
    old new  
    2828#include <sys/ioctl.h>                                // (TIOCGWINSZ, ...) 
    2929#include <term.h>                                     // (tputs, ...) 
    3030#include <unistd.h>                                   // (getopt, ...) 
     31#include <MacTypes.h> 
    3132 
    3233// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    3334 
Note: See TracBrowser for help on using the browser.