⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldlinux.lst

📁 Windows上的精简Linux系统
💻 LST
📖 第 1 页 / 共 5 页
字号:
   190                              <1> ;;   Bostom MA 02111-1307, USA; either version 2 of the License, or   191                              <1> ;;   (at your option) any later version; incorporated herein by reference.   192                              <1> ;;   193                              <1> ;; -----------------------------------------------------------------------   194                              <1>    195                              <1> ;;   196                              <1> ;; kernel.inc   197                              <1> ;;    198                              <1> ;; Header file for the kernel interface definitions   199                              <1> ;;   200                              <1>    201                              <1> %ifndef _KERNEL_INC   202                              <1> %define _KERNEL_INC   203                              <1>    204                              <1> ;;   205                              <1> ;; Structure of the real_mode_seg   206                              <1> ;;   207                              <1>    208                              <1> 		struc real_mode_seg_t   209 00000000 <res 00000020>      <1> 		resb 20h-($-$$)		; org 20h   210 00000020 <res 00000002>      <1> kern_cmd_magic	resw 1			; 0020 Magic # for command line   211 00000022 <res 00000002>      <1> kern_cmd_offset resw 1			; 0022 Offset for kernel command line   212 00000024 <res 000001CD>      <1> 		resb 497-($-$$)		; org 497d   213 000001F1 <res 00000001>      <1> bs_setupsecs	resb 1			; 01F1 Sectors for setup code (0 -> 4)   214 000001F2 <res 00000002>      <1> bs_rootflags	resw 1			; 01F2 Root readonly flag   215 000001F4 <res 00000002>      <1> bs_syssize	resw 1			; 01F4   216 000001F6 <res 00000002>      <1> bs_swapdev	resw 1			; 01F6 Swap device (obsolete)   217 000001F8 <res 00000002>      <1> bs_ramsize	resw 1			; 01F8 Ramdisk flags, formerly ramdisk size   218 000001FA <res 00000002>      <1> bs_vidmode	resw 1			; 01FA Video mode   219 000001FC <res 00000002>      <1> bs_rootdev	resw 1			; 01FC Root device   220 000001FE <res 00000002>      <1> bs_bootsign	resw 1			; 01FE Boot sector signature (0AA55h)   221 00000200 <res 00000001>      <1> su_jump		resb 1			; 0200 0EBh   222 00000201 <res 00000001>      <1> su_jump2	resb 1			; 0201 Size of following header   223 00000202 <res 00000004>      <1> su_header	resd 1			; 0202 New setup code: header   224 00000206 <res 00000002>      <1> su_version	resw 1			; 0206 See linux/arch/i386/boot/setup.S   225 00000208 <res 00000002>      <1> su_switch	resw 1			; 0208   226 0000020A <res 00000002>      <1> su_setupseg	resw 1			; 020A   227 0000020C <res 00000002>      <1> su_startsys	resw 1			; 020C   228 0000020E <res 00000002>      <1> su_kver		resw 1			; 020E Kernel version pointer   229 00000210 <res 00000001>      <1> su_loader	resb 1			; 0210 Loader ID   230 00000211 <res 00000001>      <1> su_loadflags	resb 1			; 0211 Load high flag   231 00000212 <res 00000002>      <1> su_movesize	resw 1			; 0212   232 00000214 <res 00000004>      <1> su_code32start	resd 1			; 0214 Start of code loaded high   233 00000218 <res 00000004>      <1> su_ramdiskat	resd 1			; 0218 Start of initial ramdisk   234                              <1> su_ramdisklen	equ $			; Length of initial ramdisk   235 0000021C <res 00000002>      <1> su_ramdisklen1	resw 1			; 021C   236 0000021E <res 00000002>      <1> su_ramdisklen2	resw 1			; 021E   237 00000220 <res 00000002>      <1> su_bsklugeoffs	resw 1			; 0220   238 00000222 <res 00000002>      <1> su_bsklugeseg	resw 1			; 0222   239 00000224 <res 00000002>      <1> su_heapend	resw 1			; 0224   240 00000226 <res 00000002>      <1> su_pad1		resw 1			; 0226   241 00000228 <res 00000004>      <1> su_cmd_line_ptr	resd 1			; 0228   242 0000022C <res 00000004>      <1> su_ramdisk_max	resd 1			; 022C   243 00000230 <res 00008DC4>      <1> 		resb (9000h-12)-($-$$)	; Were bootsect.S puts it...   244                              <1> linux_stack	equ $			; 8FF4   245                              <1> linux_fdctab	equ $   246 00008FF4 <res 0000000C>      <1> 		resb 9000h-($-$$)   247                              <1> cmd_line_here	equ $			; 9000 Should be out of the way   248                              <1> 		endstruc   249                              <1>    250                              <1> ;   251                              <1> ; Kernel command line signature   252                              <1> ;   253                              <1> CMD_MAGIC	equ 0A33Fh		; Command line magic   254                              <1>    255                              <1> ;   256                              <1> ; Magic number of su_header field   257                              <1> ;   258                              <1> HEADER_ID       equ 'HdrS'		; HdrS (in littleendian hex)   259                              <1>    260                              <1> ;   261                              <1> ; Flags for the su_loadflags field   262                              <1> ;   263                              <1> LOAD_HIGH	equ 01h			; Large kernel, load high   264                              <1> CAN_USE_HEAP    equ 80h                 ; Boot loader reports heap size   265                              <1>    266                              <1> ;   267                              <1> ; ID codes for various modules   268                              <1> ;   269                              <1> syslinux_id	equ 031h		; 3 = SYSLINUX family; 1 = SYSLINUX   270                              <1> pxelinux_id	equ 032h		; 3 = SYSLINUX family; 2 = PXELINUX   271                              <1> isolinux_id	equ 033h		; 3 = SYSLINUX family; 3 = PXELINUX   272                              <1>    273                              <1> %endif ; _KERNEL_INC   274                                  %include "bios.inc"   275                              <1> ;; $Id: bios.inc,v 1.2 2004/01/29 06:54:51 hpa Exp $   276                              <1> ;; -----------------------------------------------------------------------   277                              <1> ;;      278                              <1> ;;   Copyright 1994-2004 H. Peter Anvin - All Rights Reserved   279                              <1> ;;   280                              <1> ;;   This program is free software; you can redistribute it and/or modify   281                              <1> ;;   it under the terms of the GNU General Public License as published by   282                              <1> ;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,   283                              <1> ;;   Bostom MA 02111-1307, USA; either version 2 of the License, or   284                              <1> ;;   (at your option) any later version; incorporated herein by reference.   285                              <1> ;;   286                              <1> ;; -----------------------------------------------------------------------   287                              <1>    288                              <1> ;;   289                              <1> ;; bios.inc   290                              <1> ;;    291                              <1> ;; Header file for the BIOS data structures etc.   292                              <1> ;;   293                              <1>    294                              <1> %ifndef _BIOS_INC   295                              <1> %define _BIOS_INC   296                              <1>    297                              <1> 		absolute 4*1Eh		; In the interrupt table   298                              <1> fdctab		equ $   299 00000078 <res 00000002>      <1> fdctab1		resw 1   300 0000007A <res 00000002>      <1> fdctab2		resw 1   301                              <1> 		absolute 0400h   302 00000400 <res 00000008>      <1> serial_base	resw 4			; Base addresses for 4 serial ports   303                              <1> 		absolute 0413h   304 00000413 <res 00000002>      <1> BIOS_fbm	resw 1			; Free Base Memory (kilobytes)   305                              <1> 		absolute 0462h   306 00000462 <res 00000001>      <1> BIOS_page	resb 1			; Current video page   307                              <1> 		absolute 046Ch   308 0000046C <res 00000002>      <1> BIOS_timer	resw 1			; Timer ticks   309                              <1> 		absolute 0472h   310 00000472 <res 00000002>      <1> BIOS_magic	resw 1			; BIOS reset magic   311                              <1>                 absolute 0484h   312 00000484 <res 00000001>      <1> BIOS_vidrows    resb 1			; Number of screen rows   313                              <1>    314                              <1> %endif ; _BIOS_INC   315                                  %include "tracers.inc"   316                              <1> ;; $Id: tracers.inc,v 1.1 2002/04/26 05:56:25 hpa Exp $   317                              <1> ;; -----------------------------------------------------------------------   318                              <1> ;;      319                              <1> ;;   Copyright 1994-2002 H. Peter Anvin - All Rights Reserved   320                              <1> ;;   321                              <1> ;;   This program is free software; you can redistribute it and/or modify   322                              <1> ;;   it under the terms of the GNU General Public License as published by   323                              <1> ;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,   324                              <1> ;;   Bostom MA 02111-1307, USA; either version 2 of the License, or   325                              <1> ;;   (at your option) any later version; incorporated herein by reference.   326                              <1> ;;   327                              <1> ;; -----------------------------------------------------------------------   328                              <1>    329                              <1> ;;   330                              <1> ;; tracers.inc   331                              <1> ;;    332                              <1> ;; Debugging tracers   333                              <1> ;;   334                              <1>    335                              <1> %ifndef _TRACERS_INC   336                              <1> %define _TRACERS_INC   337                              <1>    338                              <1> ; Note: The Makefile builds one version with DEBUG_MESSAGES automatically.   339                              <1> ; %define DEBUG_TRACERS			; Uncomment to get debugging tracers   340                              <1> ; %define DEBUG_MESSAGES		; Uncomment to get debugging messages   341                              <1>    342                              <1> %ifdef DEBUG_TRACERS   343                              <1>    344                              <1> %macro TRACER	1   345                              <1> 	call debug_tracer   346                              <1> 	db %1   347                              <1> %endmacro   348                              <1>    349                              <1> %else	; DEBUG_TRACERS   350                              <1>    351                              <1> %macro	TRACER	1   352                              <1> %endmacro   353                              <1>    354                              <1> %endif	; DEBUG_TRACERS   355                              <1>    356                              <1> %endif ; _TRACERS_INC   357                                     358                                  ;   359                                  ; Some semi-configurable constants... change on your own risk.   360                                  ;   361                                  my_id		equ syslinux_id   362                                  FILENAME_MAX_LG2 equ 4			; log2(Max filename size Including final null)   363                                  FILENAME_MAX	equ 11			; Max mangled filename size   364                                  NULLFILE	equ ' '			; First char space == null filename   365                                  retry_count	equ 6			; How patient are we with the disk?   366                                  %assign HIGHMEM_SLOP 0			; Avoid this much memory near the top   367                                     368                                  ;   369                                  ; This is what we need to do when idle   370                                  ;   371                                  %macro	RESET_IDLE 0   372                                  	; Nothing   373                                  %endmacro   374                                  %macro	DO_IDLE 0   375                                  	; Nothing   376                                  %endmacro   377                                     378                                  ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -