gem5.git
16 years agoMark cache-to-cache MSHRs as downstreamPending when necessary.
Steve Reinhardt [Wed, 2 Jan 2008 23:18:33 +0000 (15:18 -0800)]
Mark cache-to-cache MSHRs as downstreamPending when necessary.
Don't mark upstream MSHR as pending if downstream MSHR is already in service.

--HG--
extra : convert_revision : e1c135ff00217291db58ce8a06ccde34c403d37f

16 years agoDon't DPRINTF in the middle of a PrintReq.
Steve Reinhardt [Wed, 2 Jan 2008 22:42:42 +0000 (14:42 -0800)]
Don't DPRINTF in the middle of a PrintReq.

--HG--
extra : convert_revision : 6358c014d14a19a34111c39827b05987507544bb

16 years agoBug fix: functional cache port now needs otherPort set.
Steve Reinhardt [Wed, 2 Jan 2008 22:42:24 +0000 (14:42 -0800)]
Bug fix: functional cache port now needs otherPort set.

--HG--
extra : convert_revision : fb007df73a77535a5dba19341f7b0b32e8c99548

16 years agoAdditional comments and helper functions for PrintReq.
Steve Reinhardt [Wed, 2 Jan 2008 21:46:22 +0000 (13:46 -0800)]
Additional comments and helper functions for PrintReq.

--HG--
extra : convert_revision : 7eadf9b7db8c0289480f771271b6efe2400006d4

16 years agoAdd functional PrintReq command for memory-system debugging.
Steve Reinhardt [Wed, 2 Jan 2008 20:20:15 +0000 (12:20 -0800)]
Add functional PrintReq command for memory-system debugging.

--HG--
extra : convert_revision : 73b753e57c355b7e6873f047ddc8cb371c3136b7

16 years agoFix formatting and comments in cache_impl.hh
Steve Reinhardt [Wed, 2 Jan 2008 20:15:48 +0000 (12:15 -0800)]
Fix formatting and comments in cache_impl.hh

--HG--
extra : convert_revision : 26d71cca5420ad03e16bf174e15dabe7f902da41

16 years agoSPARC: Fix a bug where the TLB would match against the wrong entries.
Gabe Black [Tue, 1 Jan 2008 23:20:08 +0000 (18:20 -0500)]
SPARC: Fix a bug where the TLB would match against the wrong entries.

--HG--
extra : convert_revision : 631b3b6a1416121b54bd9717ca1cdccdd5b8a1eb

17 years agoCheckpointing: Fix a bug in the simulation script when restoring without standard...
Ali Saidi [Tue, 18 Dec 2007 06:52:57 +0000 (01:52 -0500)]
Checkpointing: Fix a bug in the simulation script when restoring without standard switch and change some ifs to work with the default port since every port is now connected to something.

--HG--
extra : convert_revision : 72507cf13e58465291b0dce6322e853bee5a2b89

17 years agoCPU: Update where the simple cpus read their cpu id from the thread context to init...
Ali Saidi [Sun, 16 Dec 2007 08:48:13 +0000 (03:48 -0500)]
CPU: Update where the simple cpus read their cpu id from the thread context to init() to make sure they read the right value. This fixes a bug with multi-processor full-system configurations.

--HG--
extra : convert_revision : 4f2801967a271b43817d88e147c2f80c4480b2c3

17 years agoFix minor bug in util/style.py
Steve Reinhardt [Tue, 11 Dec 2007 18:41:30 +0000 (10:41 -0800)]
Fix minor bug in util/style.py

--HG--
extra : convert_revision : d37accc884c2967d87dd267debab5afeb8b6ed85

17 years agoX86: Update the parser reference output which has mysteriously changed again?
Gabe Black [Mon, 3 Dec 2007 22:33:33 +0000 (14:33 -0800)]
X86: Update the parser reference output which has mysteriously changed again?

--HG--
extra : convert_revision : 9b1439096509633d6e9b5bc0c661608f40a63c5f

17 years agoX86: Please excuse my dear Aunt Sally. (precedence bug)
Gabe Black [Mon, 3 Dec 2007 22:32:56 +0000 (14:32 -0800)]
X86: Please excuse my dear Aunt Sally. (precedence bug)

--HG--
extra : convert_revision : 9ad4f31e7a962c3177896bcbfb93e2e54720d117

