Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

mode name
-rw-r--r-- README.md
-rw-r--r-- genmacro.sh
README

ASMgen

The script generates FreeBSD syscall table for FASM assembler. It will parse /sys/kern/syscall.master file and produce FASM output.

Example

0	AUE_NULL	SYSMUX {
		int syscall(
		    int number,
		    ...
		);
	}
1	AUE_EXIT	STD|CAPENABLED {
		void exit(
		    int rval
		);
	}
2	AUE_FORK	STD|CAPENABLED {
		int fork(void);
	}

...

will produce

null             equ             0        ;;   SYSMUX
exit             equ             1        ;;   STD|CAPENABLED
fork             equ             2        ;;   STD|CAPENABLED

...