aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/farcall.c
blob: 75288d4b1dcfb5fdbf8b3990e1e19bfb5d41e229 (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);
}