mirror of
https://github.com/drasko/codezero.git
synced 2026-04-01 09:39:04 +02: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:
@@ -15,6 +15,10 @@ class Container:
|
||||
self.pager_lma = 0
|
||||
self.pager_vma = 0
|
||||
self.pager_size = 0
|
||||
self.pager_rw_section_start = 0
|
||||
self.pager_rw_section_end = 0
|
||||
self.pager_rx_section_start = 0
|
||||
self.pager_rx_section_end = 0
|
||||
self.pager_task_region_start = 0
|
||||
self.pager_task_region_end = 0
|
||||
self.pager_shm_region_start = 0
|
||||
@@ -72,6 +76,8 @@ class configuration:
|
||||
self.toolchain_userspace = None
|
||||
self.toolchain_kernel = None
|
||||
self.all = []
|
||||
self.smp = False
|
||||
self.ncpu = 0
|
||||
self.containers = []
|
||||
self.ncontainers = 0
|
||||
|
||||
@@ -87,6 +93,13 @@ class configuration:
|
||||
return parts[1], parts[2]
|
||||
return None
|
||||
|
||||
# Check if SMP enable, and get NCPU if SMP
|
||||
def get_ncpu(self, name, value):
|
||||
if name[:len("CONFIG_SMP")] == "CONFIG_SMP":
|
||||
self.smp = bool(value)
|
||||
if name[:len("CONFIG_NCPU")] == "CONFIG_NCPU":
|
||||
self.ncpu = int(value)
|
||||
|
||||
# Extract architecture from a name value pair
|
||||
def get_arch(self, name, val):
|
||||
if name[:len("CONFIG_ARCH_")] == "CONFIG_ARCH_":
|
||||
|
||||
Reference in New Issue
Block a user