update lab1_result

1. Now can edit/analysis/debug in eclipse
2. add .cproject .project in .gitignore
3. fix some warnning using gcc-4.8
This commit is contained in:
os_lab_user
2015-02-11 00:11:06 +08:00
parent df589cbdde
commit 89d1308e41
5 changed files with 15 additions and 9 deletions

View File

@@ -29,9 +29,8 @@
*
* * bootmain() in this file takes over, reads in the kernel and jumps to it.
* */
#define SECTSIZE 512
#define ELFHDR ((struct elfhdr *)0x10000) // scratch space
unsigned int SECTSIZE = 512 ;
struct elfhdr * ELFHDR = ((struct elfhdr *)0x10000) ; // scratch space
/* waitdisk - wait for disk ready */
static void