summaryrefslogtreecommitdiff
path: root/libdde_linux26/lib
AgeCommit message (Collapse)Author
2012-06-30Add nr_irqsSamuel Thibault
* libdde_linux26/lib/src/kernel/irq/handle.c: New file. * libdde_linux26/lib/src/Makefile (SRC_C_libdde_linux26.o.a): Add handle.c
2012-05-17Fix do_softirq prototype according to declarationSamuel Thibault
2012-04-07Do not enable irqs during softirq processing, just like upstream DDESamuel Thibault
2012-04-07Revert to upstream DDE cli_sti code, with __threadSamuel Thibault
Flags in Linux and L4 are a per-processor thing. In userland, that simply maps to a per-thread thing. Using a lock instead introduces deadlocks.
2011-11-06Fix unlocking in raw_local_irq_restore inside a fake_local_irq_disable/restoreSamuel Thibault
* libdde_linux26/lib/src/arch/l4/cli_sti.c (unlock_refcnt): New variable. (raw_local_irq_restore): Unlock `cli_lock' when `flags' are equal to `unlock_refcnt' (and clear the latter). (raw_local_irq_disable): If `cli_lock' was not locked, save the current value of `_refcnt' into `unlock_refcnt', unless the former is already smaller than the latter.
2011-05-08remove .svn directoriesSamuel Thibault
2010-08-18block devices use the default work queue.Zheng Da
kblockd work queue doesn't work. It might be a bug in DDE. On the other hand, the default work queue isn't used in a DDE driver, so it should be enough to use the default one.
2010-08-09fake irq disable and enable.Zheng Da
Some functions such as blk_plug_device checks whether irqs are disabled. So I need to fake irq diable in spin_lock_irq and spin_lock_irqsave.
2010-08-08modify variable name and comment of block_dev_rw.Zheng Da
2010-08-08implement device_read for block devices.Zheng Da
2010-08-01Use BPF to filter the packets to be delivered.Zheng Da
2010-07-12use TSC to implement delay.Zheng Da
2010-07-12not export the symbol loops_per_jiffy.Zheng Da
2010-07-12calibrate the delay loop several times.Zheng Da
It's necessary when we do it in the user space, as that the CPU switches to other processes and the result is too imprecise.
2010-07-12Use Linux's udelay and ndelay.Zheng Da
It's not very precise to implement udelay and ndelay with loops in the user space, but should be enough.
2010-06-21remove netdev_boot_setup in dde linux26.Zheng Da
2010-06-17check disk existence in open_block_dev.Zheng Da
2010-06-15implement get_random_bytes() with random() in libcZheng Da
2010-06-09include more block IO scheduler.Zheng Da
2010-06-05fix a bug in claim_irq.Zheng Da
2010-06-04support block devices in the DDE library.Zheng Da
2010-06-04return linux errno in linux_pkg_xmit.Zheng Da
2010-05-31include ddekit/timer.h in the Linux file.Zheng Da
2010-05-05explicitly show pcibios_enable_device isn't implemented.Zheng Da
2010-05-05fix a bug in searching network devices.Zheng Da
2010-05-04Add printing.Zheng Da
2010-04-06Use pci_set_master in linux.Zheng Da
2010-04-06implement dump_stack in libddekit with backtrace.Zheng Da
2010-04-06set memory allocated by ddekit_large_malloc to zeroZheng Da
2010-02-28implement cli/sti with a lock.Zheng Da
In order to avoid dead lock caused by spin_lock_irq or spin_lock_irqsave, I remove irq disabling in them. It's really unnecessary to do spin_lock_irq and spin_lock_irqsave any more because interrupt isn't handled in a real interrupt context.
2010-02-27Use lock to protect pending softirq variable.Zheng Da
This is a temporary solution. I should implement a correct mechanism to simulate cli/sti.
2010-02-27Use adapted dev_queue_xmit to transmit packets in DDE Linux.Zheng Da
2010-02-07initialize new fields in sk_buff.Zheng Da
2010-02-06fix a serious bug in dde_linux26.Zheng Da
don't set `tail` in sk_buff.
2010-01-29Reorganize Makefile.Zheng Da
2010-01-29libdde_linux26 is adapted to be used by libmachdev.Zheng Da
2010-01-26DDE Linux: Temporary solution to handle two buses.Zheng Da
2010-01-16prepare to use initcall to do initialization.Zheng Da
2010-01-16Initialize dde26 process.Zheng Da
2010-01-13don't initialize neighbor and genhd for now.Zheng Da
2010-01-13fix the problem of HZ and jiffies.Zheng Da
2010-01-13Remove the static declaration of initcall functions.Zheng Da
2010-01-13fix a include path in dde linux26.Zheng Da
2010-01-13move variables to Makeconf.localZheng Da
2010-01-05Don't declare jiffies as a variable.Zheng Da
2010-01-05call initcall functions explicitly.Zheng Da
2010-01-05correct the path of header files.Zheng Da
2010-01-05Remove Makefile.inc as it is generated automatically.Zheng Da
2010-01-05Don't compile the sound component in linux26.Zheng Da
2010-01-05define SRC_DIR in Makefile in linux26/libZheng Da