History log of /gem5/system/alpha/console/console.c
Revision Date Author Comments
# 11320:42ecb523c64a 06-Feb-2016 Steve Reinhardt <steve.reinhardt@amd.com>

style: remove trailing whitespace

Result of running 'hg m5style --skip-all --fix-white -a'.


# 8029:442f90a944eb 16-Feb-2011 Nathan Binkert <nate@binkert.org>

copyright: update copyright on alpha system files


# 8028:6b05deee0ca3 19-Oct-2007 Geoffrey Blake <blakeg@umich.edu>

Fix bug in MDT BITMAP to allow more than 2GB of memory.

Signed-off by Ali Saidi <saidi@eecs.umich.edu>


# 8026:680f5c014bed 16-Aug-2006 Ali Saidi <saidi@eecs.umich.edu>

update our copyrights to the new format


# 8023:36c59449dc93 23-Feb-2006 Ali Saidi <saidi@eecs.umich.edu>

change from bootStrap* to using the cpuStack array for setting up
other processor stacks


# 8022:15bece33379b 18-Aug-2005 Nathan Binkert <binkertn@umich.edu>

Fix console to work on all systems.

console/console.c:
CONS_REM (remote console) doesn't work on Tru64. Use CONS_DZ which
seems to work alright everywhere.


# 8021:abc215a139a8 28-Jul-2005 Benjamin Nash <benash@umich.edu>

Merge zed.eecs.umich.edu:/.automount/fox/y/mserrano/alpha-system
into zed.eecs.umich.edu:/z/benash/bk/alpha-system

console/console.c:
Clean up code.
h/rpb.h:
Update CTB struct.


# 8019:4af5d8f5ce56 26-Jul-2005 Benjamin Nash <benash@umich.edu>

New console terminal block structure, fix kernel stack pointer.

console/console.c:
Use virtual addresses for kernel stack pointer, use new ctb structure.
h/rpb.h:
Update console terminal block structure.


# 8018:f3975c1b6009 28-Jul-2005 Miguel Serrano <mserrano@umich.edu>

changes

console/console.c:
fixed bootstrap stack
h/rpb.h:
ctb_term_type instead of ctb_baud


# 8016:96a3a31ead2a 28-Jun-2005 Nathan Binkert <binkertn@umich.edu>

console code cleanup

console/console.c:
the go parameter to unixBoot is never used, so get rid of it.
just panic if we return from unixBoot since it's never supposed
to happen.
remove the MAX_CPUS parameter and the bootStrapImpure variable
and just allocate memory as needed. (Can in theory support many
more CPUs.)


# 8015:37634fc80b3c 28-Jun-2005 Nathan Binkert <binkertn@umich.edu>

pass the location of the m5 backdoor via the m5AlphaAccess variable
only compile one console

console/Makefile:
Now that the location of the m5 backdoor is passed into the
console via the m5AlphaAccess variable, we only need to
compile one console, and don't need to define TLASER or TSUNAMI
console/console.c:
Don't hardcode the location of the AlphaAccess structure, but
rely on m5 to pass in the correct value.
Setup "volatile struct AlphaAccess *m5AlphaAccess" for use and
get rid of the hardcoded usage.


# 8013:2dfcde2e9998 27-Jun-2005 Nathan Binkert <binkertn@umich.edu>

Major system code cleanup and formatting
remove unused code

console/Makefile:
cleanup Makefile. Remove unneeded -D options
console/console.c:
Major cleanup and formatting
remove unused #ifdef code
remove unused #includes
rename xxm -> m5
rename simos -> m5
console/dbmentry.S:
console/paljtokern.S:
console/paljtoslave.S:
console/printf.c:
Major cleanup and formatting
remove unused #ifdef code
remove unused #includes
rename __start -> _start to get rid of warning.
h/cserve.h:
h/dc21164FromGasSources.h:
h/ev5_alpha_defs.h:
h/ev5_defs.h:
h/ev5_osfalpha_defs.h:
h/ev5_paldef.h:
h/fromHudsonMacros.h:
h/fromHudsonOsf.h:
h/rpb.h:
Major cleanup and formatting
h/ev5_impure.h:
Major cleanup and formatting
remove unused #ifdef code
palcode/Makefile:
cleanup Makefile
remove unused -D options
unify platform_tlaser.S and platform_tsunami.S into platform.S and
generate multiple .o files using various #defines
unify osfpal.S osfpal_cache_copy.S and osfpal_cache_copy_unaligned.S into
osfpal.S and generate multiple .o files using various #defines
palcode/osfpal.S:
Major cleanup and formatting
remove unused #defines
remove unused #if code
merge copy code into this file.
palcode/platform.S:
Major cleanup and formatting
remove unused #defines
remove unused #if code
merge platform code into this file.


# 8012:2f71125bf413 04-Jun-2005 Ali Saidi <saidi@eecs.umich.edu>

HP copyrights

console/Makefile:
Added copyright
added CROSS_COMPILE variable
removed install target
console/console.c:
console/dbmentry.S:
console/paljtokern.S:
console/paljtoslave.S:
console/printf.c:
h/cia.h:
h/cserve.h:
h/dc21164FromGasSources.h:
h/eb164.h:
h/ev5_alpha_defs.h:
h/ev5_defs.h:
h/ev5_impure.h:
h/ev5_osfalpha_defs.h:
h/ev5_paldef.h:
h/fromHudsonMacros.h:
h/fromHudsonOsf.h:
h/lib.h:
h/platform.h:
h/regdefs.h:
h/rpb.h:
palcode/Makefile:
palcode/osfpal.S:
palcode/osfpal_cache_copy.S:
palcode/osfpal_cache_copy_unaligned.S:
palcode/platform_m5.S:
palcode/platform_tlaser.S:
added hp and our copyright