17 years agoX86: Make sure the memory index is calculated using the address size for bit test...
Gabe Black [Sun, 2 Dec 2007 09:46:38 +0000 (01:46 -0800)]
X86: Make sure the memory index is calculated using the address size for bit test instructions.

--HG--
extra : convert_revision : 9634675857dae53b5e79e49267c864a0265afde1

17 years agoX86: Fix a copy/paste mistake where the bit test instructions were using an immediate...
Gabe Black [Sun, 2 Dec 2007 09:46:29 +0000 (01:46 -0800)]
X86: Fix a copy/paste mistake where the bit test instructions were using an immediate where they should use a register.

--HG--
extra : convert_revision : b0ee80e4c7fdb58a1eb85b3bcc82a0cdaa93330a

17 years agoX86: Make the page not present panic more descriptive.
Gabe Black [Sun, 2 Dec 2007 09:46:14 +0000 (01:46 -0800)]
X86: Make the page not present panic more descriptive.

--HG--
extra : convert_revision : 9360e47adb61e164ac218f2ea231eaa60bf3229d

17 years agoX86: Start setting up the real mode data structure.
Gabe Black [Sun, 2 Dec 2007 08:04:31 +0000 (00:04 -0800)]
X86: Start setting up the real mode data structure.

--HG--
extra : convert_revision : ba6d4939d4d58da5586655c83f1617f47dc7e359

17 years agoX86: Make the 0xA0-0xA3 versions of mov use the right sized immediates.
Gabe Black [Sun, 2 Dec 2007 08:02:51 +0000 (00:02 -0800)]
X86: Make the 0xA0-0xA3 versions of mov use the right sized immediates.

--HG--
extra : convert_revision : a702403de29772618abb5bd5c5555279d91bdd59

17 years agoX86: Add in a missing "break".
Gabe Black [Sun, 2 Dec 2007 07:11:23 +0000 (23:11 -0800)]
X86: Add in a missing "break".

--HG--
extra : convert_revision : 2e48d8b0292bc3b78e4caa27dec20113d40e7d74

17 years agoX86: Actually do something for the MiscRegFile clear function.
Gabe Black [Sun, 2 Dec 2007 07:10:42 +0000 (23:10 -0800)]
X86: Actually do something for the MiscRegFile clear function.

--HG--
extra : convert_revision : 36f8abaa9d09700d8ba9e09b4a10fa4dce580f36

17 years agoX86: Move startup code to the system object to initialize a Linux system.
Gabe Black [Sun, 2 Dec 2007 07:09:56 +0000 (23:09 -0800)]
X86: Move startup code to the system object to initialize a Linux system.

--HG--
extra : convert_revision : a4796c79f41aa8b8f38bf2f628bee8f1b3af64be

17 years agoX86: Add a missing microcode file to the sconscript.
Gabe Black [Sun, 2 Dec 2007 07:07:41 +0000 (23:07 -0800)]
X86: Add a missing microcode file to the sconscript.

--HG--
extra : convert_revision : 6da8a67e07bada169abf7f10aded8a90d4e63eae

17 years agoX86: Fix a copy paste error in the bts microcode.
Gabe Black [Sun, 2 Dec 2007 07:06:52 +0000 (23:06 -0800)]
X86: Fix a copy paste error in the bts microcode.

--HG--
extra : convert_revision : c4ac007d35ac13211f9816f1104c84f2b447ddba

17 years agoX86: Implement mov from control register.
Gabe Black [Sun, 2 Dec 2007 07:06:03 +0000 (23:06 -0800)]
X86: Implement mov from control register.

--HG--
extra : convert_revision : c8280f0686a3ae6d5c405327540ad15a3a5531f9

17 years agoX86: First crack at far returns. This is grossly approximate.
Gabe Black [Sun, 2 Dec 2007 07:05:01 +0000 (23:05 -0800)]
X86: First crack at far returns. This is grossly approximate.

--HG--
extra : convert_revision : 23da0338af1f7663ae5ddf2289fb45dd32f37c42

17 years agoX86: Reorganize segmentation and implement segment selector movs.
Gabe Black [Sun, 2 Dec 2007 07:03:39 +0000 (23:03 -0800)]
X86: Reorganize segmentation and implement segment selector movs.

--HG--
extra : convert_revision : 553c3ffeda1f5312cf02493f602e7d4ba2fe66e8

17 years agoX86: Make the "fault" microop predicated.
Gabe Black [Sun, 2 Dec 2007 07:01:56 +0000 (23:01 -0800)]
X86: Make the "fault" microop predicated.

--HG--
extra : convert_revision : ded34133afcd6af1f55b8991b82bad45258069d3

17 years agoX86: Implement the LIDT instruction.
Gabe Black [Sun, 2 Dec 2007 07:01:31 +0000 (23:01 -0800)]
X86: Implement the LIDT instruction.

--HG--
extra : convert_revision : 380515e985318311632e00b13000585afb052e3b

17 years agoX86: Implement the lgdt instruction.
Gabe Black [Sun, 2 Dec 2007 07:01:17 +0000 (23:01 -0800)]
X86: Implement the lgdt instruction.

--HG--
extra : convert_revision : d1698a82df3c57cc9bbf8d5d190f271bfc7cb2e4

17 years agoX86: Implement wrbase and wrlimit for loading pseudo descriptors.
Gabe Black [Sun, 2 Dec 2007 07:00:58 +0000 (23:00 -0800)]
X86: Implement wrbase and wrlimit for loading pseudo descriptors.

--HG--
extra : convert_revision : fe03c4aed95ef12773e80cdb3d9cff68a2b20f02

17 years agoX86: Separate the effective seg base and the "hidden" seg base.
Gabe Black [Sun, 2 Dec 2007 07:00:15 +0000 (23:00 -0800)]
X86: Separate the effective seg base and the "hidden" seg base.

--HG--
extra : convert_revision : 5fcb8d94dbab7a7d6fe797277a5856903c885ad4

17 years agoSPARC: Fixes for invalidateAll and demapAll in the SPARC TLBs.
Gabe Black [Sat, 1 Dec 2007 00:49:27 +0000 (16:49 -0800)]
SPARC: Fixes for invalidateAll and demapAll in the SPARC TLBs.

--HG--
extra : convert_revision : 8de6c60b0e3e725eac11047a9d9888097dd359ff

17 years agoSPARC: Fix 32 bit register window flushing endian conversion.
Gabe Black [Fri, 30 Nov 2007 04:20:18 +0000 (20:20 -0800)]
SPARC: Fix 32 bit register window flushing endian conversion.

--HG--
extra : convert_revision : be91d6fecb44a85e983343704a098b456948af8a

17 years agoSPARC: Fix the initial stack to match what the Linux kernel does.
Gabe Black [Thu, 29 Nov 2007 08:00:26 +0000 (00:00 -0800)]
SPARC: Fix the initial stack to match what the Linux kernel does.

--HG--
extra : convert_revision : a4451710d8463e52227fd8f760ab737ea8f404b5

17 years agoSPARC: Combine the 64 and 32 bit process initialization code.
Gabe Black [Thu, 29 Nov 2007 08:00:02 +0000 (00:00 -0800)]
SPARC: Combine the 64 and 32 bit process initialization code.
Alignment is done as it was for 32 bit processes.

--HG--
extra : convert_revision : 9368ad40dcc7911f8fc7ec1468c6a28aa92d196f

17 years agomerge, no manual changes
Ali Saidi [Thu, 29 Nov 2007 05:23:14 +0000 (00:23 -0500)]
merge, no manual changes

--HG--
extra : convert_revision : 6d6b744bbdfb09e7c3092368870a4f372241f9e8

17 years agoSerialization: Fix serialization of file descriptors. Make sure open
Rick Strong [Thu, 29 Nov 2007 05:22:46 +0000 (00:22 -0500)]
Serialization: Fix serialization of file descriptors. Make sure open
file descriptors are reopened and the file pointer is in the same
place as when the checkpoint occured.

Signed-off by: Ali Saidi

--HG--
extra : convert_revision : d9d2cd388c9c02f60e1269d6845891c35f94fc47

17 years agoMake ports that aren't connected to anything fail more gracefully.
Gabe Black [Wed, 28 Nov 2007 22:39:19 +0000 (14:39 -0800)]
Make ports that aren't connected to anything fail more gracefully.

--HG--
extra : convert_revision : 3803b28fb2fdfd729f01f1a44df2ae02ef83a2fc

