#include <l4/lock/lock.h>
#include <l4/dde_linux/dde.h>
#include <asm/system.h>
#include "internal.h"
#include <stdlib.h>
#include <linux/spinlock.h>
#include <asm/delay.h>
#include <linux/reboot.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 | |
static l4lock_t | irq_lock = L4LOCK_UNLOCKED_INITIALIZER |
Interrupt lock. | |
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. | |
Miscellaneous | |
spinlock_cacheline_t | kernel_flag_cacheline = {SPIN_LOCK_UNLOCKED} |
BIG kernel lock. | |
int | get_option (char **str, int *pint) |
Parse integer from an option string
(from lib/cmdline.c). | |
char * | get_options (char *str, int nints, int *ints) |
Parse a string into a list of integers
(from lib/cmdline.c). | |
void | udelay (unsigned long usecs) |
Delay some usecs. | |
int | l4dde_driver_classes_init (void) |
Dummy for DDE2.6. | |
int | register_reboot_notifier (struct notifier_block *arg0) |
Dummy . | |
int | unregister_reboot_notifier (struct notifier_block *arg0) |
Dummy . |
Definition in file global.c.
void __global_cli | ( | ) |
void __global_restore_flags | ( | unsigned long | flags | ) |
Global restore flags.
flags | indicates action |
unsigned long __global_save_flags | ( | ) |
Global save flags.
It is used to save the current irq_lock state.
void __global_sti | ( | ) |
int register_reboot_notifier | ( | struct notifier_block * | arg0 | ) |
void udelay | ( | unsigned long | usecs | ) |
int unregister_reboot_notifier | ( | struct notifier_block * | arg0 | ) |