24 lines
588 B
NASM
24 lines
588 B
NASM
;------------------------------------------------------------------------------
|
|
;
|
|
; Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
|
|
; SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
;
|
|
; Module Name:
|
|
;
|
|
; SecEntry.nasm
|
|
;
|
|
; Abstract:
|
|
;
|
|
; This is the code that goes from real-mode to protected mode.
|
|
; It consumes the reset vector.
|
|
;
|
|
;------------------------------------------------------------------------------
|
|
|
|
SECTION .text
|
|
|
|
extern ASM_PFX(SecStartup)
|
|
|
|
global ASM_PFX(_ModuleEntryPoint)
|
|
ASM_PFX(_ModuleEntryPoint):
|
|
jmp ASM_PFX(SecStartup) ; Jump to C code
|