Repos / kernel.git / commitdiff
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84589cb)
raw | patch | inline | side by side (parent: 84589cb)
| author | zhaoyanbai <zhaoyanbai@126.com> | |
| Sat, 5 Apr 2014 06:25:05 +0000 (14:25 +0800) | ||
| committer | zhaoyanbai <zhaoyanbai@126.com> | |
| Sat, 5 Apr 2014 06:25:05 +0000 (14:25 +0800) |
| README.md | [new file with mode: 0644] | patch | blob |
| mm/mm.c | patch | blob | history |
diff --git a/README.md b/README.md
--- /dev/null
+++ b/README.md
@@ -0,0 +1,10 @@
+kernel
+======
+
+I can't find a satisfactory name for my kernel.
+
+### HOW TO GET THE LATEST SOURCECODE?
+ git clone https://github.com/acevest/kernel
+### WHEN DID YOU START TO DO THIS WORK?
+ Maybe 2006.12
+### HOW TO COMPILE THIS KERNEL?
--- a/mm/mm.c
+++ b/mm/mm.c
unsigned long pt_addr = (unsigned long) va2pa(bootmem_alloc_pages(1));
*pde = pt_addr | 7;
- *(pde + (PAGE_OFFSET>>20)) = *pde; // for kernel paging
+ *(pde + (PAGE_OFFSET>>22)) = *pde; // for kernel paging
for(ti=0; ti<PTECNT_PER_PAGE; ++ti)
{
init_paging();
printk("init buddy system...\n");
init_buddy_system();
+ printk("memory init finish...\n");
}