17 years agoimported patch pagewalker.patch
Gabe Black [Wed, 21 Nov 2007 08:04:15 +0000 (00:04 -0800)]
imported patch pagewalker.patch

--HG--
extra : convert_revision : 8ddde313f2249e1346fa51372a156f0d2ddc3b8f

17 years agoGet rid of a file that should have never been committed.
Gabe Black [Wed, 21 Nov 2007 06:51:03 +0000 (22:51 -0800)]
Get rid of a file that should have never been committed.

--HG--
extra : convert_revision : c0e678ce0ce0301bb3afff8bef4fcab7aef3c6fe

17 years agoMerge with head.
Gabe Black [Tue, 20 Nov 2007 23:38:54 +0000 (15:38 -0800)]
Merge with head.

--HG--
extra : convert_revision : c4215e516c6d82ad466db898ffeefa0233ca110e

17 years agoSimple CPU fix simple mistake in translateDataWriteAddr.
Gabe Black [Tue, 20 Nov 2007 23:37:56 +0000 (15:37 -0800)]
Simple CPU fix simple mistake in translateDataWriteAddr.

--HG--
extra : convert_revision : 6a6a7d05f62d9d9868be0707e4dc186a5f7ecf7d

17 years agoMight as well ship splash2 scripts since we get questions on the list.
Steve Reinhardt [Tue, 20 Nov 2007 15:36:49 +0000 (07:36 -0800)]
Might as well ship splash2 scripts since we get questions on the list.

--HG--
extra : convert_revision : 0bc61d239eb24956aa401bbf39470bfa81c86c29

17 years agoSerialization: Serialize SPARC PTEs last so their nameOut() calls don't interfere...
Ali Saidi [Tue, 20 Nov 2007 03:47:08 +0000 (22:47 -0500)]
Serialization: Serialize SPARC PTEs last so their nameOut() calls don't interfere with other serialization in the TLB.

--HG--
extra : convert_revision : 8a8478a200cd3c65b2ac98944d1278454811d38f

17 years agoMemory: Cache the physical memory start and size so we don't need a dynamic cast...
Ali Saidi [Mon, 19 Nov 2007 23:23:43 +0000 (18:23 -0500)]
Memory: Cache the physical memory start and size so we don't need a dynamic cast on every access.

--HG--
extra : convert_revision : d6c3e93718991e7b68248242c80d8e6ac637ac51

17 years agoCompiling: Make sure that libelf is also compiled for 64bit on OS X.
Ali Saidi [Mon, 19 Nov 2007 23:23:43 +0000 (18:23 -0500)]
Compiling: Make sure that libelf is also compiled for 64bit on OS X.

--HG--
extra : convert_revision : 9d4f7064e0aa4b6cc6a5bcf0f6fb5289047cd143

17 years agoMake EXTRAS work for relative directories.
Steve Reinhardt [Sat, 17 Nov 2007 04:10:33 +0000 (20:10 -0800)]
Make EXTRAS work for relative directories.
Also print a little feedback when processing EXTRAS.

--HG--
extra : convert_revision : 9cb324b0d5bc60a3c98af6495f16415b529e4af2

17 years agoUpdate memtest results due to new deferred-target-promotion fix.
Steve Reinhardt [Sat, 17 Nov 2007 04:10:33 +0000 (20:10 -0800)]
Update memtest results due to new deferred-target-promotion fix.
Turned out this scenario was happening, but due to other activity,
the writable block returned by the ReadResp would get downgraded
or invalidated before the "unnecessary" ReadExResp/UpgradeResp
returned, thus avoiding triggering the assertion that led us to
catch this.

--HG--
extra : convert_revision : 19dd0dbedb0227aed29da31a868ddf5ca4c50519

17 years agoTweak check for writable block fill.
Steve Reinhardt [Sat, 17 Nov 2007 04:10:33 +0000 (20:10 -0800)]
Tweak check for writable block fill.

--HG--
extra : convert_revision : c04281bcfc4cd23c7613aeccb21dc74452bcc951

17 years agoFix bug on exclusive response to ReadReq with pending WriteReq.
Steve Reinhardt [Sat, 17 Nov 2007 04:10:32 +0000 (20:10 -0800)]
Fix bug on exclusive response to ReadReq with pending WriteReq.

