source: grub-pc/trunk/fuentes/include/grub/i386/coreboot/memory.h @ 22

Last change on this file since 22 was 22, checked in by mabarracus, 4 years ago

updated version and apply net.ifnames=0 into debian/rules

File size: 1.5 KB
Line 
1/* memory.h - describe the memory map */
2/*
3 *  GRUB  --  GRand Unified Bootloader
4 *  Copyright (C) 2002,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#ifndef _GRUB_MEMORY_MACHINE_LB_HEADER
21#define _GRUB_MEMORY_MACHINE_LB_HEADER      1
22
23#include <grub/symbol.h>
24
25#ifndef ASM_FILE
26#include <grub/err.h>
27#include <grub/types.h>
28#include <grub/memory.h>
29#endif
30
31#include <grub/i386/memory.h>
32#include <grub/i386/memory_raw.h>
33
34#ifndef ASM_FILE
35
36void grub_machine_mmap_init (void);
37
38static inline grub_err_t
39grub_machine_mmap_register (grub_uint64_t start __attribute__ ((unused)),
40                            grub_uint64_t size __attribute__ ((unused)),
41                            int type __attribute__ ((unused)),
42                            int handle __attribute__ ((unused)))
43{
44  return GRUB_ERR_NONE;
45}
46static inline grub_err_t
47grub_machine_mmap_unregister (int handle  __attribute__ ((unused)))
48{
49  return GRUB_ERR_NONE;
50}
51
52#endif
53
54#endif /* ! _GRUB_MEMORY_MACHINE_HEADER */
Note: See TracBrowser for help on using the repository browser.