1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2025-04-21 12:27:27 +03:00

working on things

This commit is contained in:
Bas Wijnen
2009-06-10 22:54:12 +02:00
parent 1bb67efc75
commit 8445be58dd
11 changed files with 160 additions and 360 deletions

View File

@@ -35,6 +35,7 @@ uimage:
mips/entry.o: $(boot_threads)
mips/init.o: TARGET_FLAGS = -I/usr/include
$(boot_threads): TARGET_FLAGS = -I.
$(boot_threads): boot-programs/jz4730.hh
# Transform ':' into ';' so vim doesn't think there are errors.
uimage: kernel.raw.gz Makefile mips/Makefile.arch

View File

@@ -45,7 +45,7 @@ void Thread_arch_init (Thread *thread):
thread->arch.k0 = 0
thread->arch.k1 = 0
void Thread_arch_receive (Thread *thread, Capability::Context *c):
void Thread_arch_receive (Thread *thread, unsigned protected_data, Capability::Context *c):
thread->arch.a0 = (unsigned)c->cap[0]
thread->arch.a1 = (unsigned)c->cap[1]
thread->arch.a2 = (unsigned)c->cap[2]
@@ -54,7 +54,7 @@ void Thread_arch_receive (Thread *thread, Capability::Context *c):
thread->arch.t1 = c->data[1]
thread->arch.t2 = c->data[2]
thread->arch.t3 = c->data[3]
thread->arch.v1 = c->protected_data
thread->arch.v1 = protected_data
thread->arch.v0 = 1
void Thread_arch_receive_fail (Thread *thread):

View File

@@ -222,8 +222,8 @@ save_regs:
.globl thread2
.balign 0x1000
thread0:
.incbin "thread0"
.incbin "keyboard"
.balign 0x1000
thread1:
.incbin "thread1"
.incbin "lcd"
thread2: