mirror of
https://github.com/drasko/codezero.git
synced 2026-02-28 09:43:14 +01:00
Merge branch 'master' of git://www.b-labs.co.uk/amit/git/codezero into amit
This commit is contained in:
@@ -91,19 +91,6 @@ when CONT%(cn)d_PHYSMEM_REGIONS < 3 suppress CONT%(cn)d_PHYS3_START CONT%(cn)d_P
|
|||||||
|
|
||||||
when CONT%(cn)d_PHYSMEM_REGIONS < 4 suppress CONT%(cn)d_PHYS3_START CONT%(cn)d_PHYS3_END
|
when CONT%(cn)d_PHYSMEM_REGIONS < 4 suppress CONT%(cn)d_PHYS3_START CONT%(cn)d_PHYS3_END
|
||||||
|
|
||||||
### Sanity check for memory regions ###
|
|
||||||
require CONT%(cn)d_PHYS0_START < CONT%(cn)d_PHYS0_END
|
|
||||||
require CONT%(cn)d_PHYS1_START < CONT%(cn)d_PHYS1_END
|
|
||||||
require CONT%(cn)d_PHYS2_START < CONT%(cn)d_PHYS2_END
|
|
||||||
require CONT%(cn)d_PHYS3_START < CONT%(cn)d_PHYS3_END
|
|
||||||
|
|
||||||
require CONT%(cn)d_VIRT0_START < CONT%(cn)d_VIRT0_END
|
|
||||||
require CONT%(cn)d_VIRT1_START < CONT%(cn)d_VIRT1_END
|
|
||||||
require CONT%(cn)d_VIRT2_START < CONT%(cn)d_VIRT2_END
|
|
||||||
require CONT%(cn)d_VIRT3_START < CONT%(cn)d_VIRT3_END
|
|
||||||
require CONT%(cn)d_VIRT4_START < CONT%(cn)d_VIRT4_END
|
|
||||||
require CONT%(cn)d_VIRT5_START < CONT%(cn)d_VIRT5_END
|
|
||||||
|
|
||||||
# We assume kernel uses 0x0 - 0x40000 physical RAM.
|
# We assume kernel uses 0x0 - 0x40000 physical RAM.
|
||||||
# Physical Regions for containers should start after kernel.
|
# Physical Regions for containers should start after kernel.
|
||||||
require CONT%(cn)d_PHYS0_START >= 0x40000
|
require CONT%(cn)d_PHYS0_START >= 0x40000
|
||||||
|
|||||||
@@ -57,8 +57,8 @@ env = Environment(CC = config.user_toolchain + 'gcc',
|
|||||||
ASFLAGS = ['-D__ASSEMBLY__'],
|
ASFLAGS = ['-D__ASSEMBLY__'],
|
||||||
PROGSUFFIX = '.elf', # The suffix to use for final executable
|
PROGSUFFIX = '.elf', # The suffix to use for final executable
|
||||||
ENV = {'PATH' : os.environ['PATH']}, # Inherit shell path
|
ENV = {'PATH' : os.environ['PATH']}, # Inherit shell path
|
||||||
LIBS = ['libl4thread', 'libl4', 'libmalloc', 'libdev-userspace', \
|
LIBS = ['libl4thread', 'libl4', 'libmalloc', 'c-userspace', \
|
||||||
'c-userspace', 'gcc', 'c-userspace'], # libgcc.a - This is required for division routines.
|
'libdev-userspace', 'gcc', 'c-userspace'], # libgcc.a - This is required for division routines.
|
||||||
CPPPATH = ["#include", KERNEL_INCLUDE, LIBL4_INCLUDE, LIBDEV_INCLUDE, \
|
CPPPATH = ["#include", KERNEL_INCLUDE, LIBL4_INCLUDE, LIBDEV_INCLUDE, \
|
||||||
LIBC_INCLUDE, LIBL4THREAD_INCLUDE],
|
LIBC_INCLUDE, LIBL4THREAD_INCLUDE],
|
||||||
LIBPATH = [LIBL4_LIBPATH, LIBDEV_LIBPATH, LIBC_LIBPATH, LIBL4THREAD_LIBPATH, \
|
LIBPATH = [LIBL4_LIBPATH, LIBDEV_LIBPATH, LIBC_LIBPATH, LIBL4THREAD_LIBPATH, \
|
||||||
|
|||||||
0
conts/baremetal/baremetal2/include/test.h
Normal file
0
conts/baremetal/baremetal2/include/test.h
Normal file
Reference in New Issue
Block a user