Chameleon

Chameleon Commit Details

Date:2010-09-05 05:13:32 (13 years 7 months ago)
Author:Azimutz
Commit:495
Parents: 494
Message:Still tuning included headers. Chasing libsaio.h, first round.
Changes:
M/branches/azimutz/Chazi/i386/libsaio/mem.c
M/branches/azimutz/Chazi/i386/libsaio/pci_root.c
M/branches/azimutz/Chazi/i386/libsaio/stringTable.c
M/branches/azimutz/Chazi/i386/libsaio/biosfn.c
M/branches/azimutz/Chazi/i386/libsaio/pci.h
M/branches/azimutz/Chazi/i386/libsaio/pci_root.h
M/branches/azimutz/Chazi/i386/libsaio/aml_generator.h
M/branches/azimutz/Chazi/i386/libsaio/msdos.c
M/branches/azimutz/Chazi/i386/libsaio/convert.h
M/branches/azimutz/Chazi/i386/libsaio/fake_efi.c
M/branches/azimutz/Chazi/i386/libsaio/usb.c
M/branches/azimutz/Chazi/i386/libsaio/misc.c
M/branches/azimutz/Chazi/i386/libsaio/device_inject.c
M/branches/azimutz/Chazi/i386/libsaio/gma_resolution.h
M/branches/azimutz/Chazi/i386/libsaio/autoresolution.c
M/branches/azimutz/Chazi/i386/libsaio/xml.c
M/branches/azimutz/Chazi/i386/libsaio/console.c
M/branches/azimutz/Chazi/i386/boot2/ramdisk.h
M/branches/azimutz/Chazi/i386/modules/KernelPatcher/kernel_patcher.c
M/branches/azimutz/Chazi/i386/libsaio/ati_resolution.h
M/branches/azimutz/Chazi/i386/libsaio/bootstruct.c
M/branches/azimutz/Chazi/i386/libsaio/dram_controllers.c
M/branches/azimutz/Chazi/i386/libsaio/nvidia.c
M/branches/azimutz/Chazi/i386/libsaio/ntfs.c
M/branches/azimutz/Chazi/i386/boot2/boot.h
M/branches/azimutz/Chazi/i386/libsaio/ext2fs.c
M/branches/azimutz/Chazi/i386/modules/HelloWorld/HelloWorld.c
M/branches/azimutz/Chazi/i386/libsaio/vbe.c
M/branches/azimutz/Chazi/i386/libsaio/ufs_byteorder.c
M/branches/azimutz/Chazi/i386/libsaio/bootstruct.h
M/branches/azimutz/Chazi/i386/libsaio/ati.c
M/branches/azimutz/Chazi/i386/libsaio/dram_controllers.h
M/branches/azimutz/Chazi/i386/libsaio/device_tree.c
M/branches/azimutz/Chazi/i386/libsaio/sys.c
M/branches/azimutz/Chazi/i386/libsaio/nbp.c
M/branches/azimutz/Chazi/i386/libsaio/acpi_patcher.c
M/branches/azimutz/Chazi/i386/boot2/mboot.c
M/branches/azimutz/Chazi/i386/libsaio/sl.h
M/branches/azimutz/Chazi/i386/libsaio/platform.c
M/branches/azimutz/Chazi/i386/libsaio/spd.c
M/branches/azimutz/Chazi/i386/libsaio/acpi_patcher.h
M/branches/azimutz/Chazi/i386/libsaio/cpu.c
M/branches/azimutz/Chazi/i386/libsaio/platform.h
M/branches/azimutz/Chazi/i386/libsaio/disk.c
M/branches/azimutz/Chazi/i386/libsaio/pci_setup.c
M/branches/azimutz/Chazi/i386/libsaio/spd.h
M/branches/azimutz/Chazi/i386/libsaio/cpu.h
M/branches/azimutz/Chazi/i386/libsaio/hpet.c
M/branches/azimutz/Chazi/i386/libsaio/nvidia_resolution.h
M/branches/azimutz/Chazi/i386/libsaio/smbios_patcher.c
M/branches/azimutz/Chazi/i386/libsaio/gma.c
M/branches/azimutz/Chazi/i386/libsaio/hpet.h
M/branches/azimutz/Chazi/i386/libsaio/edid.c
M/branches/azimutz/Chazi/i386/libsaio/smbios_patcher.h
M/branches/azimutz/Chazi/i386/boot2/graphics.h
M/branches/azimutz/Chazi/i386/libsaio/pci.c

