File:  [MW Coherent from dump] / coherent / f / tmp / install / kpatch / patchl.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * patchl.h
 */

#ifndef PATCHL_H
#define PATCHL_H

#include <sys/patch.h>

enum {
	bad_arg = 0,
	peek_arg = 1,
	assign_arg = 2,
	con_in_arg = 3,
	con_out_arg = 4
};

typedef char Vname[PATCH_VAR_NAME_LENGTH];

struct PatchPeek {
	Vname vname;
};

struct PatchAssign {
	Vname vname;
	long newValue;
};

struct PatchCon {
	Vname vname;
	int maj;
};

struct PatchInfo {
	int piType;
	union {
		struct PatchPeek peekData;
		struct PatchAssign assignData;
		struct PatchCon conData;
	} piData;
};

#endif  /* PATCHL_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.