1/*
2 * Copyright (c) 2003-2006 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;
--- 133 unchanged lines hidden (view full) ---
142 panic("Unimplemented trap to operating system: trap number %#x.\n", trapNum);
143 }
144}
145
146void
147X86LiveProcess::startup()
148{
149 argsInit(sizeof(IntReg), VMPageSize);
150 for(int i = 0; i < NUM_SEGMENTREGS; i++)
151 threadContexts[0]->setMiscRegNoEffect(MISCREG_ES_BASE + i, 0);
152}
153
154void
155X86LiveProcess::argsInit(int intSize, int pageSize)
156{
157 typedef M5_64_auxv_t auxv_t;
158 Process::startup();
159
--- 262 unchanged lines hidden ---
2 * Copyright (c) 2003-2006 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;
--- 133 unchanged lines hidden (view full) ---
142 panic("Unimplemented trap to operating system: trap number %#x.\n", trapNum);
143 }
144}
145
146void
147X86LiveProcess::startup()
148{
149 argsInit(sizeof(IntReg), VMPageSize);
150 for(int i = 0; i < NUM_SEGMENTREGS; i++)
151 threadContexts[0]->setMiscRegNoEffect(MISCREG_ES_BASE + i, 0);
152}
153
154void
155X86LiveProcess::argsInit(int intSize, int pageSize)
156{
157 typedef M5_64_auxv_t auxv_t;
158 Process::startup();
159
--- 262 unchanged lines hidden ---