#include <l4/lock/lock.h>
#include <l4/dde_linux/dde.h>
#include <asm/system.h>
#include <stdlib.h>
#include "__config.h"
#include "internal.h"
#include <linux/spinlock.h>
#include <asm/delay.h>
Go to the source code of this file.
Synchronization | |
Linux kernel synchronization is sometimes based on cli()/sti () pairs.
As discussed in "Taming Linux" simply disabling Interrupts via | |
void | __global_cli () |
Global CLear Interrupt flag. | |
void | __global_sti () |
Global SeT Interrupt flag. | |
unsigned long | __global_save_flags () |
Global save flags. | |
void | __global_restore_flags (unsigned long flags) |
Global restore flags. | |
l4lock_t | irq_lock = L4LOCK_UNLOCKED_INITIALIZER |
Interrupt lock. | |
Miscellaneous | |
int | get_option (char **str, int *pint) |
Parse integer from an option string. | |
char * | get_options (char *str, int nints, int *ints) |
Parse a string into a list of integers. | |
void | udelay (unsigned long usecs) |
Delay some usecs. | |
int | l4dde_driver_classes_init (void) |
Dummy for DDE2.6. | |
spinlock_cacheline_t | kernel_flag_cacheline = {SPIN_LOCK_UNLOCKED} |
BIG kernel lock. |
Definition in file global.c.
|
Global CLear Interrupt flag. Acquire irq_lock. Do not grab it twice! Definition at line 46 of file global.c. References irq_lock. Referenced by __global_restore_flags(). |
|
Global restore flags.
Definition at line 87 of file global.c. References __global_cli(), __global_sti(), and DEBUG_MSG. |
|
Global save flags.
It is used to save the current irq_lock state.
Definition at line 73 of file global.c. References irq_lock. |
|
Global SeT Interrupt flag. Release irq_lock. Definition at line 56 of file global.c. References irq_lock. Referenced by __global_restore_flags(). |
|
Parse integer from an option string. (from lib/cmdline.c) Definition at line 110 of file global.c. Referenced by get_options(). |
|
Parse a string into a list of integers. (from lib/cmdline.c) Definition at line 131 of file global.c. References get_option(). |
|
Delay some usecs.
|