;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;
MODULES
;  Name            Path                                           Memory Type
;  --------------  ---------------------------------------------  -----------

; @CESYSGEN IF CE_MODULES_DEVICE

    ; @CESYSGEN IF CE_MODULES_GIISR
        GIISR.dll       $(_FLATRELEASEDIR)\GIISR.dll                  NK  SHK
    ; @CESYSGEN ENDIF CE_MODULES_GIISR

    ; @CESYSGEN IF CE_MODULES_DEVICE
        dma8237_x86_ms_v1.dll  $(_FLATRELEASEDIR)\dma8237_x86_ms_v1.dll    NK SHK
    ; @CESYSGEN ENDIF CE_MODULES_DEVICE

    ; @CESYSGEN IF CE_MODULES_PCI
        IF BSP_NOPCIBUS !
            PCIbus.dll      $(_FLATRELEASEDIR)\PCIbus.dll                  NK SHK

            ; @CESYSGEN IF CE_MODULES_USBD
                ; USB drivers
                IF BSP_NOUSB !
                     IF BSP_USB_UHCI
                        uhci.dll       $(_FLATRELEASEDIR)\uhci.dll                     NK SHK
                     ENDIF BSP_USB_UHCI
                     IF BSP_USB_OHCI
                         ohci2.dll       $(_FLATRELEASEDIR)\ohci2.dll                   NK SHK
                     ENDIF BSP_USB_OHCI
                     IF BSP_USB_EHCI
                         ehci.dll       $(_FLATRELEASEDIR)\ehci.dll                     NK SHK
                     ENDIF BSP_USB_EHCI
                ENDIF BSP_NOUSB !
            ; @CESYSGEN ENDIF CE_MODULES_USBD

            ; @CESYSGEN IF CE_MODULES_WAVEAPI
                IF BSP_NOAUDIO !
                    IF BSP_WAVEDEV_ES1371
                        es1371.dll          $(_FLATRELEASEDIR)\es1371.dll             NK SHK
                    ENDIF BSP_WAVEDEV_ES1371
                    IF BSP_WAVEDEV_ENSONIQ
                        ensoniq.dll         $(_FLATRELEASEDIR)\ensoniq.dll            NK SHK
                    ENDIF BSP_WAVEDEV_ENSONIQ
                    IF BSP_WAVEDEV_WAVEDEV2_ENSONIQ
                        wavedev2_ensoniq.dll $(_FLATRELEASEDIR)\wavedev2_ensoniq.dll  NK SHK
                    ENDIF BSP_WAVEDEV_WAVEDEV2_ENSONIQ
                ENDIF BSP_NOAUDIO !
            ; @CESYSGEN ENDIF CE_MODULES_WAVEAPI

            ; @CESYSGEN IF CE_MODULES_PCCARD
                IF BSP_NOPCCARD !
                    IF BSP_PCCARD_I82365
                        pcc_i82365.dll      $(_FLATRELEASEDIR)\pcc_i82365.dll          NK SHK
                    ENDIF BSP_PCCARD_I82365
                    IF BSP_PCCARD_TIPCCARD
                        pcc_tipccard.dll      $(_FLATRELEASEDIR)\pcc_tipccard.dll      NK SHK
                    ENDIF BSP_PCCARD_TIPCCARD
                    pcc_serv.dll        $(_FLATRELEASEDIR)\pcc_serv.dll            NK SHK
                    pcmcia.dll          $(_FLATRELEASEDIR)\pcc_pcm.dll             NK SHK
                ENDIF BSP_NOPCCARD !
            ; @CESYSGEN ENDIF CE_MODULES_PCCARD

        ENDIF BSP_NOPCIBUS !
    ; @CESYSGEN ENDIF CE_MODULES_PCI

    ; @CESYSGEN IF CE_MODULES_KEYBD || CE_MODULES_POINTER
        #if ! (defined BSP_NOKEYBD && defined BSP_NOMOUSE)
            #if ! (defined IMGPPC || defined IMGTPC)
                IF LOCALE=0411 !
                    IF LOCALE=0412 !
                        IF BSP_KEYBD_NOP
                            ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopUS.dll           NK SHK
                                ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                        ENDIF BSP_KEYBD_NOP
                        IF BSP_KEYBD_NOP !
                            ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                                IF BSP_PS2_TOUCH
                                  kbdmouse.dll        $(_FLATRELEASEDIR)\Kbdmy8042US.dll        NK SHK
                                ELSE
                                  kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042US.dll          NK SHK
                                ENDIF BSP_PS2_TOUCH
                            ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                        ENDIF BSP_KEYBD_NOP
                    ENDIF LOCALE=0412 !
                ENDIF LOCALE=0411 !

                IF LOCALE=0411
                    IF BSP_KEYBD_JPN1
                        IF BSP_KEYBD_NOP
                            ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopJpn1.dll         NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                        ENDIF BSP_KEYBD_NOP
                        IF BSP_KEYBD_NOP !
                            ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042Jpn1.dll        NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                        ENDIF BSP_KEYBD_NOP !
                    ENDIF BSP_KEYBD_JPN1
                    IF BSP_KEYBD_JPN1 !
                        IF BSP_KEYBD_NOP
                        ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                            kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopJpn2.dll         NK SHK
                        ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                        ENDIF BSP_KEYBD_NOP
                        IF BSP_KEYBD_NOP !
                            ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042Jpn2.dll        NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                        ENDIF BSP_KEYBD_NOP !
                    ENDIF BSP_KEYBD_JPN1 !
                ENDIF LOCALE=0411

                IF LOCALE=0412
                    IF BSP_KEYBD_NOP
                        ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                            kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopKor.dll          NK SHK
                        ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                    ENDIF BSP_KEYBD_NOP
                    IF BSP_KEYBD_NOP !
                        ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                            kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042Kor.dll         NK SHK
                        ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                    ENDIF BSP_KEYBD_NOP !
                ENDIF LOCALE=0412
            #endif ! (defined IMGPPC || defined IMGTPC)

            #if (defined IMGPPC || defined IMGTPC)
                IF IMGPPC
{BEGIN MULTILANG}
{SKIPLANG 0411 0412}
                    ; @BEGINASSOC LOCALE %LANGID%
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @ENDASSOC
{END MULTILANG}
                ENDIF IMGPPC

                IF IMGTPC
                    ; @XIPREGION IF OEM_COMMONNONEA
                        ;Needs to go to CommonNonEA package via SYSGEN tags.  mapping the file name will
                        ;not work here because they also need to go to the 0804 and 0404 language packages.
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @XIPREGION ENDIF OEM_COMMONNONEA

                    ; @BEGINASSOC LOCALE 0404
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @ENDASSOC

                    ; @BEGINASSOC LOCALE 0804
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @ENDASSOC
                ENDIF IMGTPC

                ; @BEGINASSOC LOCALE 0411
