Changeset 203dcd45 in mainline


Ignore:
Timestamp:
2006-05-05T13:56:13Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4c89b09
Parents:
de07bcf
Message:

VESA detection failure fix.

(Some headers)

Location:
arch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/boot/boot.S

    rde07bcf r203dcd45  
    398398        ljmpl $KTEXT,$(vesa_init_protect-vesa_init+VESA_INIT_SEGMENT<<4);
    399399
    400 vesa_init_protect:     
    401 .code32
    402         ret;
    403400
    4044010:      #Error no Prefered mode found
    405 
    406402        mov $0x111,%cx;
    407403        push %di;
     
    413409        cmp $VESA_OK,%al;
    414410        jnz 1f;
    415         jmp 2b;
     411        jz 2b;    /* Force relative jump */
    416412
    4174131:mov $0x0003,%ax;
    418414        int $0x10;
    419415        mov $0xffffffff,%edi; /* EGA text mode used, because of problems with VESA */
    420         jmp 8;
    421 
     416        xor %ax,%ax
     417        jz 8b;    /* Force relative jump */
     418
     419vesa_init_protect:     
     420.code32
     421        ret;
    422422
    423423vesa_idt:
  • arch/ia64/include/mm/vhpt.h

    rde07bcf r203dcd45  
     1/*
     2* Copyright (C) 2006 Jakub Vana
     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
     7* are met:
     8*
     9* - Redistributions of source code must retain the above copyright
     10*   notice, this list of conditions and the following disclaimer.
     11* - Redistributions in binary form must reproduce the above copyright
     12*   notice, this list of conditions and the following disclaimer in the
     13*   documentation and/or other materials provided with the distribution.
     14* - The name of the author may not be used to endorse or promote products
     15*   derived from this software without specific prior written permission.
     16*
     17* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     18* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     19* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     20* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     21* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     22* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     23* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     24* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     25* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     26* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     27*/
     28                                                                                                       
     29
    130#ifndef __ia64_VHPT_H__
    231#define __ia64_VHPT_H__
  • arch/ia64/src/mm/vhpt.c

    rde07bcf r203dcd45  
     1/*
     2* Copyright (C) 2006 Jakub Vana
     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
     7* are met:
     8*
     9* - Redistributions of source code must retain the above copyright
     10*   notice, this list of conditions and the following disclaimer.
     11* - Redistributions in binary form must reproduce the above copyright
     12*   notice, this list of conditions and the following disclaimer in the
     13*   documentation and/or other materials provided with the distribution.
     14* - The name of the author may not be used to endorse or promote products
     15*   derived from this software without specific prior written permission.
     16*
     17* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     18* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     19* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     20* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     21* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     22* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     23* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     24* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     25* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     26* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     27*/
     28                                                                                                       
     29
    130#include <arch/mm/vhpt.h>
    231#include <mm/frame.h>
Note: See TracChangeset for help on using the changeset viewer.