--HG--
extra : convert_revision : 5429cd7ca84cf6348813a4607fa16f76aa5df7e0

17 years agoadd back in clobbered MIPS fix for g++ 4.2
Korey Sewell [Sat, 17 Nov 2007 05:02:56 +0000 (00:02 -0500)]
add back in clobbered MIPS fix for g++ 4.2

--HG--
extra : convert_revision : 80ad1cc32c6e59925526abd274132e4f9e35f0c1

17 years agogo back and fix up MIPS copyright headers
Korey Sewell [Sat, 17 Nov 2007 02:32:22 +0000 (21:32 -0500)]
go back and fix up MIPS copyright headers

--HG--
extra : convert_revision : 886e762e13b7a05d6d8a14bde6c2a3567c32a4d1

17 years agomove initCPU, processInterrupts declaration to core_specific file.
Korey Sewell [Sat, 17 Nov 2007 02:31:37 +0000 (21:31 -0500)]
move initCPU, processInterrupts declaration to core_specific file.

--HG--
extra : convert_revision : 9bc88380f05f86c68117280f555c77eb4c627d7b

17 years agoAccidently kept hardcoded memory value in merge. Remove that and now ALPHA_FS quick...
Korey Sewell [Sat, 17 Nov 2007 00:37:21 +0000 (19:37 -0500)]
Accidently kept hardcoded memory value in merge. Remove that and now ALPHA_FS quick regressions pass

--HG--
extra : convert_revision : 12582bef9317cd102cafdea9001f45651d34851f

17 years agoGabe's 32-bit X86 fix merge
Korey Sewell [Sat, 17 Nov 2007 00:16:01 +0000 (19:16 -0500)]
Gabe's 32-bit X86 fix merge

--HG--
extra : convert_revision : 6f79c5c785c93d6caef2ec26961b652cd51e30fe

17 years agocompile-time fix for setMipsOptions function
Korey Sewell [Sat, 17 Nov 2007 00:15:20 +0000 (19:15 -0500)]
compile-time fix for setMipsOptions function

--HG--
extra : convert_revision : e008f6d314d4891cb6ddc9cbf96fbcc6eee53b35

17 years agoX86: Fix 32 bit compilation.
Gabe Black [Fri, 16 Nov 2007 22:18:47 +0000 (14:18 -0800)]
X86: Fix 32 bit compilation.

--HG--
extra : convert_revision : d16d68731a8480080ec6b8da3ebda8567e115a30

17 years agoremove unnecessary namespace
Korey Sewell [Fri, 16 Nov 2007 01:52:59 +0000 (20:52 -0500)]
remove unnecessary namespace

--HG--
extra : convert_revision : 8936fe2246ca659a6dfe0835f66aa8232ed427de

17 years agoadd thread id to misc. reg functions
Korey Sewell [Fri, 16 Nov 2007 01:35:49 +0000 (20:35 -0500)]
add thread id to misc. reg functions

--HG--
extra : convert_revision : 35d073d1279947d943a0290832e09a5268dd0b76

17 years agoadd MicroPC functions back to thread context
Korey Sewell [Fri, 16 Nov 2007 01:35:31 +0000 (20:35 -0500)]
add MicroPC functions back to thread context

--HG--
extra : convert_revision : a9cfd2829c4aec191f5f9ec6ce7b5d1dccc92af1

17 years agoadd microPC stuff back in. got deleted on changeset propragation somehow.
Korey Sewell [Fri, 16 Nov 2007 00:48:53 +0000 (19:48 -0500)]
add microPC stuff back in. got deleted on changeset propragation somehow.

--HG--
extra : convert_revision : 5e89484b2ef21457ffba35ef959df999a28c5676

17 years agoput the flattenIndex stuff back in O3 AND put fatal() back in faults
Korey Sewell [Thu, 15 Nov 2007 21:38:09 +0000 (16:38 -0500)]
put the flattenIndex stuff back in O3 AND put fatal() back in faults

--HG--
extra : convert_revision : 16fb8d7f3fbc5f8f1fc3ed34427c3d90a3125ad0

17 years agomerge Ali's config change...
Korey Sewell [Thu, 15 Nov 2007 19:21:42 +0000 (14:21 -0500)]
merge Ali's config change...

