Skip to content

Commit 987a29a

Browse files
committed
fix duplicate kite_fargs struct and unicode escape in CI
1 parent 4ef0a55 commit 987a29a

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
138138
int main(int argc, char *argv[]) {
139139
if (argc < 2) {
140-
printf("Usage: %s \u003ckernel_image\u003e\n", argv[0]);
140+
printf("Usage: %s <kernel_image>\n", argv[0]);
141141
return 1;
142142
}
143143

core/hook/hook_engine.h

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <stdint.h>
1414
#include <stddef.h>
1515
#include <stdbool.h>
16+
#include <kite/module.h>
1617

1718
/* Hook error codes */
1819
enum hook_error {
@@ -52,17 +53,6 @@ struct hook_entry {
5253
};
5354

5455
/* Hook wrap (chain) callbacks - fargs-based */
55-
struct kite_fargs {
56-
void *chain;
57-
uint64_t arg0;
58-
uint64_t arg1;
59-
uint64_t arg2;
60-
uint64_t arg3;
61-
uint64_t ret;
62-
int skip_origin;
63-
uint64_t local[8];
64-
};
65-
6656
typedef void (*hook_before_fn)(struct kite_fargs *fargs, void *udata);
6757
typedef void (*hook_after_fn)(struct kite_fargs *fargs, void *udata);
6858

0 commit comments

Comments
 (0)