process.hh (11877:5ea85692a53e) | process.hh (11886:43b882cada33) |
---|---|
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; --- 65 unchanged lines hidden (view full) --- 74{ 75 protected: 76 77 Sparc32Process(ProcessParams * params, ObjectFile *objFile) 78 : SparcProcess(params, objFile, 0) 79 { 80 // Set up stack. On SPARC Linux, stack goes from the top of memory 81 // downward, less the hole for the kernel address space. | 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; --- 65 unchanged lines hidden (view full) --- 74{ 75 protected: 76 77 Sparc32Process(ProcessParams * params, ObjectFile *objFile) 78 : SparcProcess(params, objFile, 0) 79 { 80 // Set up stack. On SPARC Linux, stack goes from the top of memory 81 // downward, less the hole for the kernel address space. |
82 stack_base = (Addr)0xf0000000ULL; | 82 memState->stackBase = (Addr)0xf0000000ULL; |
83 84 // Set up region for mmaps. | 83 84 // Set up region for mmaps. |
85 mmap_end = 0x70000000; | 85 memState->mmapEnd = 0x70000000; |
86 } 87 88 void initState(); 89 90 public: 91 92 void argsInit(int intSize, int pageSize); 93 --- 10 unchanged lines hidden (view full) --- 104{ 105 protected: 106 107 Sparc64Process(ProcessParams * params, ObjectFile *objFile) 108 : SparcProcess(params, objFile, 2047) 109 { 110 // Set up stack. On SPARC Linux, stack goes from the top of memory 111 // downward, less the hole for the kernel address space. | 86 } 87 88 void initState(); 89 90 public: 91 92 void argsInit(int intSize, int pageSize); 93 --- 10 unchanged lines hidden (view full) --- 104{ 105 protected: 106 107 Sparc64Process(ProcessParams * params, ObjectFile *objFile) 108 : SparcProcess(params, objFile, 2047) 109 { 110 // Set up stack. On SPARC Linux, stack goes from the top of memory 111 // downward, less the hole for the kernel address space. |
112 stack_base = (Addr)0x80000000000ULL; | 112 memState->stackBase = (Addr)0x80000000000ULL; |
113 114 // Set up region for mmaps. | 113 114 // Set up region for mmaps. |
115 mmap_end = 0xfffff80000000000ULL; | 115 memState->mmapEnd = 0xfffff80000000000ULL; |
116 } 117 118 void initState(); 119 120 public: 121 122 void argsInit(int intSize, int pageSize); 123 --- 13 unchanged lines hidden --- | 116 } 117 118 void initState(); 119 120 public: 121 122 void argsInit(int intSize, int pageSize); 123 --- 13 unchanged lines hidden --- |