diff options
author | Aaron Giles <aaron@aarongiles.com> | 2011-06-25 07:03:07 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2011-06-25 07:03:07 +0000 |
commit | f8adbd63faca4bc25614c62812bea2bed5e32658 (patch) | |
tree | e9de92dd632d3c09f66e11969d0f5475f3af8aa1 /.gitattributes | |
parent | 77d25b41e19665d7ca2d62e0b53706343ad11ce5 (diff) |
Added byuu's cothread library, along with a wrapper class. Switched to
using one cothread for each executable device. This functionality is
strictly internal and should result in no changes in scheduling
behavior. However, it now becomes possible to exit out of a device's
execution in the midst of an instruction by calling
machine().scheduler().make_active(). Note that this is somewhat dangerous
for cores that have logic at the start of their execute loop to check for
interrupts or other conditions, as those checks will be skipped upon
resume, so consider this sort of early exiting to be highly experimental
for now. [Aaron Giles, Miodrag Milanovic, byuu]
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 0d0b3a64f31..869b2aa411a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -41,6 +41,8 @@ src/emu/clifront.c svneol=native#text/plain src/emu/clifront.h svneol=native#text/plain src/emu/config.c svneol=native#text/plain src/emu/config.h svneol=native#text/plain +src/emu/cothread.c svneol=native#text/plain +src/emu/cothread.h svneol=native#text/plain src/emu/cpu/adsp2100/2100dasm.c svneol=native#text/plain src/emu/cpu/adsp2100/2100ops.c svneol=native#text/plain src/emu/cpu/adsp2100/adsp2100.c svneol=native#text/plain @@ -1332,6 +1334,24 @@ src/ldplayer/layout/pr8210.lay svneol=native#text/plain src/ldplayer/ldplayer.c svneol=native#text/plain src/ldplayer/ldplayer.lst svneol=native#text/plain src/ldplayer/ldplayer.mak svneol=native#text/plain +src/lib/cothread/amd64.c svneol=native#text/plain +src/lib/cothread/doc/amd64.asm svneol=native#text/plain +src/lib/cothread/doc/style.css svneol=native#text/plain +src/lib/cothread/doc/targets.html svneol=native#text/plain +src/lib/cothread/doc/usage.html svneol=native#text/plain +src/lib/cothread/doc/x86.asm svneol=native#text/plain +src/lib/cothread/fiber.c svneol=native#text/plain +src/lib/cothread/libco.c svneol=native#text/plain +src/lib/cothread/libco.h svneol=native#text/plain +src/lib/cothread/ppc.c svneol=native#text/plain +src/lib/cothread/sjlj.c svneol=native#text/plain +src/lib/cothread/test/cc.bat svneol=native#text/plain +src/lib/cothread/test/cc.sh svneol=native#text/plain +src/lib/cothread/test/test.h svneol=native#text/plain +src/lib/cothread/test/test_args.cpp svneol=native#text/plain +src/lib/cothread/test/test_timing.cpp svneol=native#text/plain +src/lib/cothread/ucontext.c svneol=native#text/plain +src/lib/cothread/x86.c svneol=native#text/plain src/lib/expat/ascii.h svneol=native#text/plain src/lib/expat/asciitab.h svneol=native#text/plain src/lib/expat/expat.h svneol=native#text/plain |