mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[ASM] Fix boot with VS 16.7.3 / MSVC 19.27
See https://developercommunity.visualstudio.com/content/problem/1180800/ml-x86-assume-directive-causes-invalid-code-genera.html
This commit is contained in:
parent
b5d2da6d35
commit
2aca4b2795
9 changed files with 4 additions and 20 deletions
|
@ -16,7 +16,6 @@ EXTERN _OslKernelIdt:FWORD
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
.code
|
||||
ASSUME nothing
|
||||
|
||||
PUBLIC _OslArchTransferToKernel
|
||||
_OslArchTransferToKernel:
|
||||
|
|
|
@ -21,7 +21,6 @@ EXTERN _BootApp32Parameters:DWORD
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
.code
|
||||
ASSUME nothing
|
||||
|
||||
PUBLIC _Archx86TransferTo32BitApplicationAsm
|
||||
_Archx86TransferTo32BitApplicationAsm:
|
||||
|
|
|
@ -55,7 +55,7 @@ EXTERN __bss_end__:DWORD
|
|||
|
||||
#ifdef _USE_ML
|
||||
.MBDATA SEGMENT PUBLIC 'DATA'
|
||||
ASSUME nothing
|
||||
//ASSUME nothing
|
||||
#endif
|
||||
|
||||
/* Align to 32 bits boundary */
|
||||
|
|
|
@ -35,11 +35,6 @@ EXTERN _DbgBreakPoint@0:PROC
|
|||
#define PIT_MODE HEX(43)
|
||||
#define SYSTEM_CTRL_PORT_A HEX(92)
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
.data
|
||||
ASSUME CS:NOTHING, DS:NOTHING, ES:NOTHING, FS:NOTHING, GS:NOTHING
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
.code
|
||||
|
|
|
@ -11,11 +11,6 @@
|
|||
|
||||
#include <ks386.inc>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
.data
|
||||
ASSUME CS:NOTHING, DS:NOTHING, ES:NOTHING, FS:NOTHING, GS:NOTHING
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
.code
|
||||
|
|
|
@ -30,7 +30,7 @@ ENDM
|
|||
/* GLOBALS *******************************************************************/
|
||||
|
||||
.data
|
||||
ASSUME nothing
|
||||
ASSUME CS:nothing
|
||||
|
||||
.align 16
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ OPTION DOTNAME
|
|||
.686P
|
||||
.XMM
|
||||
.MODEL FLAT
|
||||
ASSUME CS:NOTHING, DS:NOTHING, ES:NOTHING, FS:NOTHING, GS:NOTHING
|
||||
ASSUME FS:NOTHING, GS:NOTHING
|
||||
#endif
|
||||
|
||||
/* Explicit radix in MASM syntax */
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
PUBLIC __alldiv
|
||||
|
||||
/* DATA ********************************************************************/
|
||||
.data
|
||||
ASSUME CS:NOTHING, DS:NOTHING, ES:NOTHING, FS:NOTHING, GS:NOTHING
|
||||
|
||||
/* FUNCTIONS ***************************************************************/
|
||||
.code
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
PUBLIC _pow
|
||||
|
||||
.data
|
||||
ASSUME nothing
|
||||
ASSUME cs:nothing
|
||||
|
||||
.align ALIGNARG(4)
|
||||
ASM_TYPE_DIRECTIVE(infinity,@object)
|
||||
|
|
Loading…
Reference in a new issue