shithub: riscv

ref: ed9fdc72f519553f9c8f1f221f97bd5919847caa
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