Oops, I accidentally MFC'd too much.
[dragonfly.git] / usr.bin / doscmd / net.c
blob8daf0a3547d0c44e87d52c99776ab310bf9989e7
1 /*
2 * No copyright!
4 * NetBIOS etc. hooks.
5 * $FreeBSD: src/usr.bin/doscmd/net.c,v 1.2.2.1 2002/04/25 11:04:51 tg Exp $
6 * $DragonFly: src/usr.bin/doscmd/net.c,v 1.2 2003/06/17 04:29:26 dillon Exp $
7 */
9 #include "doscmd.h"
11 static void
12 int2a(regcontext_t *REGS)
14 unknown_int2(0x2a, R_AH, REGS);
17 static void
18 int5c(regcontext_t *REGS)
20 unknown_int2(0x5c, R_AH, REGS);
23 void
24 net_init(void)
26 u_long vec;
28 vec = insert_softint_trampoline();
29 ivec[0x2a] = vec;
30 register_callback(vec, int2a, "int 2a");
32 vec = insert_softint_trampoline();
33 ivec[0x5c] = vec;
34 register_callback(vec, int5c, "int 5c");