summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/net.c
blob: b899d96599a8d2a3aff42261e287f821d98ab629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
** No copyright!
**
** $FreeBSD$
**
** NetBIOS etc. hooks.
*/
#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");
}
OpenPOWER on IntegriCloud