process.cc (5287:0ef7cfb67c97) process.cc (5567:8fc3b004b0df)
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;

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

349 DPRINTF(Sparc, "%#x - stack min\n", stack_min);
350
351 assert(window_save_base == stack_min);
352
353 // write contents to stack
354
355 // figure out argc
356 IntType argc = argv.size();
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;

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

349 DPRINTF(Sparc, "%#x - stack min\n", stack_min);
350
351 assert(window_save_base == stack_min);
352
353 // write contents to stack
354
355 // figure out argc
356 IntType argc = argv.size();
357 IntType guestArgc = TheISA::htog(argc);
357 IntType guestArgc = SparcISA::htog(argc);
358
359 //Write out the sentry void *
360 uint64_t sentry_NULL = 0;
361 initVirtMem->writeBlob(sentry_base,
362 (uint8_t*)&sentry_NULL, sentry_size);
363
364 //Write the file name
365 initVirtMem->writeString(file_name_base, filename.c_str());

--- 142 unchanged lines hidden ---
358
359 //Write out the sentry void *
360 uint64_t sentry_NULL = 0;
361 initVirtMem->writeBlob(sentry_base,
362 (uint8_t*)&sentry_NULL, sentry_size);
363
364 //Write the file name
365 initVirtMem->writeString(file_name_base, filename.c_str());

--- 142 unchanged lines hidden ---