IF BSP_KEYBD_JPN1
                    kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042Jpn1.dll  NK  SHK
ENDIF ; BSP_KEYBD_JPN1
IF BSP_KEYBD_JPN1 !
                    kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042Jpn2.dll  NK  SHK
ENDIF ; BSP_KEYBD_JPN1 !
                ; @ENDASSOC
                ; @BEGINASSOC LOCALE 0412
                    kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042Kor.dll   NK  SHK
                ; @ENDASSOC
            #endif (defined IMGPPC || defined IMGTPC)
        #endif !(defined BSP_NOKEYBD && defined BSP_NOMOUSE)
    ; @CESYSGEN ENDIF CE_MODULES_KEYBD || CE_MODULES_POINTER

    ; @CESYSGEN IF CE_MODULES_SERIAL
        IF BSP_NOSERIAL !
                ; The built-in com16550 driver supports any number of 16550 ports.
                    com16550.dll    $(_FLATRELEASEDIR)\com16550.dll               NK SHQ
                    isr16550.dll    $(_FLATRELEASEDIR)\isr16550.dll               NK SHK

                ; @CESYSGEN IF CE_MODULES_IRDASTK
                IF BSP_NOSIR !
                        ; SIR - Serial Irda NDIS miniport driver
                        irsir.dll       $(_FLATRELEASEDIR)\irsir.dll                NK SHK
                ENDIF BSP_NOSIR !
                ; @CESYSGEN ENDIF CE_MODULES_IRDASTK

        ENDIF BSP_NOSERIAL !
    ; @CESYSGEN ENDIF CE_MODULES_SERIAL

    ; @CESYSGEN IF CE_MODULES_PARALLEL
        IF BSP_NOPARALLEL !
            ;  Parallel Port Driver
            parallel.dll    $(_FLATRELEASEDIR)\parallel.dll               NK SHK
        ENDIF BSP_NOPARALLEL !
    ; @CESYSGEN ENDIF CE_MODULES_PARALLEL

    ; @CESYSGEN IF CE_MODULES_BATTDRVR
        IF BSP_NOBATTERY !
            battdrvr.dll        $(_FLATRELEASEDIR)\battdrvr.dll           NK SHK
        ENDIF BSP_NOBATTERY !
    ; @CESYSGEN ENDIF CE_MODULES_BATTDRVR

    ; @CESYSGEN IF CE_MODULES_NLEDDRVR
        IF BSP_NONLED !
            nleddrvr.dll        $(_FLATRELEASEDIR)\nleddrvr.dll           NK SHK
        ENDIF BSP_NONLED !
    ; @CESYSGEN ENDIF CE_MODULES_NLEDDRVR

; @CESYSGEN ENDIF CE_MODULES_DEVICE

