shithub: riscv

ref: 2c6cc121339ade33ac5aa4b46356df1cd5469fbe
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