chore: update website menu
This commit is contained in:
parent
6583b96351
commit
d764fe4666
|
@ -20,7 +20,7 @@ Timestamp: Updated yyyy/mm/dd
|
||||||
# These are indexes you deleted, so Natural Docs will not add them again
|
# These are indexes you deleted, so Natural Docs will not add them again
|
||||||
# unless you remove them from this line.
|
# unless you remove them from this line.
|
||||||
|
|
||||||
Don't Index: Variables, Classes, Macros
|
Don't Index: Classes, Macros, Variables
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
|
@ -62,15 +62,19 @@ Group: BootLoader {
|
||||||
|
|
||||||
Group: Loader {
|
Group: Loader {
|
||||||
|
|
||||||
|
File: a20.inc (boot/loader/a20.inc)
|
||||||
File: loader.asm (boot/loader/loader.asm)
|
File: loader.asm (boot/loader/loader.asm)
|
||||||
File: logger.inc (boot/loader/logger.inc)
|
File: logger.inc (boot/loader/logger.inc)
|
||||||
File: memory.inc (boot/loader/memory.inc)
|
File: memory.inc (boot/loader/memory.inc)
|
||||||
|
File: video_setup (boot/loader/video.inc)
|
||||||
} # Group: Loader
|
} # Group: Loader
|
||||||
|
|
||||||
Group: Common {
|
Group: Common {
|
||||||
|
|
||||||
File: bios.inc (boot/common/bios.inc)
|
File: bios.inc (boot/common/bios.inc)
|
||||||
|
File: bootinfo.inc (boot/common/bootinfo.inc)
|
||||||
File: fat12.inc (boot/common/fat12.inc)
|
File: fat12.inc (boot/common/fat12.inc)
|
||||||
|
File: macro.inc (boot/common/macro.inc)
|
||||||
File: mbr.inc (boot/common/mbr.inc)
|
File: mbr.inc (boot/common/mbr.inc)
|
||||||
} # Group: Common
|
} # Group: Common
|
||||||
|
|
||||||
|
@ -84,8 +88,18 @@ Group: BootLoader {
|
||||||
|
|
||||||
Group: Kernel {
|
Group: Kernel {
|
||||||
|
|
||||||
File: kernel memory map (kernel/intro.txt)
|
File: bootinfo.inc (kernel/bootinfo.inc)
|
||||||
|
File: Introduction (kernel/intro.txt)
|
||||||
File: kernel.asm (kernel/kernel.asm)
|
File: kernel.asm (kernel/kernel.asm)
|
||||||
|
File: klog (kernel/klog.inc)
|
||||||
|
File: vga_console_clear (kernel/dev/vga_console.inc)
|
||||||
|
|
||||||
|
Group: Memory Manager {
|
||||||
|
|
||||||
|
File: mm.inc (kernel/mm/mm.inc)
|
||||||
|
File: pmm.inc (kernel/mm/pmm.inc)
|
||||||
|
} # Group: Memory Manager
|
||||||
|
|
||||||
} # Group: Kernel
|
} # Group: Kernel
|
||||||
|
|
||||||
Group: Lib {
|
Group: Lib {
|
||||||
|
@ -116,7 +130,7 @@ Group: Lib {
|
||||||
|
|
||||||
} # Group: Crypto
|
} # Group: Crypto
|
||||||
|
|
||||||
File: ctype (lib/c/ctype.asm)
|
File: ctype (no auto-title, lib/c/ctype.asm)
|
||||||
} # Group: Lib
|
} # Group: Lib
|
||||||
|
|
||||||
Group: Index {
|
Group: Index {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
;; File: mm.inc
|
||||||
include "pmm.inc"
|
include "pmm.inc"
|
||||||
|
|
||||||
mm_init:
|
mm_init:
|
||||||
|
@ -12,6 +13,20 @@ mm_init:
|
||||||
mov esi, szMsgMmKernelPgDir
|
mov esi, szMsgMmKernelPgDir
|
||||||
call klog
|
call klog
|
||||||
|
|
||||||
|
;; Map kernel
|
||||||
|
|
||||||
|
;; Map video
|
||||||
|
|
||||||
|
;; Map low memory at ????
|
||||||
|
|
||||||
|
;; Map free memory
|
||||||
|
|
||||||
|
; mov eax, [pKernelPgDir]
|
||||||
|
; mov cr3, eax
|
||||||
|
|
||||||
|
ret
|
||||||
|
|
||||||
|
mm_wallk_pagedir:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
szMsgMmInit db "MM: initialize", 0
|
szMsgMmInit db "MM: initialize", 0
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
;; File: pmm.inc
|
;; File: pmm.inc
|
||||||
|
|
||||||
struc FreeItem {
|
|
||||||
.next dd ?
|
|
||||||
}
|
|
||||||
|
|
||||||
;; Function: pmm_init
|
;; Function: pmm_init
|
||||||
;;
|
;;
|
||||||
;; In:
|
;; In:
|
||||||
|
@ -18,6 +14,10 @@ pmm_init:
|
||||||
call pmm_free_range
|
call pmm_free_range
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
;; Function: pmm_alloc_page
|
||||||
|
;;
|
||||||
|
;; Out:
|
||||||
|
;; EAX - page address (return zero on error)
|
||||||
pmm_alloc_page:
|
pmm_alloc_page:
|
||||||
cmp [pFreeList], 0
|
cmp [pFreeList], 0
|
||||||
je .error
|
je .error
|
||||||
|
@ -31,6 +31,11 @@ pmm_alloc_page:
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
;; Function: pmm_free_page
|
||||||
|
;; push page back to free list
|
||||||
|
;;
|
||||||
|
;; In:
|
||||||
|
;; EAX - page to be freed
|
||||||
pmm_free_page:
|
pmm_free_page:
|
||||||
or eax, eax
|
or eax, eax
|
||||||
jz @f
|
jz @f
|
||||||
|
@ -42,6 +47,7 @@ pmm_free_page:
|
||||||
|
|
||||||
;; Function: pmm_free_range
|
;; Function: pmm_free_range
|
||||||
;; TODO: allignment
|
;; TODO: allignment
|
||||||
|
;;
|
||||||
;; In:
|
;; In:
|
||||||
;; EAX - Start
|
;; EAX - Start
|
||||||
;; EBX - End
|
;; EBX - End
|
||||||
|
|
Loading…
Reference in a new issue