Renamed some header files to new project name
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_USER_SETUP_H
|
#ifndef CHECKM8_ARDUINO_USER_SETUP_H
|
||||||
#define IPWNDFU_REWRITE_C_USER_SETUP_H
|
#define CHECKM8_ARDUINO_USER_SETUP_H
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_USER_SETUP_H
|
#endif //CHECKM8_ARDUINO_USER_SETUP_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_BRFUNC_AES_H
|
#ifndef CHECKM8_TOOL_BRFUNC_AES_H
|
||||||
#define IPWNDFU_REWRITE_C_BRFUNC_AES_H
|
#define CHECKM8_TOOL_BRFUNC_AES_H
|
||||||
|
|
||||||
#include "brfunc_common.h"
|
#include "brfunc_common.h"
|
||||||
|
|
||||||
@@ -15,4 +15,4 @@
|
|||||||
#define rAES_INT_STATUS (long *) ADDR_AES_CONTROL
|
#define rAES_INT_STATUS (long *) ADDR_AES_CONTROL
|
||||||
#define rAES_CONTROL (long *) ADDR_AES_STATUS
|
#define rAES_CONTROL (long *) ADDR_AES_STATUS
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_BRFUNC_AES_H
|
#endif //CHECKM8_TOOL_BRFUNC_AES_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_BRFUNC_COMMON_H
|
#ifndef CHECKM8_TOOL_BRFUNC_COMMON_H
|
||||||
#define IPWNDFU_REWRITE_C_BRFUNC_COMMON_H
|
#define CHECKM8_TOOL_BRFUNC_COMMON_H
|
||||||
|
|
||||||
#include "checkm8_config.h"
|
#include "checkm8_config.h"
|
||||||
|
|
||||||
@@ -32,4 +32,4 @@ typedef int (*BOOTROM_FUNC)();
|
|||||||
#error "Unsupported checkm8 platform"
|
#error "Unsupported checkm8 platform"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_BRFUNC_COMMON_H
|
#endif //CHECKM8_TOOL_BRFUNC_COMMON_H
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_BRFUNC_SEP_H
|
#ifndef CHECKM8_TOOL_BRFUNC_SEP_H
|
||||||
#define IPWNDFU_REWRITE_C_BRFUNC_SEP_H
|
#define CHECKM8_TOOL_BRFUNC_SEP_H
|
||||||
|
|
||||||
#include "brfunc_common.h"
|
#include "brfunc_common.h"
|
||||||
|
|
||||||
#define DPA_SEEDED ((BOOTROM_FUNC) ADDR_DPA_SEEDED)
|
#define DPA_SEEDED ((BOOTROM_FUNC) ADDR_DPA_SEEDED)
|
||||||
#define SEP_CREATE_SEND_DPA_MESSAGE ((BOOTROM_FUNC) ADDR_SEND_DPA_MESSAGE)
|
#define SEP_CREATE_SEND_DPA_MESSAGE ((BOOTROM_FUNC) ADDR_SEND_DPA_MESSAGE)
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_BRFUNC_SEP_H
|
#endif //CHECKM8_TOOL_BRFUNC_SEP_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_BRFUNC_TIMING_H
|
#ifndef CHECKM8_TOOL_BRFUNC_TIMING_H
|
||||||
#define IPWNDFU_REWRITE_C_BRFUNC_TIMING_H
|
#define CHECKM8_TOOL_BRFUNC_TIMING_H
|
||||||
|
|
||||||
#include "brfunc_common.h"
|
#include "brfunc_common.h"
|
||||||
|
|
||||||
@@ -7,4 +7,4 @@
|
|||||||
#define SYSTEM_TIME ((BOOTROM_FUNC) ADDR_SYSTEM_TIME)
|
#define SYSTEM_TIME ((BOOTROM_FUNC) ADDR_SYSTEM_TIME)
|
||||||
#define TIME_HAS_ELAPSED ((BOOTROM_FUNC) ADDR_TIME_HAS_ELAPSED)
|
#define TIME_HAS_ELAPSED ((BOOTROM_FUNC) ADDR_TIME_HAS_ELAPSED)
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_BRFUNC_TIMING_H
|
#endif //CHECKM8_TOOL_BRFUNC_TIMING_H
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_UTIL_H
|
#ifndef CHECKM8_TOOL_UTIL_H
|
||||||
#define IPWNDFU_REWRITE_C_UTIL_H
|
#define CHECKM8_TOOL_UTIL_H
|
||||||
|
|
||||||
#define PAYLOAD_SECTION __attribute__ ((section (".payload_text")))
|
#define PAYLOAD_SECTION __attribute__ ((section (".payload_text")))
|
||||||
#define TEXT_SECTION __attribute__((section (".text")))
|
#define TEXT_SECTION __attribute__((section (".text")))
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_UTIL_H
|
#endif //CHECKM8_TOOL_UTIL_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_CHECKM8_H
|
#ifndef CHECKM8_TOOL_CHECKM8_H
|
||||||
#define IPWNDFU_REWRITE_C_CHECKM8_H
|
#define CHECKM8_TOOL_CHECKM8_H
|
||||||
|
|
||||||
#include "checkm8_config.h"
|
#include "checkm8_config.h"
|
||||||
|
|
||||||
@@ -46,4 +46,4 @@ struct pwned_device
|
|||||||
struct pwned_device *exploit_device();
|
struct pwned_device *exploit_device();
|
||||||
void free_device(struct pwned_device *dev);
|
void free_device(struct pwned_device *dev);
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_CHECKM8_H
|
#endif //CHECKM8_TOOL_CHECKM8_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_COMMAND_H
|
#ifndef CHECKM8_TOOL_COMMAND_H
|
||||||
#define IPWNDFU_REWRITE_C_COMMAND_H
|
#define CHECKM8_TOOL_COMMAND_H
|
||||||
|
|
||||||
#include "checkm8.h"
|
#include "checkm8.h"
|
||||||
|
|
||||||
@@ -22,4 +22,4 @@ struct dev_cmd_resp *dev_write_memory(struct pwned_device *dev, long long addr,
|
|||||||
|
|
||||||
void free_dev_cmd_resp(struct dev_cmd_resp *resp);
|
void free_dev_cmd_resp(struct dev_cmd_resp *resp);
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_COMMAND_H
|
#endif //CHECKM8_TOOL_COMMAND_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_PAYLOAD_H
|
#ifndef CHECKM8_TOOL_PAYLOAD_H
|
||||||
#define IPWNDFU_REWRITE_C_PAYLOAD_H
|
#define CHECKM8_TOOL_PAYLOAD_H
|
||||||
|
|
||||||
#include "checkm8.h"
|
#include "checkm8.h"
|
||||||
|
|
||||||
@@ -29,4 +29,4 @@ struct dev_cmd_resp *execute_payload(struct pwned_device *dev, PAYLOAD_T p, int
|
|||||||
struct dev_cmd_resp *read_payload(struct pwned_device *dev, long long addr, int len);
|
struct dev_cmd_resp *read_payload(struct pwned_device *dev, long long addr, int len);
|
||||||
struct dev_cmd_resp *write_payload(struct pwned_device *dev, long long addr, unsigned char *data, int len);
|
struct dev_cmd_resp *write_payload(struct pwned_device *dev, long long addr, unsigned char *data, int len);
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_PAYLOAD_H
|
#endif //CHECKM8_TOOL_PAYLOAD_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_LIBUSB_HELPERS_H
|
#ifndef CHECKM8_TOOL_LIBUSB_HELPERS_H
|
||||||
#define IPWNDFU_REWRITE_C_LIBUSB_HELPERS_H
|
#define CHECKM8_TOOL_LIBUSB_HELPERS_H
|
||||||
|
|
||||||
#include "checkm8.h"
|
#include "checkm8.h"
|
||||||
#define LIBUSB_MAX_PACKET_SIZE 0x800
|
#define LIBUSB_MAX_PACKET_SIZE 0x800
|
||||||
@@ -42,4 +42,4 @@ int reset(struct pwned_device *dev);
|
|||||||
int serial_descriptor(struct pwned_device *dev, unsigned char *serial_buf, int len);
|
int serial_descriptor(struct pwned_device *dev, unsigned char *serial_buf, int len);
|
||||||
|
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_LIBUSB_HELPERS_H
|
#endif //CHECKM8_TOOL_LIBUSB_HELPERS_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef IPWNDFU_REWRITE_C_CHECKM8_CONFIG_H
|
#ifndef CHECKM8_TOOL_CHECKM8_CONFIG_H
|
||||||
#define IPWNDFU_REWRITE_C_CHECKM8_CONFIG_H
|
#define CHECKM8_TOOL_CHECKM8_CONFIG_H
|
||||||
|
|
||||||
//#define LIBUSB_LOGGING
|
//#define LIBUSB_LOGGING
|
||||||
#define CHECKM8_LOGGING
|
#define CHECKM8_LOGGING
|
||||||
@@ -13,4 +13,4 @@
|
|||||||
void checkm8_debug_indent(const char *format, ...);
|
void checkm8_debug_indent(const char *format, ...);
|
||||||
void checkm8_debug_block(const char *format, ...);
|
void checkm8_debug_block(const char *format, ...);
|
||||||
|
|
||||||
#endif //IPWNDFU_REWRITE_C_CHECKM8_CONFIG_H
|
#endif //CHECKM8_TOOL_CHECKM8_CONFIG_H
|
||||||
|
|||||||
Reference in New Issue
Block a user