# 8010:71d56cc8c657 06-Dec-2004 Ali Saidi <saidi@eecs.umich.edu>

Add support for tsunami with 64 processors and fix some console bugs
I steped on while doing it

console/console.c:
Allocate more HWRPB pages so we have room for 64 percpu_rpbs
Fix writing of Console Relocation Block virtual addresses so that
if they are outside of the first page, which they will be with more
than 8 processors, the correct adress is written
palcode/Makefile:
Update makefile for tsunami with 64 processors
palcode/platform_m5.S:
Add support for tsunami with 64 processors


# 8009:54f46550ad2e 23-Nov-2004 Ali Saidi <saidi@eecs.umich.edu>

do a better job of always locking printf. We used to only lock on
secondary cpus, this also locks on the primary cpu.
Now the initial print out doesn't get garbled with more than 1 cpu.


# 8005:fa59ff6f1526 06-Oct-2004 Ali Saidi <saidi@eecs.umich.edu>

Fix from Adam: Strip the kseg off the physical address in the RPB structure.


# 8004:09c853754bd9 01-Sep-2004 Ali Saidi <saidi@eecs.umich.edu>

changes to make smp work in linux

console/console.c:
Remove Printed SimOS references and replace with M5
Rework the SMP stuff, so we don't trash any stacks, or what we
thought were stacks, but are actually other ppls memory.
console/dbmentry.s:
add a carefully crafted piece of assembly that doesn't use the stack,
so we don't clobber anthing in the time between when we are spinning
and when the OS tells us to go.
palcode/platform_m5.s:
add/fix code for IPI, multiprocessor interrupts (DIR), and initial
bootstrapping of the cpu


# 8003:7408e4b599ae 01-Aug-2004 Ali Saidi <saidi@eecs.umich.edu>

changed to generate tlaser and tsunami console code at different
addresses so the uncachable bit is set for tsunami.

console/Makefile:
console/console.c:
changed to generate tlaser and tsunami console code at different addresses


# 8001:3ff970f61e80 23-Jun-2004 Ali Saidi <saidi@eecs.umich.edu>

Copy variables over one at a time rather than copying 4 bytes at a
time. Easiest way to deal with the endian issue.


# 7999:9d6c5bc4e1f9 18-May-2004 Ali Saidi <saidi@eecs.umich.edu>

Added ALPHA_ACCESS_BASE to get rid of machine_defs.h


# 7990:9ad86367e30d 11-May-2004 Ali Saidi <saidi@eecs.umich.edu>

added some comments to palcode and zeroed system type in HWPRB (m5 will fill in)

console/console.c:
0 the system type, let m5 overwrite
palcode/platform_m5.s:
add some comments and make the timer interrupt actually care what CPU it happened on


# 7985:3e932649220c 02-Feb-2004 Ali Saidi <saidi@eecs.umich.edu>

Added platfrom_m5 - Our hacked up tsunami palcode and modified palcode
makefile to that end. Additionally made a change in console to
preserve t7 on call back because linux uses it for the "current"
pointer.

console/Makefile:
Changed makefile back to using gcc and gas rather then trying to
cross-compile for now
console/console.c:
Put code in to save t7 on CallBackFixup() call and changed the
system type to Tsunami
palcode/Makefile:
updated palcode makefile to have targets for tlaser and tsunami


# 7983:fffe5c0f6707 14-Jan-2004 Ali Saidi <saidi@eecs.umich.edu>

Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/alpha-system
into zizzer.eecs.umich.edu:/y/saidi/alpha-system


# 7982:7d084eb47a86 14-Jan-2004 Ali Saidi <saidi@eecs.umich.edu>

Added support for OPEN_CONSOLE and CLOSE_CONSOLE; fixed PUTS bug


# 7981:4fb228b84c1e 22-Dec-2003 Nathan Binkert <binkertn@umich.edu>

Implement GetChar()

console/Makefile:
Quick install target to copy the binary to zizzer


# 7979:681283db9634 17-Dec-2003 Nathan Binkert <binkertn@umich.edu>

Implement support for more console environment variables. There
are some default values here, but they can be changed from the
simulator itself. (Search in m5 for boot_osflags)


# 7978:9700266d52f4 14-Nov-2003 Nathan Binkert <binkertn@umich.edu>

Get the console code to compile correctly
Add support for some thigns that M5 needs
Make this better support Tru64 v5.1

console/Makefile:
I couldn't figure out the old build system since I was missing
a bunch of tools at the time, so I kinda rewrote it.
console/console.c:
Get the includes right, and make things compile
little bit of cleanup along the way
console/paljtokern.s:
formatting junk
console/printf.c:
Formatting
get const right
h/lib.h:
fiddle with the includes that we need
console/console.c:
Get the BOOTDEVICE_NAME right
Add a bit of support for grabbing console environment variables


# 7977:60051d2262c2 14-Nov-2003 Lisa Hsu <hsul@eecs.umich.edu>

Import changeset