--HG--
extra : convert_revision : ada34ebc392d84f1225b4ff3e25f353396aa102f

17 years agofix MIPS headers
Korey Sewell [Thu, 15 Nov 2007 19:21:01 +0000 (14:21 -0500)]
fix MIPS headers

--HG--
extra : convert_revision : 2870a146a1be0e8c80878090f39c0eaa15d2eb13

17 years agoadd setMipsOptions function for MIPS usage
Korey Sewell [Thu, 15 Nov 2007 19:20:41 +0000 (14:20 -0500)]
add setMipsOptions function for MIPS usage

--HG--
extra : convert_revision : 42909d66a46201757cbdb14f75cccbd6b27d1f18

17 years agoadd core specific parameter to BaseCPU params
Korey Sewell [Thu, 15 Nov 2007 19:18:56 +0000 (14:18 -0500)]
add core specific parameter to BaseCPU params

--HG--
extra : convert_revision : 15c5995e3acf23a45c712891fd06ef273584f7e8

17 years agoAdd CoreSpecific type to all archs
Korey Sewell [Thu, 15 Nov 2007 19:17:21 +0000 (14:17 -0500)]
Add CoreSpecific type to all archs

--HG--
extra : convert_revision : 659786bf6489ab6151e47fbf1f4c0a723262fce2

17 years agoConfigs: Fix for benchmarks that don't use getopt.
Ali Saidi [Thu, 15 Nov 2007 17:58:06 +0000 (12:58 -0500)]
Configs: Fix for benchmarks that don't use getopt.

--HG--
extra : convert_revision : 6cbc7bb360c282821dd9da7814e0ac8b689f5d01

17 years agoConfig: Fix some errors in the splash2 config file.
Ali Saidi [Thu, 15 Nov 2007 08:51:28 +0000 (03:51 -0500)]
Config: Fix some errors in the splash2 config file.

--HG--
extra : convert_revision : 7bcb0f039e0609f95a081ef3aba2edb1ffa742f2

17 years agoGet MIPS simple regression working. Take out unecessary functions "setShadowSet"...
Korey Sewell [Thu, 15 Nov 2007 08:10:41 +0000 (03:10 -0500)]
Get MIPS simple regression working. Take out unecessary functions "setShadowSet", "CacheOp"

--HG--
extra : convert_revision : a9ae8a7e62c27c2db16fd3cfa7a7f0bf5f0bf8ea

17 years agobranch merge
Korey Sewell [Thu, 15 Nov 2007 05:14:20 +0000 (00:14 -0500)]
branch merge

--HG--
extra : convert_revision : 1c56f3c6f2c50d642d2de5ddde83a55234455cec

17 years agoCheckpointing: Name SE page table entries better so that there isn't a problem if...
Ali Saidi [Thu, 15 Nov 2007 04:42:08 +0000 (23:42 -0500)]
Checkpointing: Name SE page table entries better so that there isn't a problem if multiple workloads are being run at once.

--HG--
extra : convert_revision : 3bac9bd7fd93fcadf764e2991c5b029f2c745c08

17 years agocomment and spacing
Korey Sewell [Wed, 14 Nov 2007 20:33:43 +0000 (15:33 -0500)]
comment and spacing

--HG--
extra : convert_revision : b3acde37bc11919700c257eae58ea9e0f66c9786

17 years agoGet MIPS_SE actually working again by actually by fixing TLB stuff and running hello...
Korey Sewell [Wed, 14 Nov 2007 11:24:47 +0000 (06:24 -0500)]
Get MIPS_SE actually working again by actually by fixing TLB stuff and running hello world

--HG--
extra : convert_revision : 0944e7661934baddca1f1a895af0b75be2d96b10

17 years agoremove unnecessary debug messages I added
Korey Sewell [Wed, 14 Nov 2007 11:18:58 +0000 (06:18 -0500)]
remove unnecessary debug messages I added

--HG--
extra : convert_revision : 5c23218fd1b899fa7fe42701f7cb2f6033f7a583

17 years agoAdd -k flag to util/regress.
Steve Reinhardt [Wed, 14 Nov 2007 02:45:51 +0000 (18:45 -0800)]
Add -k flag to util/regress.

--HG--
extra : convert_revision : 6dae828a1b6a254821095a1743325976202beec1

