aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/farcall.c
blob: 7d195f1028f686271712f1f56f48962af66ba947 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * farcall.c
 */

#include <com32.h>

void __farcall(uint16_t cs, uint16_t ip,
	       const com32sys_t * ireg, com32sys_t * oreg)
{
    __com32.cs_farcall((cs << 16) + ip, ireg, oreg);
}