Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[e16e8f2] | 1 | ; -*- fundamental -*- (asm-mode sucks) |
---|
| 2 | ; **************************************************************************** |
---|
| 3 | ; |
---|
| 4 | ; ldlinux.asm |
---|
| 5 | ; |
---|
| 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. |
---|
| 9 | ; |
---|
| 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. |
---|
| 13 | ; |
---|
| 14 | ; Copyright 1994-2009 H. Peter Anvin - All Rights Reserved |
---|
| 15 | ; Copyright 2009 Intel Corporation; author: H. Peter Anvin |
---|
| 16 | ; |
---|
| 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. |
---|
| 22 | ; |
---|
| 23 | ; **************************************************************************** |
---|
| 24 | |
---|
| 25 | %define IS_SYSLINUX 1 |
---|
| 26 | %include "head.inc" |
---|
| 27 | |
---|
| 28 | ; |
---|
| 29 | ; Some semi-configurable constants... change on your own risk. |
---|
| 30 | ; |
---|
| 31 | my_id equ syslinux_id |
---|
| 32 | |
---|
| 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 xfs_fs_ops |
---|
| 43 | dd xfs_fs_ops |
---|
| 44 | extern btrfs_fs_ops |
---|
| 45 | dd btrfs_fs_ops |
---|
| 46 | extern ufs_fs_ops |
---|
| 47 | dd ufs_fs_ops |
---|
| 48 | dd 0 |
---|
| 49 | |
---|
| 50 | %include "diskfs.inc" |
---|
Note: See
TracBrowser
for help on using the repository browser.