Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
Benjamin Walsh 456c6daa9f unified: initial unified kernel implementation
Summary of what this includes:

    initialization:

    Copy from nano_init.c, with the following changes:

    - the main thread is the continuation of the init thread, but an idle
      thread is created as well

    - _main() initializes threads in groups and starts the EXE group

    - the ready queues are initialized

    - the main thread is marked as non-essential once the system init is
      done

    - a weak main() symbol is provided if the application does not provide a
      main() function

    scheduler:

    Not an exhaustive list, but basically provide primitives for:

    - adding/removing a thread to/from a wait queue
    - adding/removing a thread to/from the ready queue
    - marking thread as ready
    - locking/unlocking the scheduler
      - instead of locking interrupts
    - getting/setting thread priority
      - checking what state (coop/preempt) a thread is currenlty running in
    - rescheduling threads
    - finding what thread is the next to run
    - yielding/sleeping/aborting sleep
    - finding the current thread

    threads:

    - Add operationns on threads, such as creating and starting them.

    standardized handling of kernel object return codes:

    - Kernel objects now cause _Swap() to return the following values:
         0      => operation successful
        -EAGAIN => operation timed out
        -Exxxxx => operation failed for another reason

    - The thread's swap_data field can be used to return any additional
    information required to complete the operation, such as the actual
    result of a successful operation.

    timeouts:

    - same as nano timeouts, renamed to simply 'timeouts'
    - the kernel is still tick-based, but objects take timeout values in
      ms for forward compatibility with a tickless kernel.

    semaphores:

      - Port of the nanokernel semaphores, which have the same basic behaviour
      as the microkernel ones. Semaphore groups are not yet implemented.

      - These semaphores are enhanced in that they accept an initial count and a
      count limit. This allows configuring them as binary semaphores, and also
      provisioning them without having to "give" the semaphore multiple times
      before using them.

    mutexes:

    - Straight port of the microkernel mutexes. An init function is added to
    allow defining them at runtime.

    pipes:

    - straight port

    timers:

    - amalgamation of nano and micro timers, with all functionalities
      intact.

    events:

    - re-implementation, using semaphores and workqueues.

    mailboxes:

    - straight port

    message queues:

    - straight port of  microkernel FIFOs

    memory maps:

    - straight port

    workqueues:

    - Basically, have all APIs follow the k_ naming rule, and use the _timeout
    subsystem from the unified kernel directory, and not the _nano_timeout
    one.

    stacks:

    - Port of the nanokernel stacks. They can now have multiple threads
    pending on them and threads can wait with a timeout.

    LIFOs:

    - Straight port of the nanokernel LIFOs.

    FIFOs:

    - Straight port of the nanokernel FIFOs.

Work by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
         Peter Mitsis <peter.mitsis@windriver.com>
         Allan Stephens <allan.stephens@windriver.com>
         Benjamin Walsh <benjamin.walsh@windriver.com>

Change-Id: Id3cadb3694484ab2ca467889cfb029be3cd3a7d6
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-09-13 17:12:55 -04:00
.known-issues known-issues: clarify documentation on ignore blocks 2016-09-12 21:55:23 +00:00
arch unified/x86: add unified kernel support for x86 arch 2016-09-13 17:12:55 -04:00
boards quark_d2000/se: Don't setup GDT during initialization 2016-09-09 11:21:39 +00:00
doc doc: workaround for __deprecated functions 2016-09-13 19:17:32 +00:00
drivers unified/drivers: adapt timer drivers to unified kernel 2016-09-13 17:12:55 -04:00
ext drivers: i2c: fix a compilation dependency issue 2016-09-10 11:29:49 +00:00
fs fs: Adds flash device support to diskio interface 2016-08-02 00:47:14 +00:00
include unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
kernel unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
lib libc: replace null.h and size_t.h with stddef.h 2016-09-13 10:21:10 +08:00
misc printk: make _char_out globally accessible 2016-08-28 07:47:28 -04:00
net fix: net samples no longer include unneeded 802.15.4 files 2016-09-12 12:29:09 +00:00
samples zperf_shell: add unified kernel string for unified kernel case 2016-09-13 17:12:55 -04:00
scripts unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
tests unified/tests: tag working some tests kernel as 'unified_capable' 2016-09-13 17:12:55 -04:00
usb usb: Allow to register and handle vendor specific commands 2016-09-12 00:43:31 +00:00
.checkpatch.conf checkpatch: do not check for min_t/max_t 2016-09-13 17:12:55 -04:00
.gitattributes
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview
.mailmap mailmap: Fix broken author information for Evan Couzens 2016-08-08 21:24:49 +00:00
Kbuild unified/build: adapt Kbuild for unified kernel 2016-09-13 17:12:55 -04:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr fs: Adds diskio interface 2016-08-01 16:46:38 -07:00
LICENSE
MAINTAINERS MAINTAINERS: add Zoap section 2016-09-12 12:25:26 +00:00
Makefile win-build: fixes to build with alternative make implementations 2016-09-12 12:28:14 +00:00
Makefile.inc win-build: fixes to build with alternative make implementations 2016-09-12 12:28:14 +00:00
defaults.tc TCF: specify ARCH when creating initconfig 2016-09-08 11:31:32 +00:00
zephyr-env.sh zephyr-env.sh: prepend to PATH 2016-08-05 20:38:08 +00:00