Author: wmb Date: 2008-08-09 10:45:32 +0200 (Sat, 09 Aug 2008) New Revision: 876
Modified: cpu/x86/pc/linux.fth Log: Linux zero-page structure - the "type_of_loader" field at offset 0x210 is one byte, not two. Writing into the next byte can prevent Linux 2.6.26 from starting.
Modified: cpu/x86/pc/linux.fth =================================================================== --- cpu/x86/pc/linux.fth 2008-08-09 01:00:16 UTC (rev 875) +++ cpu/x86/pc/linux.fth 2008-08-09 08:45:32 UTC (rev 876) @@ -107,7 +107,7 @@ h# 0 h# 1fc +lp w! \ root_dev - see init/main.c:parse_root_dev
0 h# 1ff +lp c! \ Aux device - set to AA if PS2 mouse present - /ramdisk 0<> h# 210 +lp w! \ loader type - set non0 to enable ramdisk info + /ramdisk 0<> h# 210 +lp c! \ loader type - set non0 to enable ramdisk info \ h# 100000 h# 214 +lp l! \ kernel start - unused ramdisk-adr h# 218 +lp l! \ initrd start /ramdisk h# 21c +lp l! \ initrd size