mirror of
https://github.com/drasko/codezero.git
synced 2026-03-12 15:21:50 +01:00
Changes between 16 March 2010 - 6 April 2010
Mutex system call fixed for multiple contenders Userspace irq support extended to keyboard/mouse. Scheduler modified for real-time irq tasks
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include INC_ARCH(asm.h)
|
||||
|
||||
/* Abort debugging conditions */
|
||||
//#define DEBUG_ABORTS
|
||||
// #define DEBUG_ABORTS
|
||||
#if defined (DEBUG_ABORTS)
|
||||
#define dbg_abort(...) printk(__VA_ARGS__)
|
||||
#else
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
#endif
|
||||
|
||||
phys_ram_start = PLATFORM_PHYS_MEM_START;
|
||||
|
||||
#if !defined(kernel_offset)
|
||||
kernel_offset = KERNEL_AREA_START - phys_ram_start;
|
||||
#endif
|
||||
|
||||
kernel_physical = 0x8000 + phys_ram_start;
|
||||
kernel_virtual = kernel_physical + kernel_offset;
|
||||
|
||||
@@ -47,8 +51,8 @@ SECTIONS
|
||||
. = ALIGN(16K);
|
||||
_start_vectors = .;
|
||||
*(.data.vectors)
|
||||
_end_vectors = .;
|
||||
. = ALIGN(4K);
|
||||
_end_vectors = .;
|
||||
_start_kip = .;
|
||||
*(.data.kip)
|
||||
. = ALIGN(4K);
|
||||
@@ -71,9 +75,6 @@ SECTIONS
|
||||
*(.bss)
|
||||
}
|
||||
. = ALIGN(4K);
|
||||
. += PAGE_SIZE * 2; /* This is required as the link counter does not seem
|
||||
* to increment for the bss section
|
||||
* TODO: Change this with PAGE_SIZE */
|
||||
|
||||
/* Below part is to be discarded after boot */
|
||||
_start_init = .;
|
||||
|
||||
Reference in New Issue
Block a user