changeset fffe5c0f6707 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=fffe5c0f6707 description: Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/alpha-system into zizzer.eecs.umich.edu:/y/saidi/alpha-system
diffstat: system/alpha/console/console.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diffs (36 lines): diff -r 4fb228b84c1e -r fffe5c0f6707 system/alpha/console/console.c --- a/system/alpha/console/console.c Mon Dec 22 13:04:23 2003 -0500 +++ b/system/alpha/console/console.c Wed Jan 14 04:07:07 2004 -0500 @@ -1007,6 +1007,8 @@ #define CONSCB_SET_TERM_INT 0x4 #define CONSCB_SET_TERM_CTL 0x5 #define CONSCB_PROCESS_KEY 0x6 +#define CONSCB_OPEN_CONSOLE 0x7 +#define CONSCB_CLOSE_CONSOLE 0x8 #define CONSCB_OPEN 0x10 #define CONSCB_CLOSE 0x11 @@ -1132,7 +1134,7 @@ case CONSCB_PUTS: for(i = 0; i < a3; i++) - PutChar(*(char *)a2+i); + PutChar(*((char *)a2+i)); return a3; case CONSCB_GETENV: @@ -1164,6 +1166,14 @@ case CONSCB_CLOSE: break; + case CONSCB_OPEN_CONSOLE: + printf("CONSOLE OPEN\n"); + return 0; /* success */ + break; /* not rearched */ + case CONSCB_CLOSE_CONSOLE: + printf("CONSOLE CLOSE\n"); + return 0; /* success */ + break; /* not reached */ default: panic("cher (%x,%x,%x,%x)\n", a0, a1, a2, a3); _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev