Commit Graph

  • 9cb2b7470f Generate the final link linker scripts. Russel Winder 2009-08-10 11:30:53 +01:00
  • 52962b5b19 Remove replication of main.c in the final link. Russel Winder 2009-08-10 11:07:15 +01:00
  • 9781f49f5d Construct main.c from a template. Russel Winder 2009-08-10 11:03:17 +01:00
  • b833381c4a The todo in this todo file is now done. Russel Winder 2009-08-10 11:02:43 +01:00
  • 5fcf173ae6 Get the baremetal crt0 included in the final link. Russel Winder 2009-08-10 09:43:09 +01:00
  • 163baa31ea Got the first part of the packing phase in place. Generate kernel.S rather than have it as a manually maintained file. Russel Winder 2009-08-10 09:33:05 +01:00
  • fb038ab757 Remove the ksym_to_lds.py script as the code is embedded in the SCons file. Russel Winder 2009-08-10 08:46:52 +01:00
  • aa71161a04 Seems phys_to_page/page_to_phys macros are fixed in mm0 Bahadir Balban 2009-08-09 17:59:32 +03:00
  • 02a3f1ac91 Pager works until end of init_physmem_secondary Bahadir Balban 2009-08-09 17:22:13 +03:00
  • a45b5676ab Made container/capability control syscall changes to libl4 Bahadir Balban 2009-08-06 16:34:20 +03:00
  • 961b255257 Replaced kread and kmem_control syscalls with capability_control and container_control respectively. Bahadir Balban 2009-08-06 16:22:55 +03:00
  • f7ade97906 Relocated bootdesc at the end of mm0 instead of kernel image. Bahadir Balban 2009-08-06 15:03:57 +03:00
  • dccfff80a3 Removed commented out scheduler globals. Bahadir Balban 2009-08-06 15:02:42 +03:00
  • e329a7c91a Removed kmalloc. Initialization path resolved, almost done. Bahadir Balban 2009-08-06 14:15:39 +03:00
  • 0613d5cf38 Update the help. Russel Winder 2009-08-05 18:41:09 +01:00
  • 6f3d3fdf49 Got the bootdesc building. Russel Winder 2009-08-05 18:33:37 +01:00
  • 38a0fdd4e2 Got the tasks linking. Russel Winder 2009-08-05 16:24:13 +01:00
  • eb45780f16 Safety check-in of the next stage in getting the tasks linked. Russel Winder 2009-08-05 12:21:02 +01:00
  • 8b9b254f6c Make the coding style more consistent with PEP-8. Russel Winder 2009-08-05 11:15:26 +01:00
  • 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. Russel Winder 2009-08-05 10:23:00 +01:00
  • 02d3c9f07c Correct the include path so that task compilation succeeds. Russel Winder 2009-08-05 10:06:39 +01:00
  • a1dfd0b876 Change to shorter all lowercase targets for SCons command line invocation. Russel Winder 2009-08-05 09:28:20 +01:00
  • 7cf85c4428 Remove a few redundant paths from the include path. Russel Winder 2009-08-05 07:44:05 +01:00
  • 162941c645 Add some comments and TODOs. Update the help text. Russel Winder 2009-08-05 07:32:26 +01:00
  • b3f4ea2169 Add zeroth draft SCons files for the tasks themselves. Russel Winder 2009-08-05 06:33:24 +01:00
  • 376fb32d48 Change the way tasks and task libraries are processed. Russel Winder 2009-08-05 06:32:58 +01:00
  • 519bfba8c7 Container/Pager/Capability initialization that works. Bahadir Balban 2009-08-04 13:56:11 +03:00
  • 7e8845abf8 Code that compiles until initialization of containers and pagers. Bahadir Balban 2009-08-02 23:43:14 +03:00
  • e7820903d9 Add in the task support libraries. Russel Winder 2009-08-02 13:46:07 +01:00
  • 26b3ea58a6 Ensure all the library compilation depends on the configuration files. Russel Winder 2009-08-02 11:35:21 +01:00
  • 27c0c50728 Make a start on building the tasks. Russel Winder 2009-08-01 18:14:34 +01:00
  • 9b2ff087d0 Add in all the amendments and new files needed to get the kernel building. Russel Winder 2009-08-01 17:50:59 +01:00
  • ce8d060d21 Change the way in which the CML2 configuration is handled to separate it out from the build. Russel Winder 2009-08-01 12:40:45 +01:00
  • 238e05fd5d The Elf library doesn't actually depend on the baremetal library since there is no link phase, remove the dependency. Russel Winder 2009-08-01 08:41:30 +01:00
  • a79206f8d9 First pass at processing the CML2 configuration. Russel Winder 2009-07-31 18:35:30 +01:00
  • 82807c2f0a Code that works until after allocating pgd and pmd caches. Bahadir Balban 2009-07-29 20:01:40 +03:00
  • 723cf7bde9 Code that compiles and works up to initializing the first memcache. Bahadir Balban 2009-07-29 19:08:29 +03:00
  • dd8f773f10 Some more progress on resource management and boot up. Bahadir Balban 2009-07-29 13:32:38 +03:00
  • 198022b4d4 Correct the copyright notices, B Labs Ltd is the copyright holder. Russel Winder 2009-07-28 18:33:05 +01:00
  • 6875ce4347 Trivial reformatting. Russel Winder 2009-07-28 16:58:20 +01:00
  • 82ba62a78f Add compilation of the Elf code. Russel Winder 2009-07-28 16:49:16 +01:00
  • 083d9e7864 Correct the mode line syntax. Russel Winder 2009-07-28 16:33:02 +01:00
  • 7936ee6775 Add in creation of the c libraries. Russel Winder 2009-07-28 16:31:51 +01:00
  • 988f1137c3 Add Emacs backup files to the ignore list. Russel Winder 2009-07-28 16:29:07 +01:00
  • 175ec0fd34 Remove the build driver shell scripts pending starting a new build system. Russel Winder 2009-07-28 14:47:52 +01:00
  • d40c76de84 Remove all the SCons files pending starting a new build system. Russel Winder 2009-07-28 14:47:00 +01:00
  • 2b0ea24e94 Added 2 more files. Bahadir Balban 2009-07-25 17:52:06 +03:00
  • f7b768ee16 More changes for cleaner initialization and support for containers. Bahadir Balban 2009-07-25 17:44:29 +03:00
  • ba1cc0c6bc Updated LICENSE/README files, removed unused code from tasks. Bahadir Balban 2009-06-15 14:58:41 +03:00
  • 0dd8918ae5 Remove all references to ARM registers in system call arguments. Bahadir Balban 2009-06-10 17:30:02 +03:00
  • 6de090a365 Added word replace tool Bahadir Balban 2009-06-10 16:32:04 +03:00
  • 4e43d09325 wait_on_prepare and wait_on_prepared_wait with preemption considered Bahadir Balban 2009-06-10 15:48:34 +03:00
  • 7ef479733f Fix to l4_mutex_control for the unexpected sleeping with mutex held when preemption occurs after call to wait_on_prepare Bahadir Balban 2009-06-10 15:41:30 +03:00
  • 6b3ddadcf5 Cleaned up code for userspace mutexes. Bahadir Balban 2009-06-10 14:37:23 +03:00
  • 056fcab125 Updated script to run qemu and insight Bahadir Balban 2009-06-09 22:11:08 +03:00
  • ea5c0bff45 Removed unused files from other projects. Bahadir Balban 2009-06-08 17:35:01 +03:00
  • 49d47abe97 Evaluated license issues, made some other enhancements. Bahadir Balban 2009-06-08 17:00:21 +03:00
  • f285337bba container_of() reimplemented. Bahadir Balban 2009-06-08 14:35:12 +03:00
  • 276b4643c6 Removed linux linked list dependency. Bahadir Balban 2009-06-02 13:19:17 +03:00
  • 4757f46f71 Minor comment fixes. Bahadir Balban 2009-06-02 10:26:21 +03:00
  • 6c78f149e5 Comments for libl4 userspace mutex implementation has been updated. Bahadir Balban 2009-06-01 16:36:59 +03:00
  • 968f6b4d56 Removed a few minor dependencies on linux C library headers that I forgot in the past. Bahadir Balban 2009-06-01 16:11:11 +03:00
  • 13d469f659 Removed all unecessary prints from the mutex test and the kernel Bahadir Balban 2009-06-01 16:02:10 +03:00
  • 5a616d1eb5 Simplified l4_mutex test, in that the test now updates a variable by thread switching instead of updating a whole page. Bahadir Balban 2009-06-01 15:51:54 +03:00
  • 78a5ec9d6d Enhanced execve test error handling Bahadir Balban 2009-06-01 15:33:36 +03:00
  • 3b9cda968d Added mutex locking to kmalloc/kfree. Bahadir Balban 2009-06-01 15:18:44 +03:00
  • 1de77f1b93 Merge branch 'devel' into fix-kmalloc Bahadir Balban 2009-06-01 15:08:28 +03:00
  • 87eae2c941 Verbose error reporting on execve test. Bahadir Balban 2009-06-01 15:07:24 +03:00
  • 4206c6e3fc An extra mutex_unlock has been removed Bahadir Balban 2009-06-01 15:06:07 +03:00
  • 53f54f2328 Modified kmalloc to cater for dynamic memory allocation on a previously allocated size Bahadir Balban 2009-06-01 14:48:26 +03:00
  • 33200c92df Mutex implementation almost working. Bahadir Balban 2009-06-01 14:11:40 +03:00
  • 2bd26ce684 Added mmap support for MAP_SHARED + MAP_ANONYMOUS Bahadir Balban 2009-05-31 15:55:16 +03:00
  • d0652fcb21 Updated mutextest - it is not yet there, we need semaphores Bahadir Balban 2009-05-31 14:18:19 +03:00
  • ce79aa2b73 Mutex test progress - Mutex test added. Forked tasks demonstrate produce/consumer using a shared mmap'ed page. - Added l4lib assembler syscall - Added forgotten SWI to mutex control offset in syscall page. - Added mutex head initialization - Contended child successfully sleeps in a waitqueue. Bahadir Balban 2009-05-30 16:46:30 +03:00
  • b11d4c4607 Added mutex_control syscall for userspace mutexes. - Compiles and Codezero runs as normal without touching mutex implementation - Mutex implementation needs testing. Bahadir Balban 2009-05-29 15:34:04 +03:00
  • ab9e036cb7 Updated test pass/fail print messages for test0 Bahadir Balban 2009-05-28 13:23:44 +03:00
  • e61e9e9533 Moved ipc flags manipulation to ipc.h glue file Bahadir Balban 2009-05-28 13:02:37 +03:00
  • ba31e1b823 Added ipc save/restore for page-fault ipcs. Bahadir Balban 2009-05-28 12:52:14 +03:00
  • 391b0ca1d0 Updated ipc flag names with kernel-only versions without the L4 prefix. Bahadir Balban 2009-05-28 12:01:48 +03:00
  • b977e6597e Added per-task ipc flags checking instead of the active task flags. Bahadir Balban 2009-05-28 11:50:39 +03:00
  • 53310aa31b Extended IPC Support added. Bahadir Balban 2009-05-27 14:36:11 +03:00
  • 3ff519439b Added first part of extended ipc support. Bahadir Balban 2009-05-27 14:07:17 +03:00
  • 19c71cc658 Cleaned up thread_control functions Bahadir Balban 2009-05-26 17:29:10 +03:00
  • 93c7cf1995 Fixed fork() errors where forked thread is a copy of any cloned thread in parent address space. Bahadir Balban 2009-05-26 17:02:32 +03:00
  • c25c81e95c Cleaner thread_create() Bahadir Balban 2009-05-26 16:48:36 +03:00
  • bece68fbf7 Fixed omission of if curly brackets causing stack corruption. Bahadir Balban 2009-05-25 12:12:21 +03:00
  • 5ac5889a0f Unstable changes for ipc - Fork fails for some reason Bahadir Balban 2009-05-23 18:43:55 +03:00
  • 577cc34db6 Changed full boolean with ipc flags and simplified ipc calls. Bahadir Balban 2009-05-23 13:52:06 +03:00
  • 63bf6c3e41 Added error signalling/handling functions that better clarify ipc calls. Bahadir Balban 2009-05-22 23:14:53 +03:00
  • d632966778 Comment fix to utcb lazy mapping Bahadir Balban 2009-05-22 23:02:40 +03:00
  • 379f7ab2b1 Added the omitted utcb.h to mm0 Bahadir Balban 2009-05-19 16:20:05 +03:00
  • cc96e2c86c Full IPC working. Bahadir Balban 2009-05-19 15:39:01 +03:00
  • 3bbbcdfefa Full utcb copying partially works now. Bahadir Balban 2009-05-19 11:26:45 +03:00
  • b950ec323d Removed object files that were tracked by mistake. Bahadir Balban 2009-05-17 20:54:26 +03:00
  • 40e088b042 Modifications towards full ipc - Added a full ipc send/recv test - Removed non-zero value checking in r2 for ipc that was there to catch inadvertent full ipc calls. - Added correct hanlding for read/write mrs for current status of utcb. Bahadir Balban 2009-05-17 20:49:13 +03:00
  • 93368447f9 Added kernel + libl4 changes for full and extended ipc. - Short ipc working as normal. Full/extended ipc haven't been tested. - Added automated compilation and inclusion of test executable in test0. Bahadir Balban 2009-05-15 19:14:40 +03:00
  • 814eba43dd l4lib changes to accomodate extended and full ipc. - Added ARM register ipc usage explanation to glue/arm/message.h - In the current design, the unused r2 register is a system register that kernel checks for ipc flags such as: - IPC type: e.g. full or extended. - In extended IPC, MR index containing message buffer ptr. - In extended IPC, message size Bahadir Balban 2009-05-14 20:23:10 +03:00
  • 548617660f Added l4_send/receive full/extended ipc prototype proposals Bahadir Balban 2009-05-14 18:38:28 +03:00
  • e6a81b0783 Cleaned some printfs in mm0 Bahadir Balban 2009-05-14 15:15:30 +03:00
  • 3e91be04d2 SCHED_RESUME was omitted on execve() during thread_recycle. Now we do sched_init(). Bahadir Balban 2009-05-14 13:55:15 +03:00