blob: 95385765c67b9c270233926af04f46d8a1a0d1e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
; -*- fundamental -*- (asm-mode sucks)
; ****************************************************************************
;
; extlinux.asm
;
; A program to boot Linux kernels off an ext2/ext3 filesystem.
;
; Copyright 1994-2009 H. Peter Anvin - All Rights Reserved
; Copyright 2009 Intel Corporation; author: H. Peter Anvin
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
; Boston MA 02111-1307, USA; either version 2 of the License, or
; (at your option) any later version; incorporated herein by reference.
;
; ****************************************************************************
%define IS_EXTLINUX 1
%include "head.inc"
;
; Some semi-configurable constants... change on your own risk.
;
my_id equ extlinux_id
section .rodata
alignz 4
ROOT_FS_OPS:
extern vfat_fs_ops
dd vfat_fs_ops
extern ext2_fs_ops
dd ext2_fs_ops
extern btrfs_fs_ops
dd btrfs_fs_ops
dd 0
%include "diskfs.inc"
|