Increase the default TCP maximum segment size from 512 to 1460.
[dragonfly.git] / sys / boot / i386 / libi386 / pxetramp.s
1 #
2 # Copyright (c) 2000 Peter Wemm
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms are freely
6 # permitted provided that the above copyright notice and this
7 # paragraph and the following disclaimer are duplicated in all
8 # such forms.
9 #
10 # This software is provided "AS IS" and without any express or
11 # implied warranties, including, without limitation, the implied
12 # warranties of merchantability and fitness for a particular
13 # purpose.
14 #
15 # $FreeBSD: src/sys/boot/i386/libi386/pxetramp.s,v 1.3 2001/10/04 10:18:00 jhb Exp $
16 # $DragonFly: src/sys/boot/i386/libi386/Attic/pxetramp.s,v 1.3 2003/11/10 06:08:36 dillon Exp $
17
18 # ph33r this
19
20                 .globl  __bangpxeentry, __bangpxeseg, __bangpxeoff
21                 .globl  __pxenventry, __pxenvseg, __pxenvoff
22
23                 .code16
24                 .p2align 4,0x90
25 __bangpxeentry:
26                 push    %dx                     # seg:data
27                 push    %ax                     # off:data
28                 push    %bx                     # int16 func
29                 .byte   0x9a                    # far call
30 __bangpxeoff:   .word   0x0000                  # offset
31 __bangpxeseg:   .word   0x0000                  # segment
32                 add     $6, %sp                 # restore stack
33                 .byte   0xcb                    # to vm86int
34 #
35 __pxenventry:
36                 .byte   0x9a                    # far call
37 __pxenvoff:     .word   0x0000                  # offset
38 __pxenvseg:     .word   0x0000                  # segment
39                 .byte   0xcb                    # to vm86int