Change Details
devices.hhp |
329 | 329 | INPUT = 1 << 31 |
330 | 330 | void get_state (Cap cap): |
331 | 331 | ocall (cap, CAP_MASTER_DIRECT | GET_STATE) |
332 | | void event (unsigned code, unsigned value = 0): |
| 332 | void event (unsigned code, Iris::Num value = 0): |
333 | 333 | call (Num (CAP_MASTER_DIRECT | EVENT, code), value) |
334 | 334 | void exit (): |
335 | 335 | call (CAP_MASTER_DIRECT | EXIT) |
mips/nanonote/Makefile.arch |
45 | 45 | ARCH_CXXFLAGS = -DNUM_THREADS=4 |
46 | 46 | all: iris-sd.tar |
47 | 47 | iris-sd.tar: $(addprefix fs/,$(addsuffix .elf,$(programs))) iris.raw init.config |
48 | | mkimage -a $(load) -e a$(shell /bin/sh -c '$(OBJDUMP) -t iris.elf | grep __start$$ | cut -b2-8') -n Iris -d iris.raw fs/uimage | sed -e 's/:/;/g' |
| 48 | mkimage -A mips -T kernel -a $(load) -e a$(shell /bin/sh -c '$(OBJDUMP) -t iris.elf | grep __start$$ | cut -b2-8') -n Iris -d iris.raw fs/uimage | sed -e 's/:/;/g' |
49 | 49 | cd fs && tar cvf ../$@ uimage init.config $(addsuffix .elf,$(programs)) --dereference |
50 | 50 | endif |
51 | 51 | |
source/gui.ccp |
160 | 160 | Iris::my_receiver.set_alarm (HZ / 3) |
161 | 161 | |
162 | 162 | Iris::Num start (): |
163 | | Iris::my_parent.init_done () |
164 | | |
165 | 163 | display = Iris::my_parent.get_capability <Iris::Display> () |
166 | 164 | Iris::Setting bright = Iris::my_parent.get_capability <Iris::Setting> () |
167 | 165 | Iris::Keyboard keyboard = Iris::my_parent.get_capability <Iris::Keyboard> () |
... | ... | |
188 | 186 | |
189 | 187 | unsigned total_time = 0 |
190 | 188 | alarming = 0 |
| 189 | |
| 190 | Iris::my_parent.init_done () |
| 191 | |
191 | 192 | while true: |
192 | 193 | Iris::wait () |
193 | 194 | switch Iris::recv.protected_data.l: |
Download the corresponding diff file