Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-07 | Do not enable irqs during softirq processing, just like upstream DDE | Samuel Thibault | |
2012-04-07 | Revert to upstream DDE cli_sti code, with __thread | Samuel 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-06 | Fix unlocking in raw_local_irq_restore inside a fake_local_irq_disable/restore | Samuel 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-08 | remove .svn directories | Samuel Thibault | |
2010-08-18 | block 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-09 | fake 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-08 | modify variable name and comment of block_dev_rw. | Zheng Da | |
2010-08-08 | implement device_read for block devices. | Zheng Da | |
2010-08-01 | Use BPF to filter the packets to be delivered. | Zheng Da | |
2010-07-12 | use TSC to implement delay. | Zheng Da | |
2010-07-12 | not export the symbol loops_per_jiffy. | Zheng Da | |
2010-07-12 | calibrate 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-12 | Use 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-21 | remove netdev_boot_setup in dde linux26. | Zheng Da | |
2010-06-17 | check disk existence in open_block_dev. | Zheng Da | |
2010-06-15 | implement get_random_bytes() with random() in libc | Zheng Da | |
2010-06-09 | include more block IO scheduler. | Zheng Da | |
2010-06-05 | fix a bug in claim_irq. | Zheng Da | |
2010-06-04 | support block devices in the DDE library. | Zheng Da | |
2010-06-04 | return linux errno in linux_pkg_xmit. | Zheng Da | |
2010-05-31 | include ddekit/timer.h in the Linux file. | Zheng Da | |
2010-05-05 | explicitly show pcibios_enable_device isn't implemented. | Zheng Da | |
2010-05-05 | fix a bug in searching network devices. | Zheng Da | |
2010-05-04 | Add printing. | Zheng Da | |
2010-04-06 | Use pci_set_master in linux. | Zheng Da | |
2010-04-06 | implement dump_stack in libddekit with backtrace. | Zheng Da | |
2010-04-06 | set memory allocated by ddekit_large_malloc to zero | Zheng Da | |
2010-02-28 | implement 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-27 | Use 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-27 | Use adapted dev_queue_xmit to transmit packets in DDE Linux. | Zheng Da | |
2010-02-07 | initialize new fields in sk_buff. | Zheng Da | |
2010-02-06 | fix a serious bug in dde_linux26. | Zheng Da | |
don't set `tail` in sk_buff. | |||
2010-01-29 | Reorganize Makefile. | Zheng Da | |
2010-01-29 | libdde_linux26 is adapted to be used by libmachdev. | Zheng Da | |
2010-01-26 | DDE Linux: Temporary solution to handle two buses. | Zheng Da | |
2010-01-16 | prepare to use initcall to do initialization. | Zheng Da | |
2010-01-16 | Initialize dde26 process. | Zheng Da | |
2010-01-13 | don't initialize neighbor and genhd for now. | Zheng Da | |
2010-01-13 | fix the problem of HZ and jiffies. | Zheng Da | |
2010-01-13 | Remove the static declaration of initcall functions. | Zheng Da | |
2010-01-13 | fix a include path in dde linux26. | Zheng Da | |
2010-01-13 | move variables to Makeconf.local | Zheng Da | |
2010-01-05 | Don't declare jiffies as a variable. | Zheng Da | |
2010-01-05 | call initcall functions explicitly. | Zheng Da | |
2010-01-05 | correct the path of header files. | Zheng Da | |
2010-01-05 | Remove Makefile.inc as it is generated automatically. | Zheng Da | |
2010-01-05 | Don't compile the sound component in linux26. | Zheng Da | |
2010-01-05 | define SRC_DIR in Makefile in linux26/lib | Zheng Da | |
2010-01-01 | Change the path of header files. | Zheng Da | |
TODO We need to handle initcall properly. | |||
2009-12-21 | a temporary version of Makefiles for libdde_linux26 | Zheng Da | |