protected void placeSyscall(Program program, long number, String name) throws Exception {
		AddressSpace spaceSyscall =
			program.getAddressFactory().getAddressSpace(SYSCALL_SPACE_NAME);
		FunctionManager functions = program.getFunctionManager();

		Address addr = spaceSyscall.getAddress(number);
		functions.createFunction(name, addr, new AddressSet(addr), SourceType.USER_DEFINED)
				.setCallingConvention(SYSCALL_CONVENTION_NAME);
	}
Place a system call function in the "syscall" overlay on OTHER

@param program the program with "syscall" space already create
@param number the syscall number
@param name the syscall name
@throws Exception if something goes wrong
Ghidra/Features/SystemEmulation/src/test/java/ghidra/pcode/emu/sys/SyscallTestHelper.java