1997-08-09 01:43:15 +00:00
|
|
|
/*
|
|
|
|
** No copyright!
|
|
|
|
**
|
|
|
|
** NetBIOS etc. hooks.
|
|
|
|
*/
|
2002-03-07 12:52:27 +00:00
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__FBSDID("$FreeBSD$");
|
|
|
|
|
1997-08-09 01:43:15 +00:00
|
|
|
#include "doscmd.h"
|
|
|
|
|
|
|
|
static void
|
|
|
|
int2a(regcontext_t *REGS)
|
|
|
|
{
|
|
|
|
unknown_int2(0x2a, R_AH, REGS);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
int5c(regcontext_t *REGS)
|
|
|
|
{
|
|
|
|
unknown_int2(0x5c, R_AH, REGS);
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
net_init(void)
|
|
|
|
{
|
|
|
|
u_long vec;
|
|
|
|
|
|
|
|
vec = insert_softint_trampoline();
|
|
|
|
ivec[0x2a] = vec;
|
|
|
|
register_callback(vec, int2a, "int 2a");
|
|
|
|
|
|
|
|
vec = insert_softint_trampoline();
|
|
|
|
ivec[0x5c] = vec;
|
|
|
|
register_callback(vec, int5c, "int 5c");
|
|
|
|
}
|