17 years agoAdd in files from merge-bare-iron, get them compiling in FS and SE mode
Korey Sewell [Tue, 13 Nov 2007 21:58:16 +0000 (16:58 -0500)]
Add in files from merge-bare-iron, get them compiling in FS and SE mode

--HG--
extra : convert_revision : d4e19afda897bc3797868b40469ce2ec7ec7d251

17 years agoX86: Make microcode use presegmentation RIPs and the rest of m5 use post segmentation...
Gabe Black [Tue, 13 Nov 2007 09:31:43 +0000 (01:31 -0800)]
X86: Make microcode use presegmentation RIPs and the rest of m5 use post segmentation RIPS.

--HG--
extra : convert_revision : d8cda7c8b9a2afb8a9d601b6d61529a96c5f87fe

17 years agoX86: Separate out the page table walker into it's own cc and hh.
Gabe Black [Tue, 13 Nov 2007 02:06:57 +0000 (18:06 -0800)]
X86: Separate out the page table walker into it's own cc and hh.

--HG--
extra : convert_revision : cbc3af01ca3dc911a59224a574007c5c0bcf6042

17 years agoParams: Fix check for cycles in the configuration and clarify the comments/error...
Gabe Black [Tue, 13 Nov 2007 02:06:02 +0000 (18:06 -0800)]
Params: Fix check for cycles in the configuration and clarify the comments/error message.

--HG--
extra : convert_revision : 8f35dde408fae874bcba1a248d32a22222d98c35

17 years agoX86: Fix a stupid typo where WRMSR and RDMSR were switched, and add a debug statement.
Gabe Black [Mon, 12 Nov 2007 22:39:14 +0000 (14:39 -0800)]
X86: Fix a stupid typo where WRMSR and RDMSR were switched, and add a debug statement.

--HG--
extra : convert_revision : f1eb17291f4c01f3c0fa8f99650bc1edf09d21de

17 years agoX86: Implement tlb invalidation and make it happen some of the times it should.
Gabe Black [Mon, 12 Nov 2007 22:39:07 +0000 (14:39 -0800)]
X86: Implement tlb invalidation and make it happen some of the times it should.

--HG--
extra : convert_revision : 376516d33cd539fa526c834ef2b2c33069af3040

17 years agoX86: Implement the wrcr microop which writes a control register, and some control...
Gabe Black [Mon, 12 Nov 2007 22:38:59 +0000 (14:38 -0800)]
X86: Implement the wrcr microop which writes a control register, and some control register work.

--HG--
extra : convert_revision : 3e9daef9cdd0665c033420e5b4f981649e9908ab

17 years agoX86: Implement some bit testing instructions.
Gabe Black [Mon, 12 Nov 2007 22:38:53 +0000 (14:38 -0800)]
X86: Implement some bit testing instructions.

--HG--
extra : convert_revision : 54585e276e44322be9c56af0b2eabfe8d4b3e430

17 years agoX86: Change the meaning of the sext and zext width operand, and make sext set zext...
Gabe Black [Mon, 12 Nov 2007 22:38:45 +0000 (14:38 -0800)]
X86: Change the meaning of the sext and zext width operand, and make sext set zext if the sign bit is 0.

--HG--
extra : convert_revision : 08bd7b4ff183038c016612d04ac73b20a255d141

17 years agoX86: Flesh out the opcode groups for two byte opcodes.
Gabe Black [Mon, 12 Nov 2007 22:38:38 +0000 (14:38 -0800)]
X86: Flesh out the opcode groups for two byte opcodes.

--HG--
extra : convert_revision : 4d51befd6dae4035c0eb685d33e1f5e38467c766

17 years agoX86: Work on the page table walker, TLB, and related faults.
Gabe Black [Mon, 12 Nov 2007 22:38:31 +0000 (14:38 -0800)]
X86: Work on the page table walker, TLB, and related faults.

--HG--
extra : convert_revision : 9edde958b7e571c07072785f18f9109f73b8059f

17 years agoX86: Implement a page table walker.
Gabe Black [Mon, 12 Nov 2007 22:38:24 +0000 (14:38 -0800)]
X86: Implement a page table walker.

--HG--
extra : convert_revision : 36bab5750100318faa9ba7178dc2e38590053aec