; @CESYSGEN IF CE_MODULES_DISPLAY
    IF BSP_NODISPLAY !
        IF BSP_DISPLAY_NOP
            ; MGDI NOP Display driver
            ddi.dll         $(_FLATRELEASEDIR)\ddi_nop.dll                NK SHK
        ENDIF BSP_DISPLAY_NOP

    ENDIF BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY

; @CESYSGEN IF CE_MODULES_SDNPCID
    sdnpcid.dll         $(_FLATRELEASEDIR)\sdnpcid.dll            NK SHK
; @CESYSGEN ENDIF CE_MODULES_SDNPCID

; @CESYSGEN IF CE_MODULES_ENUMFASLPCI
    enumfaslpci.dll   $(_FLATRELEASEDIR)\enumfaslpci.dll          NK SHK
; @CESYSGEN ENDIF CE_MODULES_ENUMFASLPCI

; @CESYSGEN IF CE_MODULES_FASLD
    fasld.dll         $(_FLATRELEASEDIR)\fasld.dll                NK SHK
; @CESYSGEN ENDIF CE_MODULES_FASLD

; @CESYSGEN IF CE_MODULES_RAMDISK
    ramdisk.dll         $(_FLATRELEASEDIR)\ramdisk.dll            NK  SHK
; @CESYSGEN ENDIF CE_MODULES_RAMDISK

; @CESYSGEN IF CELLCORE_MODULES_RIL
    IF IMGFAKERIL
        fakeril.dll                     $(_FLATRELEASEDIR)\fakeril.dll                  NK  SHK
        IF IMGFAKERILNETWORK
            fakeril_intermediate.dll    $(_FLATRELEASEDIR)\fakeril_intermediate.dll     NK  SHK
        ENDIF ; IMGFAKERILNETWORK
    ELSE
        ; @XIPREGION IF PLATFORM_MODULES_RIL
            IF IMGNORILTSP !
                IF IMGTTPCOM
                    rilgsm.dll          $(_FLATRELEASEDIR)\rilttpcom.dll                NK  SHK
                    ttpmux.dll          $(_FLATRELEASEDIR)\ttpmux.dll                   NK  SHK
                    IF IMGTTPCOM_TTPGENIE
                        ttpgenie.dll    $(_FLATRELEASEDIR)\ttpgenie.dll                 NK  SHK
                    ENDIF ; IMGTTPCOM_TTPGENIE
                ENDIF IMGTTPCOM
                IF IMGTTPCOM !
                    IF IMGENFORA
                        rilgsm.dll          $(_FLATRELEASEDIR)\rilenfora.dll            NK  SHK
                    ENDIF IMGENFORA
                ENDIF IMGTTPCOM !
            ENDIF IMGNORILTSP !
        ; @XIPREGION ENDIF PLATFORM_MODULES_RIL
    ENDIF IMGFAKERIL
; @CESYSGEN ENDIF CELLCORE_MODULES_RIL


IF BSP_VORTEX86DX_AUTOLAUNCH
	AutoLaunch.exe  $(_FLATRELEASEDIR)\AutoLaunch.exe               NK
ENDIF BSP_VORTEX86DX_AUTOLAUNCH


FILES
;  Name            Path                                           Memory Type
;  --------------  ---------------------------------------------  -----------

; @CESYSGEN IF CE_MODULES_DEVICE
; @CESYSGEN ENDIF CE_MODULES_DEVICE


IF BSP_R6040
  R6040.DLL            $(_FLATRELEASEDIR)\R6040.DLL               NK SH
ENDIF BSP_R6040

  regedit.exe          $(_FLATRELEASEDIR)\regedit.exe             NK S

IF BSP_DX3VGA
  DDI.DLL              $(_FLATRELEASEDIR)\DDI_RDC.DLL             NK SHK
  VBIOS.ROM            $(_FLATRELEASEDIR)\VBIOS.ROM               NK U
ENDIF BSP_DX3VGA

IF BSP_HD_AUDIO
  ich_hda.dll          $(_FLATRELEASEDIR)\ich_hda.dll             NK SHK
ENDIF BSP_HD_AUDIO

IF BSP_PS2_TOUCH
  ps2touch.dll         $(_FLATRELEASEDIR)\ps2touch.dll            NK
calbration_pstouch.exe $(_FLATRELEASEDIR)\calbration_pstouch.exe  NK
  Calbration.lnk       $(_FLATRELEASEDIR)\Calbration.dat          NK S
  kbdmouse.dll         $(_FLATRELEASEDIR)\Kbdmy8042US.dll         NK SHK
ENDIF BSP_PS2_TOUCH

IF BSP_RTL_GIGA
  rtcenic.dll        $(_FLATRELEASEDIR)\rtcenic.dll               NK SHK
ENDIF BSP_RTL_GIGA


