{"id":5437,"date":"2014-03-30T21:57:35","date_gmt":"2014-03-30T21:57:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-protected-mode-collection-of-common-programming-errors\/"},"modified":"2014-03-30T21:57:35","modified_gmt":"2014-03-30T21:57:35","slug":"problem-about-protected-mode-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-protected-mode-collection-of-common-programming-errors\/","title":{"rendered":"problem about protected-mode-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fcc3ceb0efe80adba3859f625cb5cdc2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nnrz<br \/>\nassembly x86 intel qemu protected-mode<br \/>\nI&#8217;m trying to create very simple operating system in 64 bits. I&#8217;m trying to enter protected mode first, but I&#8217;m failing at this point. When I do the far jump into 32 bits, the machine restarts. My code is loaded into memory with another assembly program at the address 0x100. The code is compiled with nasm and I&#8217;m running the program using qemu -fda. Here is the code I got so far: [BITS 16]jmp _start_start:clilgdt [GDT64]; Switch to protected modemov eax, cr0or al, 1bmov cr0, eax; Desactivate pag<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/460167b95ff5a363d3977ddb56cfe074?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBlueRaja &#8211; Danny Pflughoeft<br \/>\nc# internet-explorer bho protected-mode<br \/>\nI am writing an IE Extension (BHO) in C#. When run in protected mode (IE&#8217;s new UAC-compliant mode which forces all extensions to run at low-integrity), it fails because it cannot access user.config in the appdata folder. Is there some way to mark files are readable by lower-integrity processes? Failing that, is there some way to force the BHO to run at medium-level integrity? Failing that, is there some way to create a low-integrity symlink in the low-integrity folders which points to a medi<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5319da3373f2f8c2e0f652b473044e57?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJoeSlav<br \/>\njava windows-7 internet-explorer-8 applet protected-mode<br \/>\nI developed a Java applet that launches an executable file.When I launch an executable file using the applet &#8211; with &#8220;protected mode activated&#8221; &#8211; my sistem crashes.If I were to put my website in the trusted sites&#8217; list, it would work. However, I can&#8217;t do that because some of the links of my site don&#8217;t work in this mode.Does someone know how can I prevent this behavior? In other words, is it possible to run an executable in protected mode without putting the website in the trusted sites&#8217; list?Tha<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d5f91983a9d9cfb69981b6108a63b412?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nskaffman<br \/>\nwindows interrupt-handling protected-mode<br \/>\nHi to all Could we use the Int 13h (direct disk read\/write) in Windows operating systems or does the windows protected mode not allow us, and if so is there a work round? Thanks in advance.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e7d035849de657616d2da86d96d09474?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njacks<br \/>\noperating-systems virtual-memory memory-management paging protected-mode<br \/>\nWell, this may seem a common or already asked question but after searching various books, online tutorials and even here on SU, I am still puzzled at how these four beasts work together on a x86 protected mode system.What is the correct terminology that can be used when discussing about these things?As far as I understand, all these 4 concepts are completely different, but got related when we talk about protecting memory. This is where it got messed up for me!I&#8217; ll begin with swapping first.Swap<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/00e842313309b2cec2d6a7bceb568690?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmnc<br \/>\nlinux linux-kernel cpu grub protected-mode<br \/>\nI would like to ask if it is GRUB that switch the CPU to protected mode during boot up or is it the Linux kernel that does it. And also I would like to ask &#8211; is the kernel itself (vmlinuz) an ELF or is it plain binary format? Thanks.<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>nrz assembly x86 intel qemu protected-mode I&#8217;m trying to create very simple operating system in 64 bits. I&#8217;m trying to enter protected mode first, but I&#8217;m failing at this point. When I do the far jump into 32 bits, the machine restarts. My code is loaded into memory with another assembly program at the address [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5437","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5437"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5437\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}