Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

hw.c File Reference

#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/malloc.h>
#include <linux/mpp.h>
#include <asm/irq.h>
#include <asm/ap1000/apservice.h>
#include <asm/ap1000/apreg.h>

Include dependency graph for hw.c:

Go to the source code of this file.

Defines

#define APLOG   0

Functions

static void unexpected_irq (int irq, void *dev_id, struct pt_regs *regs)
static void ap_other_irqs (void)
int ap_memory_size (void)
static void show_registers (void)
static void check_alive (void)
static void show_task (struct task_struct *t)
static void show_ptasks (void)
static void show_utasks (void)
static void show_otasks (void)
void do_panic (void)
void mpp_hw_init (void)

Variables

int cap_nopt0
int cap_cid0
int cap_ncel0
unsigned _cid
unsigned _ncel
unsigned _ncelx
unsigned _ncely
unsigned _cidx
unsigned _cidy
static unsigned char dummy
unsigned char * auxio_register = &dummy
cap_init cap_init


Define Documentation

#define APLOG   0
 

Definition at line 20 of file hw.c.


Function Documentation

int ap_memory_size void   ) 
 

Definition at line 49 of file hw.c.

References MSC_IN, MSC_SIMMCHK, and MSC_SIMMCHK_MASK.

Referenced by __initfunc().

static void ap_other_irqs void   )  [static]
 

Definition at line 41 of file hw.c.

References request_irq(), SA_INTERRUPT, and unexpected_irq().

Referenced by mpp_hw_init().

Here is the call graph for this function:

static void check_alive void   )  [static]
 

Definition at line 67 of file hw.c.

References mpp_cid(), and printk.

Referenced by mpp_hw_init().

Here is the call graph for this function:

void do_panic void   ) 
 

Definition at line 151 of file hw.c.

References x.

Referenced by mpp_hw_init().

void mpp_hw_init void   ) 
 

Definition at line 158 of file hw.c.

References _cid, _cidx, _cidy, _ncel, _ncelx, _ncely, ap_bif_init(), ap_msc_init(), ap_other_irqs(), ap_profile_init(), ap_ringbuf_init(), ap_start_debugger(), ap_tnet_init(), bif_add_debug_key(), BIF_CIDR1, BIF_IN, breakpoint(), cap_cid0, cap_ncel0, check_alive(), ctrl_alt_del(), do_panic(), mac_print_state(), NULL, cap_init::numcells, show_debug_keys(), show_mem(), show_otasks(), show_ptasks(), show_registers(), show_state(), and show_utasks().

Here is the call graph for this function:

static void show_otasks void   )  [static]
 

Definition at line 129 of file hw.c.

References ap_current_uid, count, i, mpp_cid(), p, printk, read_lock, read_unlock, show_task(), task, and tasklist_lock.

Referenced by mpp_hw_init().

Here is the call graph for this function:

static void show_ptasks void   )  [static]
 

Definition at line 86 of file hw.c.

References count, i, mpp_cid(), p, printk, read_lock, read_unlock, show_task(), task, tasklist_lock, and tp.

Referenced by mpp_hw_init().

Here is the call graph for this function:

static void show_registers void   )  [static]
 

Definition at line 57 of file hw.c.

References bif_pt_regs, printk, and show_regs.

static void show_task struct task_struct *  t  )  [static]
 

Definition at line 74 of file hw.c.

References jiffies, mpp_cid(), and printk.

Referenced by show_otasks(), show_ptasks(), and show_utasks().

Here is the call graph for this function:

static void show_utasks void   )  [static]
 

Definition at line 108 of file hw.c.

References count, i, mpp_cid(), p, printk, read_lock, read_unlock, show_task(), task, and tasklist_lock.

Referenced by mpp_hw_init().

Here is the call graph for this function:

static void unexpected_irq int  irq,
void *  dev_id,
struct pt_regs regs
[static]
 

Definition at line 36 of file hw.c.

References ap_panic().

Here is the call graph for this function:


Variable Documentation

unsigned _cid
 

Definition at line 27 of file hw.c.

unsigned _cidx
 

Definition at line 27 of file hw.c.

unsigned _cidy
 

Definition at line 27 of file hw.c.

unsigned _ncel
 

Definition at line 27 of file hw.c.

unsigned _ncelx
 

Definition at line 27 of file hw.c.

unsigned _ncely
 

Definition at line 27 of file hw.c.

unsigned char* auxio_register = &dummy
 

Definition at line 31 of file hw.c.

Referenced by __initfunc().

int cap_cid0
 

Definition at line 24 of file hw.c.

Referenced by ap_sync(), mpp_hw_init(), mpp_notify_schedule(), and mpp_weight().

struct cap_init cap_init
 

Definition at line 22 of file arch/sparc/ap1000/util.c.

int cap_ncel0
 

Definition at line 25 of file hw.c.

Referenced by mpp_hw_init().

int cap_nopt0
 

Definition at line 23 of file hw.c.

unsigned char dummy [static]
 

Definition at line 30 of file hw.c.

Referenced by __initfunc(), __memset_cc_by2(), __memset_cc_by4(), __memset_gc_by4(), adb_IIsi_cleanup(), apm_get_event(), c4_detect(), cc_Reset(), cc_SetSpeed(), cmd_out(), cmd_status(), display_cacheinfo(), dma_init_read(), dma_init_write(), emu10k1_mpuin_start(), falc_e1_intr(), falc_t1_intr(), fat_readdirx(), fdc_reset(), floppy_eject(), fp_dividemant(), get_num_var_ranges(), gscd_ioctl(), have_wrcomb(), init_transmeta(), intel_get_mtrr(), ip_fast_csum(), lp_mfc_interrupt(), lp_mfc_out(), mask_irq(), mcdx_xfer(), mfc3_interrupt(), mfc3_write_data(), mfc_change_speed(), multiface_init(), ncp_notify_change(), nfsd3_proc_readlink(), nfsd_proc_readlink(), release_bif(), rem_kernel(), RHDR(), rts(), scsi_dma_int(), send_frames(), set_rx_mode(), sjcd_ioctl(), smp_send_stop(), smp_signal_others(), strcat(), strcpy(), strlen(), strncat(), strncpy(), svc_register(), sys_ptrace(), t1_detectandinit(), tape_parm_call_setup(), tcp_listen_poll(), tcp_read_discard(), tcp_v6_hnd_req(), te_config(), timer_interrupt(), tnet_ip_recv(), tnet_send(), transceive_Dchannel(), unmask_irq(), vfat_add_entry(), WHDR(), xchg_u32(), and xchg_u64().