|
From: Itsuro O. <od...@us...> - 2005-12-15 05:27:34
|
Update of /cvsroot/mkdump/minikpatch/1.0/linus/2.6.9/arch/i386/boot/compressed In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16038/arch/i386/boot/compressed Modified Files: Tag: org-minikpatch-1_0-linux-2_6_9 head.S Log Message: mini kernel v1 update1 original kernel source Index: head.S =================================================================== RCS file: /cvsroot/mkdump/minikpatch/1.0/linus/2.6.9/arch/i386/boot/compressed/head.S,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** head.S 15 Dec 2005 04:59:44 -0000 1.1 --- head.S 15 Dec 2005 05:27:22 -0000 1.1.2.1 *************** *** 123,164 **** rep movsl - /* - * ### for Mini Kernel stand alone test ### - */ - /* copy 0-8MB address of memory to 256-264MB address of memory */ - movl $0x000000,%esi - movl $0x10000000,%edi - movl $0x200000,%ecx - cld - rep - movsl - - /* clear orignal text !!!!! */ - xorl %eax,%eax - movl $0x100000,%edi - movl $0x100000,%ecx /* clear 4MB */ - rep ; stosl - - /* set minik memory table */ - xorl %eax,%eax - movl $0x10001000,%edi - movl $1024,%ecx - rep ; stosl - movl $0x10001000,%edi - movl $0x10000000,(%edi) - movl $0x10400000,4(%edi) - - /* set memory segment list */ - movl $0x10003000,%edi - movl $4096,(%edi) /* page_size */ - movl $1,4(%edi) /* seg_num */ - movl $0,8(%edi) /* seg_start_pfn */ - movl $0,12(%edi) - movl $0x40000,16(%edi) /* seg_size */ - /* - * ### end ### - */ movl %ebx,%esi # Restore setup pointer xorl %ebx,%ebx ! ljmp $(__BOOT_CS), $0x10100000 move_routine_end: --- 123,128 ---- rep movsl movl %ebx,%esi # Restore setup pointer xorl %ebx,%ebx ! ljmp $(__BOOT_CS), $0x100000 move_routine_end: |