VirtualBox

Changeset 47047 in vbox for trunk


Ignore:
Timestamp:
Jul 8, 2013 5:54:36 PM (12 years ago)
Author:
vboxsync
Message:

Two image BS2 so we can drop the test size restrictions. Rewrite the BS2 makefile to use MISCBINS and kBuild stuff instead of all custom rules.

Location:
trunk/src/VBox/VMM/testcase/Instructions
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/Instructions/InstructionTestGen.py

    r47017 r47047  
    388388## Target environments.
    389389g_dTargetEnvs = {
    390     'iprt-r3-32':   TargetEnv('iprt-r3-32', TargetEnv.ksInstrSet_32, TargetEnv.ksCpuMode_Protect, 3),
    391     'iprt-r3-64':   TargetEnv('iprt-r3-64', TargetEnv.ksInstrSet_64, TargetEnv.ksCpuMode_Long,    3),
    392     'bs2-r0-64':    TargetEnv('bs2-r0-64',  TargetEnv.ksInstrSet_64, TargetEnv.ksCpuMode_Long,    0),
     390    'iprt-r3-32':       TargetEnv('iprt-r3-32',     TargetEnv.ksInstrSet_32, TargetEnv.ksCpuMode_Protect, 3),
     391    'iprt-r3-64':       TargetEnv('iprt-r3-64',     TargetEnv.ksInstrSet_64, TargetEnv.ksCpuMode_Long,    3),
     392    'bs2-r0-64':        TargetEnv('bs2-r0-64',      TargetEnv.ksInstrSet_64, TargetEnv.ksCpuMode_Long,    0),
     393    'bs2-r0-64-big':    TargetEnv('bs2-r0-64-big',  TargetEnv.ksInstrSet_64, TargetEnv.ksCpuMode_Long,    0),
    393394};
    394395
  • trunk/src/VBox/VMM/testcase/Instructions/env-bs2-r0-64-big.mac

    r47045 r47047  
    11; $Id$
    22;; @file
    3 ; Instruction Test Environment - Boot Sector Type 2, Ring-0, 64-Bit.
     3; Instruction Test Environment - Big Boot Sector Type 2, Ring-0, 64-Bit.
    44;
    55
     
    3232%define RTCCPTR_PRE     qword
    3333
    34 %include "env-bs2-r0.mac"
     34%include "env-bs2-r0-big.mac"
    3535
  • trunk/src/VBox/VMM/testcase/Instructions/env-bs2-r0-big.mac

    r47045 r47047  
    11; $Id$
    22;; @file
    3 ; Instruction Test Environment - Boot Sector Type 2, Ring-0.
     3; Instruction Test Environment - Big Boot Sector Type 2, Ring-0.
    44;
    55
     
    1616;
    1717
    18 %ifndef ___env_bs2_r0_mac
    19 %define ___env_bs2_r0_mac
     18%ifndef ___env_bs2_r0_big_mac
     19%define ___env_bs2_r0_big_mac
     20
     21;
     22; Include the BS2 API for BIG images.
     23;
     24%include "bootsector2-api.mac"
    2025
    2126
     
    4853
    4954;; Call RTTestISub like function.
    50 %define VBINSTST_CALL_FN_SUB_TEST   call TMPL_NM_CMN(TestSub)
     55%define VBINSTST_CALL_FN_SUB_TEST   call [TMPL_NM_CMN(g_pfnTestSub) xWrtRIP]
    5156
    5257;; Call RTTestIFailure like function with simple message.
    53 %define VBINSTST_CALL_FN_FAILURE    call TMPL_NM_CMN(TestFailedF)
     58%define VBINSTST_CALL_FN_FAILURE    call [TMPL_NM_CMN(g_pfnTestFailedF) xWrtRIP]
    5459
    5560;; Call RTTestIFailure like function with format message + 1 arg.
    56 %define VBINSTST_CALL_FN_FAILURE_1  call TMPL_NM_CMN(TestFailedF)
     61%define VBINSTST_CALL_FN_FAILURE_1  call [TMPL_NM_CMN(g_pfnTestFailedF) xWrtRIP]
    5762
    5863;; Call RTTestIFailure like function with format message + 2 args.
    59 %define VBINSTST_CALL_FN_FAILURE_2  call TMPL_NM_CMN(TestFailedF)
     64%define VBINSTST_CALL_FN_FAILURE_2  call [TMPL_NM_CMN(g_pfnTestFailedF) xWrtRIP]
    6065
    6166;; Call RTTestIFailure like function with format message + 3 args.
    62 %define VBINSTST_CALL_FN_FAILURE_3  call TMPL_NM_CMN(TestFailedF)
     67%define VBINSTST_CALL_FN_FAILURE_3  call [TMPL_NM_CMN(g_pfnTestFailedF) xWrtRIP]
    6368
    6469;; Call RTTestIFailure like function with format message + 4 args.
    65 %define VBINSTST_CALL_FN_FAILURE_4  call TMPL_NM_CMN(TestFailedF)
     70%define VBINSTST_CALL_FN_FAILURE_4  call [TMPL_NM_CMN(g_pfnTestFailedF) xWrtRIP]
    6671
    6772
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette