Merge remote-tracking branch 'origin/master' into elflink
[syslinux/sherbszt.git] / core / ldlinux.asm
bloba2f859d05dfdf15eb21835fe162483e9f61bf125
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 ntfs_fs_ops
41 dd ntfs_fs_ops
42 extern btrfs_fs_ops
43 dd btrfs_fs_ops
44 dd 0
46 %include "diskfs.inc"