~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/openbios/arch/amd64/builtin.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* tag: openbios forth starter for builtin dictionary for amd64
 
2
 *
 
3
 * Copyright (C) 2003 Stefan Reinauer
 
4
 *
 
5
 * See the file "COPYING" for further information about
 
6
 * the copyright and warranty status of this work.
 
7
 */
 
8
 
 
9
#include "config.h"
 
10
#include <asm/types.h>
 
11
#include "libopenbios/sys_info.h"
 
12
 
 
13
/*
 
14
 * wrap an array around the hex'ed dictionary file
 
15
 */
 
16
 
 
17
#include "static-dict.h"
 
18
 
 
19
void collect_multiboot_info(struct sys_info *info);
 
20
void collect_multiboot_info(struct sys_info *info)
 
21
{
 
22
        info->dict_start=(unsigned long *)forth_dictionary;
 
23
        info->dict_end=(unsigned long *)((ucell)forth_dictionary +
 
24
                        sizeof(forth_dictionary));
 
25
}