simple_thread.hh (3172:2c84db071850) | simple_thread.hh (3276:dc3cd126b479) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 363 unchanged lines hidden (view full) --- 372 return regs.readPC(); 373 } 374 375 void setPC(uint64_t val) 376 { 377 regs.setPC(val); 378 } 379 | 1/* 2 * Copyright (c) 2001-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; --- 363 unchanged lines hidden (view full) --- 372 return regs.readPC(); 373 } 374 375 void setPC(uint64_t val) 376 { 377 regs.setPC(val); 378 } 379 |
380 uint64_t readMicroPC() 381 { 382 return microPC; 383 } 384 385 void setMicroPC(uint64_t val) 386 { 387 microPC = val; 388 } 389 |
|
380 uint64_t readNextPC() 381 { 382 return regs.readNextPC(); 383 } 384 385 void setNextPC(uint64_t val) 386 { 387 regs.setNextPC(val); 388 } 389 | 390 uint64_t readNextPC() 391 { 392 return regs.readNextPC(); 393 } 394 395 void setNextPC(uint64_t val) 396 { 397 regs.setNextPC(val); 398 } 399 |
400 uint64_t readNextMicroPC() 401 { 402 return nextMicroPC; 403 } 404 405 void setNextMicroPC(uint64_t val) 406 { 407 nextMicroPC = val; 408 } 409 |
|
390 uint64_t readNextNPC() 391 { 392 return regs.readNextNPC(); 393 } 394 395 void setNextNPC(uint64_t val) 396 { 397 regs.setNextNPC(val); --- 70 unchanged lines hidden --- | 410 uint64_t readNextNPC() 411 { 412 return regs.readNextNPC(); 413 } 414 415 void setNextNPC(uint64_t val) 416 { 417 regs.setNextNPC(val); --- 70 unchanged lines hidden --- |