File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1313#include <stdint.h>
1414#include <stddef.h>
1515#include <stdbool.h>
16+ #include <kite/module.h>
1617
1718/* Hook error codes */
1819enum 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-
6656typedef void (* hook_before_fn )(struct kite_fargs * fargs , void * udata );
6757typedef void (* hook_after_fn )(struct kite_fargs * fargs , void * udata );
6858
You can’t perform that action at this time.
0 commit comments