hdt: Preventing dump mode if no PXE config
[hdt-cyring.git] / core / ldlinux.asm
blobf62f55b2efe9b1e626b10b9c8770e2baacd5b9f5
1 ; -*- fundamental -*- (asm-mode sucks)
2 ; ****************************************************************************
4 ; ldlinux.asm
6 ; A program to boot Linux kernels off an MS-DOS formatted floppy disk. This
7 ; functionality is good to have for installation floppies, where it may
8 ; be hard to find a functional Linux system to run LILO off.
10 ; This program allows manipulation of the disk to take place entirely
11 ; from MS-LOSS, and can be especially useful in conjunction with the
12 ; umsdos filesystem.
14 ; Copyright 1994-2009 H. Peter Anvin - All Rights Reserved
15 ; Copyright 2009 Intel Corporation; author: H. Peter Anvin
17 ; This program is free software; you can redistribute it and/or modify
18 ; it under the terms of the GNU General Public License as published by
19 ; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
20 ; Boston MA 02111-1307, USA; either version 2 of the License, or
21 ; (at your option) any later version; incorporated herein by reference.
23 ; ****************************************************************************
25 %define IS_SYSLINUX 1
26 %include "head.inc"
29 ; Some semi-configurable constants... change on your own risk.
31 my_id equ syslinux_id
33 section .rodata
34 alignz 4
35 ROOT_FS_OPS:
36 extern vfat_fs_ops
37 dd vfat_fs_ops
38 extern ext2_fs_ops
39 dd ext2_fs_ops
40 extern btrfs_fs_ops
41 dd btrfs_fs_ops
42 dd 0
44 %include "diskfs.inc"