Commit Graph

  • fc43608da9 Error in number of containers corrected Amit Mahajan 2009-11-08 02:15:48 +05:30
  • 276b6e3fc4 Sanity checking for container memory regions added Amit Mahajan 2009-11-08 01:11:56 +05:30
  • 1db70a608f Added default values to cml symbols Amit Mahajan 2009-11-08 00:40:22 +05:30
  • c44d25b596 Taking UART code out from libc and loader and putting in libdev Amit Mahajan 2009-11-05 23:45:11 +05:30
  • 272b01d873 Remove CONFIG_ from pager_size symbol Amit Mahajan 2009-11-03 22:42:01 +05:30
  • 4ab05d1b2a Added forgotten file new file: src/capability.c Bahadir Balban 2009-11-10 22:23:49 +02:00
  • 34a1c581a3 Added forgotten header Bahadir Balban 2009-11-10 22:21:19 +02:00
  • 3149356ffc Stack recycling is added to the thread library. Bora Sahin 2009-11-10 21:48:48 +02:00
  • dc7fd0d24d Merge branch 'libl4thread' of git://www.b-labs.co.uk/bora/git/codezero into bora Bahadir Balban 2009-11-10 17:38:51 +02:00
  • d1bd77a135 Removed cap list prints from mm0 Bahadir Balban 2009-11-10 17:22:46 +02:00
  • 2ba4736a8b Cleaned up various bits with capability syscalls. Bahadir Balban 2009-11-10 16:15:14 +02:00
  • a23b7fcbc2 Task list is introduced to the thread library. Bora Sahin 2009-11-10 14:46:54 +02:00
  • d43fa1d3ae Simplified cap id finding and destroying it. Bahadir Balban 2009-11-09 23:50:03 +02:00
  • ff14ce4735 Added switch statements to some capability checks that are more precise. Bahadir Balban 2009-11-09 23:10:44 +02:00
  • f912f28731 Clarified a few confusing definitions in ipc.c Bahadir Balban 2009-11-09 22:59:24 +02:00
  • da8b0a90f3 Fixed error with ipc transfer type checking. Bahadir Balban 2009-11-09 22:50:21 +02:00
  • 8b12db741f Moved generic ipc flags to api/ipc.h Bahadir Balban 2009-11-09 22:01:44 +02:00
  • 78917835c7 Substantially fixed cap_split() behaviour. Bahadir Balban 2009-11-09 19:15:52 +02:00
  • 8f55e72f00 Lots of cosmetic changes to the thread library. Bora Sahin 2009-11-05 22:09:37 +02:00
  • b24c8eb89d Capability replicate/split/destroy/grant working for test0 ipc. Bahadir Balban 2009-11-09 00:40:07 +02:00
  • 1bb2c05c9b Added routines for pager to search a suitable capability to grant to clients Bahadir Balban 2009-11-08 17:54:57 +02:00
  • dc03c7b130 Implemented a protocol between client and pager for requesting caps. Bahadir Balban 2009-11-08 14:15:33 +02:00
  • b136b79a2d Capability replicate/deduce/share tested with mm0. Bahadir Balban 2009-11-07 23:45:57 +02:00
  • e8f002f879 Fixed most of userspace (mm0) for capability manipulation Bahadir Balban 2009-11-07 19:43:05 +02:00
  • e8f9f3f04a Added generic capability operation bits to autogenerated capabilities Bahadir Balban 2009-11-07 16:14:14 +02:00
  • 3728e7ef1e Capability manipulation syscalls Bahadir Balban 2009-11-07 15:29:52 +02:00
  • f7565118f1 Revert "Merge branch 'libl4thread' of git://www.b-labs.co.uk/bora/git/codezero into bora" Bahadir Balban 2009-11-05 19:17:36 +02:00
  • e28658c10e posix: MM0 task page access issues fixed. Bahadir Balban 2009-11-05 19:04:19 +02:00
  • d306d6b451 posix: Fixing mm0 mapping task pages incorrectly Bahadir Balban 2009-11-05 18:25:26 +02:00
  • 52587141f4 The second step in creating a thread library. Bora Sahin 2009-11-05 15:20:54 +02:00
  • 35a5dc4c92 Added userland support for exregs/read, mm0 slightly more graceful for illegal access Bahadir Balban 2009-11-05 15:56:01 +02:00
  • 3f870b540f Merge branch 'libl4thread' of git://www.b-labs.co.uk/bora/git/codezero into bora Bahadir Balban 2009-11-05 14:59:59 +02:00
  • 78635bdd11 posix: When mapping a new task, data segment size was miscalculated Bahadir Balban 2009-11-05 14:10:22 +02:00
  • 74ad567312 Added err value to vma_split Bahadir Balban 2009-11-05 13:52:39 +02:00
  • 55af5c83cb The second step in creating a thread library. Bora Sahin 2009-11-04 16:16:19 +02:00
  • 352cb2daaa The first step in creating a thread library. Bora Sahin 2009-11-04 20:48:59 +02:00
  • 8585482bd0 THREAD_RESUME is an alias to THREAD_RUN. Bora Sahin 2009-11-05 13:48:58 +02:00
  • 9b71f2bfe2 Fix for mm0 bss mapping of zero pages starting from wrong offset Bahadir Balban 2009-11-05 13:43:38 +02:00
  • ede050ad37 utcb handling helper routines for the thread library. Bora Sahin 2009-10-29 22:11:49 +02:00
  • 4bfd339db5 libl4thread skeleton is introduced. Bora Sahin 2009-10-29 22:00:38 +02:00
  • 1f7711fa2a Automatic pager size calculation takes container name into account instead of a fixed one. Bora Sahin 2009-11-05 11:32:02 +02:00
  • 050f537884 Bare container type is converted to Examples container type. Bora Sahin 2009-10-28 14:11:43 +02:00
  • 425193efa9 Added a flag to read registers back for sys_exregs call Bahadir Balban 2009-11-05 11:27:29 +02:00
  • fd04e9d460 Added helper to extract raw thread id from fully qualified thread id Bahadir Balban 2009-11-05 01:47:04 +02:00
  • d9520adb55 Added means to search for threads in other containers Bahadir Balban 2009-11-04 20:56:57 +02:00
  • 516efccd99 Merge branch 'master' into devel Bahadir Balban 2009-11-04 17:19:18 +02:00
  • aeef546544 Changed l4id_t type to unsigned integer. Expanded task_ids to have cid Bahadir Balban 2009-11-04 16:39:04 +02:00
  • db57c598b0 Merged MAP and VIRTMEM/PHYSMEM capabilities into one. Bahadir Balban 2009-11-04 15:26:47 +02:00
  • 69ac6d67f0 Updated test example cml. Also update to various comments Bahadir Balban 2009-11-03 16:04:43 +02:00
  • b7e575817d Merged setup of internal memory caps and container creation Bahadir Balban 2009-11-03 15:26:59 +02:00
  • 9248328dd3 Pager struct allocated from boot memory and never referenced after boot. Bahadir Balban 2009-11-03 15:09:28 +02:00
  • 6c69f181db First step in detaching pager struct from tasks Bahadir Balban 2009-11-03 14:50:22 +02:00
  • 00a9f2e3c9 Linux example file with no MAPSIZE parameter Bahadir Balban 2009-11-03 13:38:55 +02:00
  • 606fe7f369 toolchain option is made clearer in cml menu Bahadir Balban 2009-11-03 11:54:36 +02:00
  • a303445cf7 cml examples updated to have no PAGER_SIZE parameter Bahadir Balban 2009-11-03 11:32:37 +02:00
  • 390358f8a3 configure.py shuts down gracefully if configfile is not saved Bahadir Balban 2009-11-03 11:04:30 +02:00
  • 966ef7714e Added pager size calculation for test container. Amit Mahajan 2009-11-03 13:05:05 +05:30
  • 3be4cbc45c Tested compilation of various platforms. Amit Mahajan 2009-11-03 12:10:16 +05:30
  • 6e898151bc configuration_retrieve pending work done Amit Mahajan 2009-11-03 11:13:51 +05:30
  • 03b2751377 Asking user for type of toolchain to be used Amit Mahajan 2009-11-03 03:02:27 +05:30
  • 2b1adb059d Pager Mapsize updated in cinfo template only instead of cinfo.c Amit Mahajan 2009-11-03 01:34:51 +05:30
  • a41a8e0d93 Some cleanup in uart fixes. Amit Mahajan 2009-11-02 21:52:33 +05:30
  • 55eb6260c3 Dynamic generation of pager size Amit Mahajan 2009-11-01 23:41:49 +05:30
  • 8d9f5f82d0 Patch for comments by bahadir Amit Mahajan 2009-11-01 00:51:55 +05:30
  • 52d346af40 Added function to extract cputype, this function was earlier rewritten in build_linux Amit Mahajan 2009-10-30 14:11:40 +05:30
  • f337257e4e Corrected the problem of wrong values in printascii.S Amit Mahajan 2009-10-30 12:32:08 +05:30
  • 9463d1f241 Changed the name of PAGER_SIZE symbol to PAGER_MAPSIZE, to keep in harmony with linux symbol name Amit Mahajan 2009-10-29 16:13:38 +05:30
  • d41cac75d1 Added offsets for MPCORE, EB and CORTEX-A8 Amit Mahajan 2009-10-29 15:31:06 +05:30
  • e120e7c552 Selecting UART0 base address based on platform selected Amit Mahajan 2009-10-29 13:03:23 +05:30
  • a81574b899 Cleaning loader libc and uart Amit Mahajan 2009-10-29 12:48:16 +05:30
  • b8829118e0 Cleaned the libc uart driver Amit Mahajan 2009-10-28 20:27:24 +05:30
  • 5b3d11ed55 Removed Unnecessary files from libc Amit Mahajan 2009-10-27 18:11:05 +05:30
  • 532b65fbd9 Added dependency on config.h, for src/ folders Amit Mahajan 2009-10-27 15:38:28 +05:30
  • 91c617d0b2 Removed hard coded values of toolchain and gcc cpu flags Amit Mahajan 2009-10-27 15:35:37 +05:30
  • 2b29170633 Added the default parameters needed by arm linux Amit Mahajan 2009-10-26 10:33:34 +05:30
  • e9dba944e6 Pl011 uart driver made generic Amit Mahajan 2009-10-24 20:24:17 +05:30
  • 8a586860b3 Cleaned the timer driver to make it generic. Amit Mahajan 2009-10-24 21:02:47 +05:30
  • 24cbc8d441 Removed Driver Menu from main screen and made driver symbols derived Amit Mahajan 2009-10-23 17:40:49 +05:30
  • dc57472538 Correcting the symbol pattern for finding start/end of various physical regions in use by various containers Amit Mahajan 2009-10-22 15:17:33 +05:30
  • 5992b6435c Added a forgotten unlock on an error condition Bahadir Balban 2009-11-01 15:22:36 +02:00
  • 83a740f597 A better locking scheme for address spaces. Bahadir Balban 2009-11-01 14:32:55 +02:00
  • 003976e99e Comment formatting Bahadir Balban 2009-11-01 01:36:03 +02:00
  • 5fd0f12017 Added handling of task pending events from scheduler. Bahadir Balban 2009-11-01 01:03:17 +02:00
  • 0f537ea1f5 Wait on working. Bahadir Balban 2009-10-31 23:28:54 +02:00
  • 850c645d77 Exiting tasks use EXITING signal and change states to TASK_DEAD Bahadir Balban 2009-10-31 23:13:19 +02:00
  • 5ed93b6563 Thread exiting Bahadir Balban 2009-10-31 22:46:29 +02:00
  • c763679aaa Fixed a nasty spinlock issue with wake_up_all that didn't get caught. Bahadir Balban 2009-10-31 20:47:20 +02:00
  • 638df9e238 Simultaneous exit/thread_destroy working Bahadir Balban 2009-10-31 18:45:22 +02:00
  • 09197d1fb1 Removed THREAD_WAIT call completely. Bahadir Balban 2009-10-31 17:12:03 +02:00
  • dd5e05380c Typo fix Bahadir Balban 2009-10-31 16:39:13 +02:00
  • 53589ada01 Amendments to scheduler timeslice management Bahadir Balban 2009-10-31 15:25:29 +02:00
  • 2571dabc18 Fixes to the scheduler timeslice management. Bora Sahin 2009-10-18 20:20:40 +03:00
  • 90cfaca7a2 libmem/lib{mm,mc,malloc} are added to the libraries of bare containers againist which they are linked. (cherry picked from commit 9d90ee4c57f07dbbe984251023fc3fa684dd492c) Bora Sahin 2009-10-22 17:23:18 +03:00
  • 38cf7bc175 POSIX now uses libmem/malloc instead of the built-in one. (cherry picked from commit 48adbffa6514755385af842f1fe8ca5068229eea) Bora Sahin 2009-10-22 16:31:15 +03:00
  • 2c53feedb1 malloc is carried from POSIX to libmem/malloc. Bora Sahin 2009-10-22 15:27:59 +03:00
  • 5c93d9b8ba Added thread_wait modified: conts/test/main.c modified: scripts/kernel/generate_kernel_cinfo.py modified: src/api/thread.c modified: src/generic/capability.c Bahadir Balban 2009-10-31 01:44:32 +02:00
  • 2839f46245 Cleanup on previous commits Bahadir Balban 2009-10-30 21:59:46 +02:00
  • c3c6c10cf7 Reimplemented kill/suspend Bahadir Balban 2009-10-30 21:34:10 +02:00
  • f3c0a38fa9 Some not-very-well working progress on grouply exit. Bahadir Balban 2009-10-30 19:52:52 +02:00
  • ee7621b2df Some more progress with debugging pager exits Bahadir Balban 2009-10-30 18:28:45 +02:00