hekate/nyx: utilize bdk global header

This commit is contained in:
CTCaer committed 2022-01-16 00:04:34 +02:00
1 parent a5cd962f99
commit 5894062b93
55 files changed
+97 -389

No files matched your search

+2 -16
View File
@@ -20,25 +20,11 @@
#include <string.h>
#include <bdk.h>
#include "hos.h"
#include "../config.h"
#include <display/di.h>
#include <gfx_utils.h>
#include <mem/heap.h>
#include <mem/mc.h>
#include <mem/smmu.h>
#include <sec/se.h>
#include <sec/se_t210.h>
#include <sec/tsec.h>
#include <soc/bpmp.h>
#include <soc/fuse.h>
#include <soc/pmc.h>
#include <soc/t210.h>
#include <storage/mbr_gpt.h>
#include "../storage/nx_emmc.h"
#include <storage/nx_sd.h>
#include <storage/sdmmc.h>
#include <utils/util.h>
extern hekate_config h_cfg;
+2 -4
View File
@@ -18,12 +18,10 @@
#ifndef _HOS_H_
#define _HOS_H_
#include <bdk.h>
#include "pkg1.h"
#include "pkg2.h"
#include <sec/se_t210.h>
#include <utils/types.h>
#include <utils/ini.h>
#include <sec/tsec.h>
#include <assert.h>
+2 -4
View File
@@ -19,13 +19,11 @@
#include <string.h>
#include <bdk.h>
#include "hos.h"
#include "pkg1.h"
#include "../config.h"
#include <gfx_utils.h>
#include <mem/heap.h>
#include <sec/se.h>
#include <utils/aarch64_util.h>
extern hekate_config h_cfg;
+1 -1
View File
@@ -17,7 +17,7 @@
#ifndef _PKG1_H_
#define _PKG1_H_
#include <utils/types.h>
#include <bdk.h>
#define PKG1_MAGIC 0x31314B50
+3 -7
View File
@@ -17,18 +17,15 @@
#include <string.h>
#include <bdk.h>
#include "pkg2.h"
#include "hos.h"
#include "../config.h"
#include <libs/fatfs/ff.h>
#include <mem/heap.h>
#include <sec/se.h>
#include <sec/se_t210.h>
#include <libs/compr/blz.h>
#include <gfx_utils.h>
extern hekate_config h_cfg;
extern const u8 package2_keyseed[];
@@ -36,8 +33,7 @@ u32 pkg2_newkern_ini1_val;
u32 pkg2_newkern_ini1_start;
u32 pkg2_newkern_ini1_end;
/*#include <utils/util.h>
#define DPRINTF(...) gfx_printf(__VA_ARGS__)
/*#define DPRINTF(...) gfx_printf(__VA_ARGS__)
#define DEBUG_PRINTING*/
#define DPRINTF(...)
+1 -2
View File
@@ -18,8 +18,7 @@
#ifndef _PKG2_H_
#define _PKG2_H_
#include <utils/types.h>
#include <utils/list.h>
#include <bdk.h>
#define PKG2_MAGIC 0x31324B50
#define PKG2_SEC_BASE 0x80000000