File differences

branches/azimutz/Chazi/i386/libsaio/xml.c
2222
2323
2424
25
2526
26
2727
2828
2929
* @APPLE_LICENSE_HEADER_END@
*/
//#include "libsaio.h"
#include "bootstruct.h"
#include "libsaio.h"
#include "sl.h"
#include "xml.h"
branches/azimutz/Chazi/i386/libsaio/console.c
4444
4545
4646
47
48
47
48
4949
5050
5151
* All rights reserved.
*/
#include "libsaio.h"
#include "bootstruct.h"
//#include "libsaio.h"
#include "bootstruct.h" - most libsaio.h stuff is included here now.
extern intvprf(const char * fmt, va_list ap);
branches/azimutz/Chazi/i386/libsaio/ati_resolution.h
1010
1111
1212
13
13
14
15
16
1417
1518
1619
#ifndef _ATI_RESOLUTION_H_
#define _ATI_RESOLUTION_H_
#include "libsaio.h"
//#include "libsaio.h"
#include "libsa.h"
#include "saio_internal.h"
//---
#include "autoresolution.h"
#define ATI_SIGNATURE1 "ATI MOBILITY RADEON"
branches/azimutz/Chazi/i386/libsaio/bootstruct.c
2626
2727
2828
29
29
3030
3131
3232
* All rights reserved.
*/
#include "libsaio.h"
//#include "libsaio.h" - moved to bootstruck.h
#include "bootstruct.h"
/*==========================================================================
branches/azimutz/Chazi/i386/libsaio/ext2fs.c
77
88
99
10
10
1111
1212
1313
*
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "sl.h"
#include "ext2fs.h"
branches/azimutz/Chazi/i386/libsaio/vbe.c
2626
2727
2828
29
29
30
31
32
33
3034
3135
3236
* All rights reserved.
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "io_inline.h"
#include "saio_types.h"
#include "saio_internal.h"
//--- hum, check again; getting the feeling that the headers feed on the included here!?
#include "vbe.h"
/*
branches/azimutz/Chazi/i386/libsaio/bootstruct.h
2626
2727
2828
29
30
31
32
2933
34
35
3036
3137
3238
#define __BOOTSTRUCT_H
#include <pexpert/i386/boot.h>
//Azi: this is acting now as a mini libsaio.h :P
//#include "libsaio.h"
#include "libsa.h"
#include "saio_types.h"
#include "saio_internal.h" // "external" to verbose function
//---
#include "bios.h"
#include "device_tree.h"
branches/azimutz/Chazi/i386/libsaio/device_tree.c
3434
3535
3636
37
37
38
39
40
3841
3942
4043
typedef char DTEntryNameBuf[32];
#endif
#include "libsaio.h"
//Azi: check location.
//#include "libsaio.h"
#include "libsa.h"
//---
#include "device_tree.h"
#if DEBUG
branches/azimutz/Chazi/i386/libsaio/acpi_patcher.c
22
33
44
5
5
66
77
88
* Copyright 2008 mackerintel
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
#include "acpi.h"
branches/azimutz/Chazi/i386/libsaio/spd.c
66
77
88
9
9
1010
1111
1212
* System profiler fix and other fixes by Mozodojo.
*/
#include "libsaio.h"
//#include "libsaio.h" - included on the header.
#include "pci.h"
#include "platform.h"
#include "spd.h"
branches/azimutz/Chazi/i386/libsaio/acpi_patcher.h
55
66
77
8
8
99
1010
1111
#ifndef __LIBSAIO_ACPI_PATCHER_H
#define __LIBSAIO_ACPI_PATCHER_H
#include "libsaio.h"
//#include "libsaio.h"
uint64_t acpi10_p;
uint64_t acpi20_p;
branches/azimutz/Chazi/i386/libsaio/spd.h
77
88
99
10
11
10
11
12
1213
1314
1415
#ifndef __LIBSAIO_SPD_H
#define __LIBSAIO_SPD_H
#include "platform.h"
#include "libsaio.h"
#include "platform.h" // already suplies most of the dependencies.
//#include "libsaio.h"
#include "io_inline.h"
void scan_spd(PlatformInfo_t *p);
branches/azimutz/Chazi/i386/libsaio/smbios_patcher.c
22
33
44
5
5
66
77
88
* Copyright 2008 mackerintel
*/
#include "libsaio.h"
//#include "libsaio.h" - included on the hearder.
#include "boot.h"
#include "bootstruct.h"
#include "acpi.h"
branches/azimutz/Chazi/i386/libsaio/gma.c
11
22
33
4
4
5
56
67
78
/*
Original patch by nawcom -> http://forum.voodooprojects.org/index.php/topic,1029.msg4427.html#msg4427
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "bootstruct.h"
#include "pci.h"
#include "platform.h"
branches/azimutz/Chazi/i386/libsaio/smbios_patcher.h
88
99
1010
11
11
1212
1313
1414
#ifndef __LIBSAIO_SMBIOS_PATCHER_H
#define __LIBSAIO_SMBIOS_PATCHER_H
#include "libsaio.h"
//#include "libsaio.h" - not needed??
#include "SMBIOS.h"
/* From Foundation/Efi/Guid/Smbios/SmBios.h */
branches/azimutz/Chazi/i386/libsaio/pci_root.c
22
33
44
5
5
66
77
88
* Copyright 2009 netkas
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
branches/azimutz/Chazi/i386/libsaio/mem.c
44
55
66
7
7
88
99
1010
* mem.c - obtain system memory information
*/
#include "libsaio.h"
//#include "libsaio.h" - included on pci.h for now.
#include "pci.h"
#include "platform.h"
#include "cpu.h"
branches/azimutz/Chazi/i386/libsaio/pci_root.h
55
66
77
8
8
9
910
10
1111
1212
1313
#ifndef __LIBSAIO_PCI_ROOT_H
#define __LIBSAIO_PCI_ROOT_H
#include "libsaio.h"
//#include "libsaio.h"
#include "io_inline.h"
extern int getPciRootUID(void);
#endif /* !__LIBSAIO_DSDT_PATCHER_H */
branches/azimutz/Chazi/i386/libsaio/aml_generator.h
1010
1111
1212
13
13
14
15
1416
1517
1618
#ifndef __LIBSAIO_AML_GENERATOR_H
#define __LIBSAIO_AML_GENERATOR_H
#include "libsaio.h"
//#include "libsaio.h"
#include "libsa.h"
#include "saio_internal.h"
#defineAML_CHUNK_NONE0xff
#defineAML_CHUNK_ZERO0x00
branches/azimutz/Chazi/i386/libsaio/usb.c
77
88
99
10
10
11
12
1113
1214
1315
*
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "io_inline.h"
//---
#include "boot.h"
#include "bootstruct.h"
#include "pci.h"
branches/azimutz/Chazi/i386/libsaio/device_inject.c
55
66
77
8
8
99
1010
1111
*Cleaned and merged by iNDi
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
#include "pci.h"
branches/azimutz/Chazi/i386/libsaio/autoresolution.c
1414
1515
1616
17
18
17
18
19
20
1921
2022
2123
* This source code is into the public domain.
*/
#include "libsaio.h"
#include "autoresolution.h"
//#include "libsaio.h"
#include "saio_internal.h"
//---
//#include "autoresolution.h" - included on ati_resolution.h
#include "nvidia_resolution.h"
#include "ati_resolution.h"
#include "gma_resolution.h"
branches/azimutz/Chazi/i386/libsaio/dram_controllers.c
1313
1414
1515
16
16
1717
1818
1919
* http://www.canardpc.com - http://www.memtest.org
*/
#include "libsaio.h"
//#include "libsaio.h" - included on the header.
#include "bootstruct.h"
#include "pci.h"
#include "platform.h"
branches/azimutz/Chazi/i386/libsaio/nvidia.c
4848
4949
5050
51
51
5252
5353
5454
* SOFTWARE.
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
#include "pci.h"
branches/azimutz/Chazi/i386/libsaio/ntfs.c
2323
2424
2525
26
26
2727
2828
2929
* @APPLE_LICENSE_HEADER_END@
*/
#include "libsaio.h"
//#include "libsaio.h" - included on sl.h
#include "sl.h"
#define BYTE_ORDER_MARK0xFEFF
branches/azimutz/Chazi/i386/libsaio/ufs_byteorder.c
3232
3333
3434
35
35
3636
3737
3838
#include <ufs/ufs/dir.h>
#include <libkern/OSByteOrder.h>
#include "ufs_byteorder.h"
#include "libsaio.h"
#include "libsaio.h" // probably needed if ufs support is enabled.
#defineswapBigLongToHost(thing) ((thing) = OSSwapBigToHostInt32(thing))
#defineswapBigShortToHost(thing) ((thing) = OSSwapBigToHostInt16(thing))
branches/azimutz/Chazi/i386/libsaio/ati.c
2121
2222
2323
24
24
25
2526
2627
2728
*/
#include "libsaio.h"
//#include "libsaio.h"
//---
#include "boot.h"
#include "bootstruct.h"
#include "pci.h"
branches/azimutz/Chazi/i386/libsaio/sys.c
6060
6161
6262
63
63
6464
6565
6666
#include <AvailabilityMacros.h>
#include "libsaio.h"
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
#include "disk.h"
branches/azimutz/Chazi/i386/libsaio/dram_controllers.h
1616
1717
1818
19
19
2020
2121
2222
#ifndef __LIBSAIO_DRAM_CONTROLLERS_H
#define __LIBSAIO_DRAM_CONTROLLERS_H
#include "libsaio.h"
//#include "libsaio.h"
void scan_dram_controller();
branches/azimutz/Chazi/i386/libsaio/nbp.c
2222
2323
2424
25
25
26
2627
2728
2829
* @APPLE_LICENSE_HEADER_END@
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "saio_types.h"
/* This NBP code is pretty useless because it just blindly calls INT 2B.
Presumably INT 2B was implemented by some first-stage bootloader that
branches/azimutz/Chazi/i386/libsaio/sl.h
2828
2929
3030
31
31
3232
3333
3434
#include <sys/types.h>
#include <sys/param.h>
#include <sys/vnode.h>
#include "libsaio.h"
#include "libsaio.h" - check later; sl.h is included in many files!
#define SWAP_BE16(x) OSSwapBigToHostInt16(x)
#define SWAP_LE16(x) OSSwapLittleToHostInt16(x)
branches/azimutz/Chazi/i386/libsaio/platform.c
44
55
66
7
7
88
99
1010
* AsereBLN: cleanup
*/
#include "libsaio.h"
//#include "libsaio.h" - both bootstruct.h, platform.h, pci.h can resolve dependencies.
#include "boot.h"
#include "bootstruct.h"
#include "pci.h"
branches/azimutz/Chazi/i386/libsaio/cpu.c
33
44
55
6
6
77
88
99
* AsereBLN: 2009: cleanup and bugfix
*/
#include "libsaio.h"
//#include "libsaio.h" - was included on both of the remaining; platform.h resolves dependencies.
#include "platform.h"
#include "cpu.h"
branches/azimutz/Chazi/i386/libsaio/platform.h
77
88
99
10
10
11
12
13
14
1115
1216
1317
#ifndef __LIBSAIO_PLATFORM_H
#define __LIBSAIO_PLATFORM_H
#include "libsaio.h"
//Azi: this was already acting as a mini libsaio.h :P see bootstruct.h.
//#include "libsaio.h"
#include "libsa.h"
#include "saio_types.h"
#include "saio_internal.h"
extern bool platformCPUFeature(uint32_t);
extern void scan_platform(void);
branches/azimutz/Chazi/i386/libsaio/disk.c
5555
5656
5757
58
58
59
60
5961
6062
6163
#define UFS_SUPPORT 0
#endif
#include "libsaio.h"
//#include "libsaio.h"
#include "memory.h"
//---
#include "boot.h"
#include "bootstruct.h"
#include "fdisk.h"
branches/azimutz/Chazi/i386/libsaio/pci_setup.c
1
1
2
23
34
45
#include "libsaio.h"
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
#include "pci.h"
branches/azimutz/Chazi/i386/libsaio/cpu.h
66
77
88
9
9
1010
1111
1212
#ifndef __LIBSAIO_CPU_H
#define __LIBSAIO_CPU_H
#include "libsaio.h"
//#include "libsaio.h"
extern void scan_cpu(PlatformInfo_t *);
branches/azimutz/Chazi/i386/libsaio/hpet.c
22
33
44
5
5
66
77
88
*
*/
#include "libsaio.h"
//#include "libsaio.h" - was included on hpet.h; included on pci.h for now.
#include "pci.h"
#include "hpet.h"
branches/azimutz/Chazi/i386/libsaio/nvidia_resolution.h
1010
1111
1212
13
13
1414
1515
1616
#ifndef _NVDA_RESOLUTION_HEADER_
#define _NVDA_RESOLUTION_HEADER_
#include "libsaio.h"
#include "libsaio.h" // not worth it; 4 out of 5 are needed.
#include "autoresolution.h"
#define NVIDIA_SIGNATURE "NVIDIA Corp"
branches/azimutz/Chazi/i386/libsaio/hpet.h
55
66
77
8
8
99
1010
1111
#ifndef __LIBSAIO_HPET_H
#define __LIBSAIO_HPET_H
#include "libsaio.h"
//#include "libsaio.h" // check pci.h/hpet.c
#define REG32(base, reg) ((volatile uint32_t *)base)[(reg) >> 2]
branches/azimutz/Chazi/i386/libsaio/edid.c
88
99
1010
11
12
11
12
1313
1414
1515
*/
#include "libsaio.h"
#include "bootstruct.h"
//#include "libsaio.h" --> bootstruct.h
//#include "bootstruct.h" - included on graphics.h
#include "graphics.h"
#include "boot.h"
branches/azimutz/Chazi/i386/libsaio/pci.c
44
55
66
7
7
88
99
1010
*
*/
#include "libsaio.h"
//#include "libsaio.h" - included on pci.h now. Don't forget bootstruct.h!!
#include "bootstruct.h"
#include "pci.h"
#include "pci_root.h"
branches/azimutz/Chazi/i386/libsaio/stringTable.c
2626
2727
2828
29
2930
3031
31
3232
3333
3434
* All rights reserved.
*/
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
#include "libsaio.h" //Azi: this was included on boot.h - just a reminder.
#include "xml.h"
extern char *Language;
branches/azimutz/Chazi/i386/libsaio/biosfn.c
3939
4040
4141
42
4243
43
44
45
46
47
4448
4549
4650
2007-12-29 dfe
- Added ebiosEjectMedia
*/
#include "bootstruct.h"
#include "libsaio.h"
//#include "libsaio.h"
#include "memory.h"
#include "libsa.h"
#include "saio_internal.h"
#define MAX_DRIVES 8
branches/azimutz/Chazi/i386/libsaio/pci.h
77
88
99
10
11
12
13
14
1015
1116
1217
#ifndef __LIBSAIO_PCI_H
#define __LIBSAIO_PCI_H
//#include "libsaio.h" // moved from hpet.c/h; also remember mem.c.
#include "libsa.h"
#include "saio_internal.h"
#include "saio_types.h"
typedef struct {
uint32_t:2;
uint32_treg:6;
branches/azimutz/Chazi/i386/libsaio/msdos.c
4646
4747
4848
49
50
49
5150
52
5351
5452
5553
54
55
5656
5757
5858
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define tolower(c) (((c)>='A' && c<='Z')?((c) | 0x20):(c))
#include "libsaio.h"
//#include "libsaio.h"
#include "sl.h"
#include "msdos_private.h"
#include "msdos.h"
#define tolower(c) (((c)>='A' && c<='Z')?((c) | 0x20):(c))
#define LABEL_LENGTH11
#define MSDOS_CACHE_BLOCKSIZE BPS
branches/azimutz/Chazi/i386/libsaio/convert.h
66
77
88
9
9
10
11
12
13
1014
1115
1216
#ifndef __CONVERT_H
#define __CONVERT_H
#include "libsaio.h"
//#include "libsaio.h"
#include "libsa.h"
#include "saio_internal.h" // "external" to verbose function
//---
#include "efi.h"
#define UUID_LEN16
branches/azimutz/Chazi/i386/libsaio/fake_efi.c
33
44
55
6
6
77
88
99
* Copyright 2007 David F. Elliott. All rights reserved.
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
#include "efi.h"
branches/azimutz/Chazi/i386/libsaio/misc.c
4444
4545
4646
47
47
48
49
50
4851
4952
5053
* All rights reserved.
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "libsa.h"
#include "saio_internal.h"
#include "io_inline.h"
/*
* keyboard controller (8042) I/O port addresses
branches/azimutz/Chazi/i386/libsaio/gma_resolution.h
1010
1111
1212
13
13
14
15
1416
1517
1618
#ifndef _GMA_RESOLUTION_H_
#define _GMA_RESOLTUION_H_
#include "libsaio.h"
//#include "libsaio.h"
#include "saio_internal.h"
//---
#include "autoresolution.h"
#define MODE_TABLE_OFFSET_845G 617
branches/azimutz/Chazi/i386/boot2/ramdisk.h
77
88
99
10
10
11
12
13
1114
1215
1316
#ifndef __BOOT_RAMDISK_H
#define __BOOT_RAMDISK_H
#include "libsaio.h"
//#include "libsaio.h"
#include "libsa.h"
#include "saio_types.h"
#include "memory.h"
#define RAMDISKCONFIG_FILENAME "rd(0,0)/RAMDisk.plist"
//#define kPostbootRamdisk
branches/azimutz/Chazi/i386/boot2/graphics.h
77
88
99
10
10
11
12
1113
1214
1315
*
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "libsa.h"
//---
#include "boot.h" // was included on graphic_utils.h
#include "bootstruct.h"
#include "graphic_utils.h"
branches/azimutz/Chazi/i386/boot2/boot.h
2929
3030
3131
32
32
33
34
3335
36
37
3438
3539
3640
#ifndef __BOOT2_BOOT_H
#define __BOOT2_BOOT_H
#include "saio_internal.h" //Azi: only one needed by boot.h it self, afaics.
//Azi: keep it minimal for now.
// Todo: check bootstruct.h, sl.h, platform.h, next; include bootstruct here??
// don't include headers like libsaio.h on other headers?!
#include "saio_internal.h" // the only one needed by boot.h it self, afaics.
/*
* Default names
*/
branches/azimutz/Chazi/i386/boot2/mboot.c
22
33
44
5
5
6
7
8
69
710
8
911
1012
1113
File added by David F. Elliott <dfe@cox.net> on 2007/06/26
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "libsa.h"
#include "memory.h"
//---
#include "boot.h"
#include "bootstruct.h"
#include "mboot.h"
int multiboot_timeout=0;
branches/azimutz/Chazi/i386/modules/KernelPatcher/kernel_patcher.c
1
1
22
33
44
55
6
6
7
8
79
810
911
12
1013
1114
1215
/*
/*
* Copyright (c) 2009-2010 Evan Lojewski. All rights reserved.
*
*/
#include "libsaio.h"
//#include "libsaio.h"
#include "saio_types.h"
//---
#include "kernel_patcher.h"
#include "platform.h"
#include "modules.h"
extern PlatformInfo_t Platform;
patchRoutine_t* patches = NULL;
branches/azimutz/Chazi/i386/modules/HelloWorld/HelloWorld.c
33
44
55
6
7
6
7
8
9
10
811
912
1013
1114
1215
13
16
1417
1518
1619
*
*/
#include "libsaio.h"
#include "modules.h" //Azi:warning
//#include "libsaio.h"
#include "saio_internal.h"
#include "saio_types.h"
//---
#include "modules.h"
void helloWorld(void* binary, void* arg2, void* arg3, void* arg4)
{
printf("Hello world from ExecKernel hook. Binary located at 0x%X\n", binary);
//getc();
getc();
}

Archive Download the corresponding diff file

Revision: 495