{"thread":{"id":"4400","subject":"Using pickaxe to track changed symbol CR4_FEATURES_ADDR","startedAt":"2006-06-05T10:26:27Z","lastAt":"2006-06-05T20:16:31Z","messageCount":5,"participants":["Thomas Glanzmann","Andreas Ericsson","Junio C Hamano","Randy.Dunlap"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"21255","messageId":"20060605102627.GB24346@cip.informatik.uni-erlangen.de","threadId":"4400","inReplyTo":null,"subject":"Using pickaxe to track changed symbol CR4_FEATURES_ADDR","fromName":"Thomas Glanzmann","fromEmail":"sithglan@stud.uni-erlangen.de","sentAt":"2006-06-05T10:26:27Z","receivedAt":"2006-06-05T10:26:27Z","isPatch":false,"sender":{"key":"sithglan@stud.uni-erlangen.de","avatar":null},"body":"Hello,\nI am looking for the symbol CR4_FEATURES_ADDR which must be gone in one\nof the last kernel revision. Now how I do use pickaxe to track any\nchanges that involve my missing symbol? Or is there a better way to\ntrack that change down?\n\n        Thomas\n"},{"id":"21258","messageId":"448426FA.1090204@op5.se","threadId":"4400","inReplyTo":"20060605102627.GB24346@cip.informatik.uni-erlangen.de","subject":"Re: Using pickaxe to track changed symbol CR4_FEATURES_ADDR","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2006-06-05T12:43:38Z","receivedAt":"2006-06-05T12:43:38Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Thomas Glanzmann wrote:\n> Hello,\n> I am looking for the symbol CR4_FEATURES_ADDR which must be gone in one\n> of the last kernel revision. Now how I do use pickaxe to track any\n> changes that involve my missing symbol? Or is there a better way to\n> track that change down?\n> \n\n$ git whatchanged -S'CR4_FEATURES_ADDR'\n\nlast time I checked, but that was 10 days and an immense amount of cheap \nturkish alcohol ago so it's quite possible that I'm wrong.\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"},{"id":"21276","messageId":"7v8xob4bft.fsf@assigned-by-dhcp.cox.net","threadId":"4400","inReplyTo":"20060605102627.GB24346@cip.informatik.uni-erlangen.de","subject":"Re: Using pickaxe to track changed symbol CR4_FEATURES_ADDR","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-06-05T20:03:34Z","receivedAt":"2006-06-05T20:03:34Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thomas Glanzmann <sithglan@stud.uni-erlangen.de> writes:\n\n> I am looking for the symbol CR4_FEATURES_ADDR which must be gone in one\n> of the last kernel revision. Now how I do use pickaxe to track any\n> changes that involve my missing symbol? Or is there a better way to\n> track that change down?\n\nNone of the major recent versions seem to have the symbol.\n\n\t: gitster; git grep -e CR4_FEATURES_ADDR \\\n        \tv2.6.12-rc2 v2.6.12 v2.6.13 v2.6.14 v2.6.15 \\\n        \tv2.6.16\n\nand I did not get any google hits for \"CR4_FEATURES_ADDR\".  Are\nyou spelling it right?\n"},{"id":"21278","messageId":"20060605131151.b8878c7c.rdunlap@xenotime.net","threadId":"4400","inReplyTo":"7v8xob4bft.fsf@assigned-by-dhcp.cox.net","subject":"Re: Using pickaxe to track changed symbol CR4_FEATURES_ADDR","fromName":"Randy.Dunlap","fromEmail":"rdunlap@xenotime.net","sentAt":"2006-06-05T20:11:51Z","receivedAt":"2006-06-05T20:11:51Z","isPatch":false,"sender":{"key":"rdunlap@xenotime.net","avatar":null},"body":"On Mon, 05 Jun 2006 13:03:34 -0700 Junio C Hamano wrote:\n\n> Thomas Glanzmann <sithglan@stud.uni-erlangen.de> writes:\n> \n> > I am looking for the symbol CR4_FEATURES_ADDR which must be gone in one\n> > of the last kernel revision. Now how I do use pickaxe to track any\n> > changes that involve my missing symbol? Or is there a better way to\n> > track that change down?\n> \n> None of the major recent versions seem to have the symbol.\n> \n> \t: gitster; git grep -e CR4_FEATURES_ADDR \\\n>         \tv2.6.12-rc2 v2.6.12 v2.6.13 v2.6.14 v2.6.15 \\\n>         \tv2.6.16\n> \n> and I did not get any google hits for \"CR4_FEATURES_ADDR\".  Are\n> you spelling it right?\n\ninclude/asm-i386/processor.h has names like:\n\n/*\n * Intel CPU features in CR4\n */\n#define X86_CR4_VME\t\t0x0001\t/* enable vm86 extensions */\n#define X86_CR4_PVI\t\t0x0002\t/* virtual interrupts flag enable */\n#define X86_CR4_TSD\t\t0x0004\t/* disable time stamp at ipl 3 */\n#define X86_CR4_DE\t\t0x0008\t/* enable debugging extensions */\n#define X86_CR4_PSE\t\t0x0010\t/* enable page size extensions */\n#define X86_CR4_PAE\t\t0x0020\t/* enable physical address extensions */\n#define X86_CR4_MCE\t\t0x0040\t/* Machine check enable */\n#define X86_CR4_PGE\t\t0x0080\t/* enable global pages */\n#define X86_CR4_PCE\t\t0x0100\t/* enable performance counters at ipl 3 */\n#define X86_CR4_OSFXSR\t\t0x0200\t/* enable fast FPU save and restore */\n#define X86_CR4_OSXMMEXCPT\t0x0400\t/* enable unmasked SSE exceptions */\n\nextern unsigned long mmu_cr4_features;\n\nstatic inline void set_in_cr4 (unsigned long mask)\n{\n\tunsigned cr4;\n\tmmu_cr4_features |= mask;\n\tcr4 = read_cr4();\n\tcr4 |= mask;\n\twrite_cr4(cr4);\n}\n\nstatic inline void clear_in_cr4 (unsigned long mask)\n{\n\tunsigned cr4;\n\tmmu_cr4_features &= ~mask;\n\tcr4 = read_cr4();\n\tcr4 &= ~mask;\n\twrite_cr4(cr4);\n}\n\n\nbut nothing exactly like you asked about.\n\n---\n~Randy\n"},{"id":"21279","messageId":"20060605201631.GD4552@cip.informatik.uni-erlangen.de","threadId":"4400","inReplyTo":"20060605131151.b8878c7c.rdunlap@xenotime.net","subject":"Re: Using pickaxe to track changed symbol CR4_FEATURES_ADDR","fromName":"Thomas Glanzmann","fromEmail":"sithglan@stud.uni-erlangen.de","sentAt":"2006-06-05T20:16:31Z","receivedAt":"2006-06-05T20:16:31Z","isPatch":false,"sender":{"key":"sithglan@stud.uni-erlangen.de","avatar":null},"body":"Hello Randy,\nI confused it. CR4_FEATURES_ADDR was in the glue code of parallels\nbinary only modules, but it sounded like a a MMU definition. Thanks a\nlot. That was why my pickaxe did not work out in the first place.\nHowever I have a workaround for the damn build problem.\n\nSee http://wwwcip.informatik.uni-erlangen.de/~sithglan/parallels/\n\nThanks,\n        Thomas\n"}]}