Commits on Feb 13, 2013
  1. csum_area_update must be called with nvram unlocked.

    Adjustments and high scores were resetting to factory defaults
    on every powerup, because the new checksum wasn't being stored
    This only affects the WPC builds where memory protection is used.
    committed Feb 2, 2013
Commits on Jan 16, 2013
Commits on Jan 2, 2013
Commits on Dec 4, 2012
  1. Rewrite multiball serve to be more robust:

    Eliminate retry loop.  Let the device subsystem manage retries
    by itself.  Just queue up the right number of kicks, and do
    'trough rescue' if the trough doesn't have enough balls in it.
    All error handling is done elsewhere.  Therefore, no separate
    task needs to be spawned either.
    committed Nov 26, 2012
Commits on Nov 21, 2012
  1. Speed up device update in some error cases.

    When one of these 3 things happens:
    - a kick request is delayed
    - a kickout lock is held (similar)
    - trough count abruptly changes at end of update
    then we restart update, but there is no need to wait for
    the switch settle delay (since no switch activity necessarily
    happened).  A small delay of 50ms is inserted just to keep
    the scheduler happy.  This gets rid of some unnecessary delay
    when these things happen for a brief time.
    committed Nov 21, 2012
Commits on Oct 25, 2012
  1. Fix bug in ordinary lamp RTT with new lamp effect system.

    Lamps from previous leffs were still being shown after the
    leff had ended.
    committed Oct 9, 2012
Commits on Oct 15, 2012
Commits on Oct 12, 2012
  1. Fix slightly incorrect extern type

    committed Oct 12, 2012
  2. queue.h : Add missing include guard

    committed Oct 12, 2012
  3. Minimal platform builds for ARM by default.

    The GCC_CROSS setting in the platform file enables this.
    committed Oct 12, 2012
Commits on Oct 8, 2012
  1. Major cleanup of the native mode task support.

    The major change is to refactor the things in common
    between the different task implementations (pth, pthread)
    into a new, "native task" module (ntask.c), so that the
    existing files only have the thread-specific functions.
    This also will enable new task libraries to be added much
    more easily, as fewer functions need to be written.
    committed Oct 8, 2012
  2. Refactor common task create/delete logic.

    Add aux_task_create(), aux_task_delete() functions for this.
    With this, the pth/pthreads implementation files are about
    as simple as they can be.
    committed Oct 3, 2012
  3. Enhance pth level debugging.

    committed Oct 3, 2012
  4. Ensure low-level task library is initialized before ntask_init().

    This is because it will call task_getpid() to set the first PID
    in the table.  getpid() may return undefined results if it is
    called prior to low-level init.
    committed Oct 3, 2012
  5. Add common routine to lookup task data by PID.

    Rewrite many functions in terms of this aux_task_find_pid(),
    which reduces total complexity of the pth/pthread files.
    committed Oct 3, 2012
  6. Move functions common between pth/pthreads into new file.

    ntask.c is the home for common, native task support.
    pth.c and pthread.c will host any differences depending on
    the thread library to be used.
    More separation is possible, but this is the first step.
    committed Oct 3, 2012
  7. Fix type error in console UI.

    committed Oct 3, 2012
  8. Move pth link flags into HOST_LFLAGS.

    Don't automatically try to pull in pth.  Use the configuration
    option for CONFIG_PTH to add these.
    committed Oct 3, 2012
  9. Move some declarations out of native .c files into task.h.

    There is some commonality between pth and pthreads implementations
    that can be shared.
    committed Oct 3, 2012
  10. Move native-mode task definitions to a separate file.

    task.h was getting too complicated to understand, so copy it
    and strip out all the non-native stuff.  This will make changes
    to it easier.
    Likewise, remove all the native stuff from the original file.
    committed Oct 3, 2012
Commits on Oct 4, 2012
  1. Far data access in simulation can now use __caller_page, which is zero.

    Although there is no such page, some other functions/macros expect
    a page so this allows one to be provided in all cases.
    Ref: b9ab9b4
    committed Oct 4, 2012
  2. Add 'make-next' script.

    committed Oct 4, 2012
Commits on Oct 2, 2012
  1. Fix Makefile bug that was setting PLATFORM_DESC incorrectly.

    It had two values in it; 'include' was added, because we were
    grepping for that string but not removing it afterwards.
    Now we use awk to pull the value more efficiently.
    This may have been causing unnecessary rebuilds if the 'include'
    directory had its time updated.
    With this change, the MACHINE_FILE setting is also ignored,
    and defaults to the machine name plus the .md extension.
    committed Oct 2, 2012