17 years agoX86: Make the micropc available through the thread context objects.
Gabe Black [Mon, 12 Nov 2007 22:38:17 +0000 (14:38 -0800)]
X86: Make the micropc available through the thread context objects.
This is necssary for fault handlers that branch to non-zero micro PCs.

--HG--
extra : convert_revision : c1cb4863d779a9f4a508d0b450e64fb7a985f264

17 years agoX86: Implement the startupCPU function.
Gabe Black [Mon, 12 Nov 2007 22:38:10 +0000 (14:38 -0800)]
X86: Implement the startupCPU function.

--HG--
extra : convert_revision : d2331a0e0bd14863e82004508558f657c5b900a2

17 years agoX86: Make some of the bits of CR0 do what they're supposed to.
Gabe Black [Mon, 12 Nov 2007 22:38:02 +0000 (14:38 -0800)]
X86: Make some of the bits of CR0 do what they're supposed to.

--HG--
extra : convert_revision : 13e79ef1ef09bd842d5e075e31f98ab2a4357901

17 years agoX86: Various fixes to indexing segmentation related registers
Gabe Black [Mon, 12 Nov 2007 22:37:54 +0000 (14:37 -0800)]
X86: Various fixes to indexing segmentation related registers

--HG--
extra : convert_revision : 3d45da3a3fb38327582cfdfb72cfc4ce1b1d31af

17 years agoSPARC: Force %g1 to be zero on process startup even though it normally already should be.
Gabe Black [Mon, 12 Nov 2007 01:23:22 +0000 (17:23 -0800)]
SPARC: Force %g1 to be zero on process startup even though it normally already should be.

--HG--
extra : convert_revision : 9feb63109e8c955b49c7e96acad1ad7c29a4349f

17 years agoAlpha: Fix a long standing bug where all code ran as PAL code in FS.
Gabe Black [Fri, 9 Nov 2007 07:50:10 +0000 (23:50 -0800)]
Alpha: Fix a long standing bug where all code ran as PAL code in FS.

--HG--
extra : convert_revision : 654a2376a601ddf91665ca627403518911b32532

17 years agoMake non Apple compilation work again. Ali may have to refix this.
Gabe Black [Fri, 9 Nov 2007 07:42:44 +0000 (23:42 -0800)]
Make non Apple compilation work again. Ali may have to refix this.

--HG--
extra : convert_revision : 0f9455643eec14034314908ee26a6d693c54a864

17 years agoISA parser: Make the isa parser generate MaxInstSrcRegs and MaxInstDestRegs.
Gabe Black [Fri, 9 Nov 2007 02:51:50 +0000 (18:51 -0800)]
ISA parser: Make the isa parser generate MaxInstSrcRegs and MaxInstDestRegs.

--HG--
extra : convert_revision : 8c35891945c6b4ebc320f0c88a7a0449f3c4b4d5

17 years agoCompiling: If possible compile a 64 bit binary on Mac OS X.
Ali Saidi [Thu, 8 Nov 2007 22:45:58 +0000 (17:45 -0500)]
Compiling: If possible compile a 64 bit binary on Mac OS X.

--HG--
extra : convert_revision : 23d7c3744bfb20adaa31c999e0478e9055b4f657

17 years agoCompiling: Fix for 64bit compile on Darwin/OSX 10.5.
Ali Saidi [Thu, 8 Nov 2007 21:11:09 +0000 (16:11 -0500)]
Compiling: Fix for 64bit compile on Darwin/OSX 10.5.

--HG--
extra : convert_revision : 1f23f7a3952f55cca8293fb43ae15db42005aeac

17 years agoTimingSimpleCPU: Add some DPRINTFs when the cpu suspends and resumes.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
TimingSimpleCPU: Add some DPRINTFs when the cpu suspends and resumes.

--HG--
extra : convert_revision : a305cf9dcaca5ed3b97499a5e24c511f4416125a

17 years agoAtomicSimpleCPU: Refactor resume() code to have a cleaner control path.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
AtomicSimpleCPU: Refactor resume() code to have a cleaner control path.

--HG--
extra : convert_revision : f27bb96850e7fb0252fb1f47c3d0860705c32884

17 years agoPython: Allow a range to be a python tuple/list.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
Python: Allow a range to be a python tuple/list.

--HG--
extra : convert_revision : 81cf805055e2f4d62e56a02ac82a0b230251f40b