Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

kernel_map.h File Reference

The memory map of the kernel. More...

Go to the source code of this file.

Defines

#define K_PHYS_ADDR   0x100000
 Physiscal address of the kernel (don't touch!!!).

#define K_PDE   0x1000
 Kernel Page Directory (don't touch!!!).

#define K_PTE   0x2000
 Kernel Page Table for virtual space (don't touch!!!).

#define DMA_MEMORY_START   0x3000
 DMA memory area start address (don't touch!!!).

#define DMA_MEMORY_END   0x01000000
 DMA memory area end address (don't touch!!!).

#define BIOS_IVT_START   0x00000000
 BIOS Interrupt Vector Table (IVT) start address.

#define BIOS_IVT_END   0x00001000
 BIOS Interrupt Vector Table (IVT) end address.

#define VIDEO_BUF_START   0x000A0000
 Video Buffer area start address.

#define VIDEO_BUF_END   0x000C0000
 Video Buffer area end address.

#define BIOS_ROM_START   0x000C0000
 ROM BIOS memory start address.

#define BIOS_ROM_END   0x00100000
 ROM BIOS memory end address.

#define K_VIR_START   0xC0000000
 Kernel virtual start address.
Note:
Must be (PAGE_SIZE*1024) aligned!!!


#define K_HEAP_START   0xD0000000
 Kernel heap start address.

#define K_HEAP_END   0xE0000000
 Kernel heap end address.

#define D_MEM_START   0xE0000000
#define D_MEM_END   0xEF000000
#define PHYS_MEM_START   0xEF000000
 Some physical memory (first 16MB of physical memory are mapped here) start address.

#define PHYS_MEM_END   0xF0000000
 Some physical memory (first 16MB of physical memory are mapped here) end address.

#define K_MEM_TEMP_START   0xF0000000
 Temporary memory area start address.

#define K_MEM_TEMP_END   0xFFC00000
 Temporary memory area end address.

#define PAGE_TABLE_MAP   (0xFFC00000)
 Page tables area start address.

#define PAGE_DIR_MAP   (0xFFC00000 + (PAGE_TABLE_MAP / (1024)))
 Page tables area end address.


Detailed Description

The memory map of the kernel.

Author:
Andrea Righi <drizzt@inwind.it>
Date:
Last update: 2003-11-05
Note:
Copyright (©) 2003 Andrea Righi

Definition in file kernel_map.h.


Define Documentation

#define BIOS_IVT_END   0x00001000
 

BIOS Interrupt Vector Table (IVT) end address.

Definition at line 30 of file kernel_map.h.

#define BIOS_IVT_START   0x00000000
 

BIOS Interrupt Vector Table (IVT) start address.

Definition at line 28 of file kernel_map.h.

#define BIOS_ROM_END   0x00100000
 

ROM BIOS memory end address.

Definition at line 40 of file kernel_map.h.

#define BIOS_ROM_START   0x000C0000
 

ROM BIOS memory start address.

Definition at line 38 of file kernel_map.h.

#define D_MEM_END   0xEF000000
 

Definition at line 55 of file kernel_map.h.

#define D_MEM_START   0xE0000000
 

Definition at line 54 of file kernel_map.h.

#define DMA_MEMORY_END   0x01000000
 

DMA memory area end address (don't touch!!!).

Definition at line 23 of file kernel_map.h.

#define DMA_MEMORY_START   0x3000
 

DMA memory area start address (don't touch!!!).

Definition at line 21 of file kernel_map.h.

#define K_HEAP_END   0xE0000000
 

Kernel heap end address.

Definition at line 51 of file kernel_map.h.

#define K_HEAP_START   0xD0000000
 

Kernel heap start address.

Definition at line 49 of file kernel_map.h.

#define K_MEM_TEMP_END   0xFFC00000
 

Temporary memory area end address.

Definition at line 67 of file kernel_map.h.

#define K_MEM_TEMP_START   0xF0000000
 

Temporary memory area start address.

Definition at line 65 of file kernel_map.h.

#define K_PDE   0x1000
 

Kernel Page Directory (don't touch!!!).

Definition at line 16 of file kernel_map.h.

#define K_PHYS_ADDR   0x100000
 

Physiscal address of the kernel (don't touch!!!).

Definition at line 14 of file kernel_map.h.

#define K_PTE   0x2000
 

Kernel Page Table for virtual space (don't touch!!!).

Definition at line 18 of file kernel_map.h.

#define K_VIR_START   0xC0000000
 

Kernel virtual start address.

Note:
Must be (PAGE_SIZE*1024) aligned!!!

Definition at line 46 of file kernel_map.h.

#define PAGE_DIR_MAP   (0xFFC00000 + (PAGE_TABLE_MAP / (1024)))
 

Page tables area end address.

Definition at line 72 of file kernel_map.h.

#define PAGE_TABLE_MAP   (0xFFC00000)
 

Page tables area start address.

Definition at line 70 of file kernel_map.h.

#define PHYS_MEM_END   0xF0000000
 

Some physical memory (first 16MB of physical memory are mapped here) end address.

Definition at line 62 of file kernel_map.h.

#define PHYS_MEM_START   0xEF000000
 

Some physical memory (first 16MB of physical memory are mapped here) start address.

Definition at line 59 of file kernel_map.h.

#define VIDEO_BUF_END   0x000C0000
 

Video Buffer area end address.

Definition at line 35 of file kernel_map.h.

#define VIDEO_BUF_START   0x000A0000
 

Video Buffer area start address.

Definition at line 33 of file kernel_map.h.


Generated on Fri Feb 20 15:32:19 2004 for Minirighi by doxygen1.2.18