header.S (c1f3ee120bb61045b1c0a3ead620d1d65af47130) | header.S (099e1377269a47ed30a00ee131001988e5bcaa9c) |
---|---|
1/* 2 * header.S 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 * 6 * Based on bootsect.S and setup.S 7 * modified by more people than can be counted 8 * --- 8 unchanged lines hidden (view full) --- 17 18#include <asm/segment.h> 19#include <linux/utsrelease.h> 20#include <asm/boot.h> 21#include <asm/e820.h> 22#include <asm/page.h> 23#include <asm/setup.h> 24#include "boot.h" | 1/* 2 * header.S 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 * 6 * Based on bootsect.S and setup.S 7 * modified by more people than can be counted 8 * --- 8 unchanged lines hidden (view full) --- 17 18#include <asm/segment.h> 19#include <linux/utsrelease.h> 20#include <asm/boot.h> 21#include <asm/e820.h> 22#include <asm/page.h> 23#include <asm/setup.h> 24#include "boot.h" |
25#include "offsets.h" |
|
25 26SETUPSECTS = 4 /* default nr of setup-sectors */ 27BOOTSEG = 0x07C0 /* original address of boot-sector */ 28SYSSEG = DEF_SYSSEG /* system loaded at 0x10000 (65536) */ 29SYSSIZE = DEF_SYSSIZE /* system size: # of 16-byte clicks */ 30 /* to be loaded */ 31ROOT_DEV = 0 /* ROOT_DEV is now written by "build" */ 32SWAP_DEV = 0 /* SWAP_DEV is now written by "build" */ --- 185 unchanged lines hidden (view full) --- 218 #added with boot protocol 219 #version 2.06 220 221hardware_subarch: .long 0 # subarchitecture, added with 2.07 222 # default to 0 for normal x86 PC 223 224hardware_subarch_data: .quad 0 225 | 26 27SETUPSECTS = 4 /* default nr of setup-sectors */ 28BOOTSEG = 0x07C0 /* original address of boot-sector */ 29SYSSEG = DEF_SYSSEG /* system loaded at 0x10000 (65536) */ 30SYSSIZE = DEF_SYSSIZE /* system size: # of 16-byte clicks */ 31 /* to be loaded */ 32ROOT_DEV = 0 /* ROOT_DEV is now written by "build" */ 33SWAP_DEV = 0 /* SWAP_DEV is now written by "build" */ --- 185 unchanged lines hidden (view full) --- 219 #added with boot protocol 220 #version 2.06 221 222hardware_subarch: .long 0 # subarchitecture, added with 2.07 223 # default to 0 for normal x86 PC 224 225hardware_subarch_data: .quad 0 226 |
227compressed_payload_offset: 228 .long input_data 229compressed_payload_length: 230 .long input_data_end-input_data 231 |
|
226# End of setup header ##################################################### 227 228 .section ".inittext", "ax" 229start_of_setup: 230#ifdef SAFE_RESET_DISK_CONTROLLER 231# Reset the disk controller. 232 movw $0x0000, %ax # Reset disk controller 233 movb $0x80, %dl # All disks --- 75 unchanged lines hidden --- | 232# End of setup header ##################################################### 233 234 .section ".inittext", "ax" 235start_of_setup: 236#ifdef SAFE_RESET_DISK_CONTROLLER 237# Reset the disk controller. 238 movw $0x0000, %ax # Reset disk controller 239 movb $0x80, %dl # All disks --- 75 unchanged lines hidden --- |