~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to kern/i386/efi/init.c

Tags: upstream-1.99~20101122
ImportĀ upstreamĀ versionĀ 1.99~20101122

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* init.c - initialize an x86-based EFI system */
2
 
/*
3
 
 *  GRUB  --  GRand Unified Bootloader
4
 
 *  Copyright (C) 2006,2007  Free Software Foundation, Inc.
5
 
 *
6
 
 *  GRUB is free software: you can redistribute it and/or modify
7
 
 *  it under the terms of the GNU General Public License as published by
8
 
 *  the Free Software Foundation, either version 3 of the License, or
9
 
 *  (at your option) any later version.
10
 
 *
11
 
 *  GRUB is distributed in the hope that it will be useful,
12
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 *  GNU General Public License for more details.
15
 
 *
16
 
 *  You should have received a copy of the GNU General Public License
17
 
 *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
18
 
 */
19
 
 
20
 
#include <grub/types.h>
21
 
#include <grub/misc.h>
22
 
#include <grub/mm.h>
23
 
#include <grub/err.h>
24
 
#include <grub/dl.h>
25
 
#include <grub/cache.h>
26
 
#include <grub/kernel.h>
27
 
#include <grub/efi/efi.h>
28
 
#include <grub/i386/tsc.h>
29
 
 
30
 
void
31
 
grub_machine_init (void)
32
 
{
33
 
  grub_efi_init ();
34
 
  grub_tsc_init ();
35
 
}
36
 
 
37
 
void
38
 
grub_machine_fini (void)
39
 
{
40
 
  grub_efi_fini ();
41
 
}
42
 
 
43
 
void
44
 
grub_machine_set_prefix (void)
45
 
{
46
 
  grub_efi_set_prefix ();
47
 
}
48
 
 
49
 
void
50
 
grub_arch_sync_caches (void *address __attribute__ ((unused)),
51
 
                       grub_size_t len __attribute__ ((unused)))
52
 
{
53
 
}