summaryrefslogtreecommitdiff
path: root/libdde_linux26/lib/src/arch/l4
AgeCommit message (Collapse)Author
2013-07-27rename libdde_linux26 into libdde-linux26 to make dpkg-source happySamuel Thibault
2012-07-06Fix probing for all PCI buses, not only 0 and 2Samuel Thibault
* libdde_linux26/lib/src/arch/l4/pci.c (pci_bus, pci_bus1): Remove variables. (l4dde26_init_pci): Use ddekit_pci_get_device to find out all buses to be probed for.
2012-06-30Add param_set/get_charp/bool/invbollSamuel Thibault
* libdde_linux26/lib/src/arch/l4/param.c (param_set_charp, param_get_charp, param_set_bool, param_get_bool, param_set_invbool, param_get_invbool): New functions.
2012-06-30Add tasklet_killSamuel Thibault
* libdde_linux26/lib/src/arch/l4/softirq.c (tasklet_kill): New function.
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-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-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-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-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-06fix a serious bug in dde_linux26.Zheng Da
don't set `tail` in sk_buff.
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-13Remove the static declaration of initcall functions.Zheng 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-01Change the path of header files.Zheng Da
TODO We need to handle initcall properly.
2009-12-06check in the original version of dde linux26.Zheng Da