Deleted Added
full compact
pxeldr.S (69395) pxeldr.S (72091)
1#
2# Copyright (c) 2000 John Baldwin
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
1#
2# Copyright (c) 2000 John Baldwin
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
16# $FreeBSD: head/sys/boot/i386/pxeldr/pxeldr.S 69395 2000-11-30 18:33:59Z jhb $
16# $FreeBSD: head/sys/boot/i386/pxeldr/pxeldr.S 72091 2001-02-06 11:21:58Z asmodai $
17
18#
19# This simple program is a preloader for the normal boot3 loader. It is simply
20# prepended to the beginning of a fully built and btxld'd loader. It then
21# copies the loader to the address boot2 normally loads it, emulates the
22# boot[12] environment (protected mode, a bootinfo struct, etc.), and then jumps
23# to the start of btxldr to start the boot process. This method allows a stock
24# /boot/loader to be booted over the network via PXE w/o having to write a
17
18#
19# This simple program is a preloader for the normal boot3 loader. It is simply
20# prepended to the beginning of a fully built and btxld'd loader. It then
21# copies the loader to the address boot2 normally loads it, emulates the
22# boot[12] environment (protected mode, a bootinfo struct, etc.), and then jumps
23# to the start of btxldr to start the boot process. This method allows a stock
24# /boot/loader to be booted over the network via PXE w/o having to write a
25# seperate PXE-aware client just to load the loader.
25# separate PXE-aware client just to load the loader.
26#
27
28#
29# Memory locations.
30#
31 .set MEM_PAGE_SIZE,0x1000 # memory page size, 4k
32 .set MEM_ARG,0x900 # Arguments at start
33 .set MEM_ARG_BTX,0xa100 # Where we move them to so the

--- 248 unchanged lines hidden ---
26#
27
28#
29# Memory locations.
30#
31 .set MEM_PAGE_SIZE,0x1000 # memory page size, 4k
32 .set MEM_ARG,0x900 # Arguments at start
33 .set MEM_ARG_BTX,0xa100 # Where we move them to so the

--- 248 unchanged lines hidden ---