summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/NetBoot/EfiModule.cxx
blob: e5df4a3e9d0dea463d9e8f041d0755ea5baf76eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 *	========================================================
 *
 *	NetBoot
 * 	Copyright Mahrouss Logic, all rights reserved.
 *
 * 	========================================================
 */

#include <FirmwareKit/EFI.hxx>
#include <BootKit/BootKit.hxx>

EXTERN_C Int32 EfiMain(EfiHandlePtr handle, EfiSystemTable* SystemTable) 
{
  InitEFI(ST);
  InitGOP();

  /// - Find a network drive called "/OnlineInstall"
  /// - Download our image
  /// - Boot from it.

  BTextWriter writer;
  writer.Write(L"NetBoot.exe: Updating from OTP...\r\n");

  return kEfiOk;
}