shithub: riscv

ref: 403fef45c1a65aa74c449764e2857597fc03290a
dir: /sys/src/cmd/aux/na/na.h/

View raw version
#ifndef NA_H
#define NA_H

struct na_patch {
	unsigned lwoff;
	unsigned char type;
};

int na_fixup(unsigned long *script, unsigned long pa_script, unsigned long pa_reg,
    struct na_patch *patch, int patches,
    int (*externval)(int x, unsigned long *v));

#endif