Deleted Added
sdiff udiff text old ( 4997:e7380529bd2d ) new ( 5128:69fb816fa927 )
full compact
1/*
2 * Copyright (c) 2003-2004 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 59 unchanged lines hidden (view full) ---

68 fillStart = 0;
69 spillStart = 0;
70}
71
72void SparcLiveProcess::handleTrap(int trapNum, ThreadContext *tc)
73{
74 switch(trapNum)
75 {
76 case 0x03: //Flush window trap
77 warn("Ignoring request to flush register windows.\n");
78 break;
79 default:
80 panic("Unimplemented trap to operating system: trap number %#x.\n", trapNum);
81 }
82}
83
84void
85Sparc32LiveProcess::startup()
86{

--- 544 unchanged lines hidden (view full) ---

631 threadContexts[0]->setNextPC(prog_entry + sizeof(MachInst));
632 threadContexts[0]->setNextNPC(prog_entry + (2 * sizeof(MachInst)));
633
634 //Align the "stack_min" to a page boundary.
635 stack_min = roundDown(stack_min, pageSize);
636
637// num_processes++;
638}