#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/kdev_t.h>
#include <linux/string.h>
#include <linux/screen_info.h>
#include <linux/console.h>
#include <linux/timex.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/mm.h>
#include <linux/serial.h>
#include <linux/irq.h>
#include <linux/bootmem.h>
#include <linux/mmzone.h>
#include <linux/interrupt.h>
#include <linux/acpi.h>
#include <linux/compiler.h>
#include <linux/root_dev.h>
#include <linux/nodemask.h>
#include <linux/pm.h>
#include <linux/efi.h>
#include <asm/io.h>
#include <asm/sal.h>
#include <asm/machvec.h>
#include <asm/processor.h>
#include <asm/vga.h>
#include <asm/setup.h>
#include <asm/sn/arch.h>
#include <asm/sn/addrs.h>
#include <asm/sn/pda.h>
#include <asm/sn/nodepda.h>
#include <asm/sn/sn_cpuid.h>
#include <asm/sn/simulator.h>
#include <asm/sn/leds.h>
#include <asm/sn/bte.h>
#include <asm/sn/shub_mmr.h>
#include <asm/sn/clksupport.h>
#include <asm/sn/sn_sal.h>
#include <asm/sn/geo.h>
#include <asm/sn/sn_feature_sets.h>
#include "xtalk/xwidgetdev.h"
#include "xtalk/hubdev.h"
#include <asm/sn/klconfig.h>
Go to the source code of this file.
#define MAX_PHYS_MEMORY (1UL << IA64_MAX_PHYS_BITS) /* Max physical address supported */ |
#define PCDP_CONSOLE_DEBUG 0x1 |
#define PCDP_CONSOLE_IN 0x3 |
#define PCDP_CONSOLE_INOUT 0x0 |
#define PCDP_CONSOLE_OUT 0x2 |
#define PCDP_CONSOLE_TYPE_VGA 0x8 |
#define PCDP_PCI_TRANS_IOPORT 0x02 |
#define PCDP_PCI_TRANS_MMIO 0x01 |
#define PCDP_PRIMARY_CONSOLE 0x01 |
DEFINE_PER_CPU |
( |
short |
, |
|
|
__sn_cnodeid_to_nasid |
[MAX_COMPACT_NODES] |
|
) |
| |
early_sn_setup - early setup routine for SN platforms
Sets up an initial console to aid debugging. Intended primarily for bringup. See start_kernel() in init/main.c.
Definition at line 154 of file setup.c.
EXPORT_PER_CPU_SYMBOL |
( |
__sn_hub_info |
| ) |
|
EXPORT_PER_CPU_SYMBOL |
( |
__sn_cnodeid_to_nasid |
| ) |
|
EXPORT_PER_CPU_SYMBOL |
( |
__sn_nodepda |
| ) |
|
int nasid_slice_to_cpuid |
( |
int |
nasid, |
|
|
int |
slice |
|
) |
| |
sn_cpu_init - initialize per-cpu data areas : cpuid of the caller
Called during cpu initialization on each cpu as it starts. Currently, initializes the per-cpu data area for SNIA. Also sets up a few fields in the nodepda. Also known as platform_cpu_init() by the ia64 machvec code.
Definition at line 561 of file setup.c.
int sn_prom_feature_available |
( |
int |
id | ) |
|
sn_setup - SN platform setup routine : kernel command line
Handles platform setup for SN machines. This includes determining the RTC frequency (via a SAL call), initializing secondary CPUs, and setting up per-node data areas. The console is also initialized here.
Definition at line 370 of file setup.c.
unsigned long last_time_offset |
u64 sn_partition_serial_number |
unsigned long sn_rtc_cycles_per_second |
Initial value:= {
.orig_x = 0,
.orig_y = 0,
.orig_video_mode = 3,
.orig_video_cols = 80,
.orig_video_ega_bx = 3,
.orig_video_lines = 25,
.orig_video_isVGA = 1,
.orig_video_points = 16
}
Definition at line 113 of file setup.c.
u8 sn_sharing_domain_size |
char sn_system_serial_number_string[128] |