Commit Graph

411 Commits

Author SHA1 Message Date
Russel Winder
8777333664 Some trivial changes to the comments. 2009-08-15 07:27:45 +01:00
Bahadir Balban
0bfe0071f8 Changed linker script name to linker.lds from mylink.lds 2009-08-14 17:13:25 +03:00
Bahadir Balban
5bee43ae99 Merge branch 'newBuild' of /opt/c0-trees/codezero-russel into devel
Conflicts:

	SConstruct
	src/api/SConscript
	src/arch/arm/SConscript
	src/generic/SConscript
	tasks/bootdesc/SConstruct
2009-08-14 17:09:58 +03:00
Bahadir Balban
6a42491751 Fixed uninitialized local vars. 2009-08-14 12:54:54 +03:00
Russel Winder
31d61caea4 Fix error about inclusion of start.afx.S -- there was a dependencies error in the SConscript leading to incorect multiple inclusion in the constructed kernel.S. 2009-08-12 10:35:47 +01:00
Bahadir Balban
c7404c7322 Fixed boot messages 2009-08-11 15:28:39 +03:00
Bahadir Balban
f82db61519 Added freeing/unmapping of boot memory 2009-08-11 15:01:27 +03:00
Russel Winder
e5a0da2bbe Add in the import to allow the with statement in Python 2.5. 2009-08-11 11:55:39 +01:00
Bahadir Balban
f4d9520fef First working Codezero & POSIX Services with container/capability changes 2009-08-11 11:23:26 +03:00
Bahadir Balban
4f4532210a Fixed a bug with page_map size by dynamically allocating it. 2009-08-10 23:47:58 +03:00
Bahadir Balban
15b659eaf0 Removed any refs to global id pools.
Also added container reference setup to thread creation
2009-08-10 15:16:57 +03:00
Russel Winder
9cb2b7470f Generate the final link linker scripts. 2009-08-10 11:30:53 +01:00
Russel Winder
52962b5b19 Remove replication of main.c in the final link. 2009-08-10 11:07:15 +01:00
Russel Winder
9781f49f5d Construct main.c from a template. 2009-08-10 11:03:17 +01:00
Russel Winder
b833381c4a The todo in this todo file is now done. 2009-08-10 11:02:43 +01:00
Russel Winder
5fcf173ae6 Get the baremetal crt0 included in the final link. 2009-08-10 09:43:09 +01:00
Russel Winder
163baa31ea Got the first part of the packing phase in place.
Generate kernel.S rather than have it as a manually maintained file.
2009-08-10 09:33:05 +01:00
Russel Winder
fb038ab757 Remove the ksym_to_lds.py script as the code is embedded in the SCons file. 2009-08-10 08:46:52 +01:00
Bahadir Balban
aa71161a04 Seems phys_to_page/page_to_phys macros are fixed in mm0 2009-08-09 17:59:32 +03:00
Bahadir Balban
02a3f1ac91 Pager works until end of init_physmem_secondary 2009-08-09 17:22:13 +03:00
Bahadir Balban
a45b5676ab Made container/capability control syscall changes to libl4 2009-08-06 16:34:20 +03:00
Bahadir Balban
961b255257 Replaced kread and kmem_control syscalls with capability_control and container_control respectively. 2009-08-06 16:22:55 +03:00
Bahadir Balban
f7ade97906 Relocated bootdesc at the end of mm0 instead of kernel image. 2009-08-06 15:03:57 +03:00
Bahadir Balban
dccfff80a3 Removed commented out scheduler globals. 2009-08-06 15:02:42 +03:00
Bahadir Balban
e329a7c91a Removed kmalloc. Initialization path resolved, almost done. 2009-08-06 14:15:39 +03:00
Russel Winder
0613d5cf38 Update the help. 2009-08-05 18:41:09 +01:00
Russel Winder
6f3d3fdf49 Got the bootdesc building. 2009-08-05 18:33:37 +01:00
Russel Winder
38a0fdd4e2 Got the tasks linking. 2009-08-05 16:24:13 +01:00
Russel Winder
eb45780f16 Safety check-in of the next stage in getting the tasks linked. 2009-08-05 12:21:02 +01:00
Russel Winder
8b9b254f6c Make the coding style more consistent with PEP-8. 2009-08-05 11:15:26 +01:00
Russel Winder
a14ff1be5c Rearrange include path and linker script specification so as to get a successful compile.
Link not yet successful since physical_base.lds is not yet made.
2009-08-05 10:23:00 +01:00
Russel Winder
02d3c9f07c Correct the include path so that task compilation succeeds. 2009-08-05 10:06:39 +01:00
Russel Winder
a1dfd0b876 Change to shorter all lowercase targets for SCons command line invocation. 2009-08-05 09:28:20 +01:00
Russel Winder
7cf85c4428 Remove a few redundant paths from the include path. 2009-08-05 07:44:05 +01:00
Russel Winder
162941c645 Add some comments and TODOs. Update the help text. 2009-08-05 07:32:26 +01:00
Russel Winder
b3f4ea2169 Add zeroth draft SCons files for the tasks themselves. 2009-08-05 06:33:24 +01:00
Russel Winder
376fb32d48 Change the way tasks and task libraries are processed. 2009-08-05 06:32:58 +01:00
Bahadir Balban
519bfba8c7 Container/Pager/Capability initialization that works.
Need to safely free boot memory and jump to first task's stack.
Need to test scheduler and all syscall entries.
2009-08-04 13:56:11 +03:00
Bahadir Balban
7e8845abf8 Code that compiles until initialization of containers and pagers. 2009-08-02 23:43:14 +03:00
Russel Winder
e7820903d9 Add in the task support libraries. 2009-08-02 13:46:07 +01:00
Russel Winder
26b3ea58a6 Ensure all the library compilation depends on the configuration files. 2009-08-02 11:35:21 +01:00
Russel Winder
27c0c50728 Make a start on building the tasks. 2009-08-01 18:14:34 +01:00
Russel Winder
9b2ff087d0 Add in all the amendments and new files needed to get the kernel building. 2009-08-01 17:50:59 +01:00
Russel Winder
ce8d060d21 Change the way in which the CML2 configuration is handled to separate it out from the build. 2009-08-01 12:40:45 +01:00
Russel Winder
238e05fd5d The Elf library doesn't actually depend on the baremetal library since there is no link phase, remove the dependency. 2009-08-01 08:41:30 +01:00
Russel Winder
a79206f8d9 First pass at processing the CML2 configuration. 2009-07-31 18:35:30 +01:00
Bahadir Balban
82807c2f0a Code that works until after allocating pgd and pmd caches. 2009-07-29 20:01:40 +03:00
Bahadir Balban
723cf7bde9 Code that compiles and works up to initializing the first memcache. 2009-07-29 19:08:29 +03:00
Bahadir Balban
dd8f773f10 Some more progress on resource management and boot up. 2009-07-29 13:32:38 +03:00
Russel Winder
198022b4d4 Correct the copyright notices, B Labs Ltd is the copyright holder. 2009-07-28 18:40:37 +01:00