Annotation of qemu/roms/openbios/arch/x86/builtin.c, revision 1.1

1.1     ! root        1: /* tag: openbios forth starter for builtin dictionary
        !             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 "libopenbios/sys_info.h"
        !            11: 
        !            12: /*
        !            13:  * wrap an array around the hex'ed dictionary file
        !            14:  */
        !            15: 
        !            16: /* 256K for the dictionary */
        !            17: #define DICTIONARY_SIZE (256 * 1024 / sizeof(ucell))
        !            18: #define DICTIONARY_BASE ((ucell)((char *)&forth_dictionary))
        !            19: 
        !            20: static ucell forth_dictionary[DICTIONARY_SIZE] = {
        !            21: #include "static-dict.h"
        !            22: };
        !            23: 
        !            24: void collect_multiboot_info(struct sys_info *info);
        !            25: void collect_multiboot_info(struct sys_info *info)
        !            26: {
        !            27:        info->dict_start=(unsigned long *)forth_dictionary;
        !            28:         info->dict_end = (unsigned long *)FORTH_DICTIONARY_END;
        !            29:         info->dict_last = (ucell *)((unsigned char *)forth_dictionary +
        !            30:                                             FORTH_DICTIONARY_LAST);
        !            31:         info->dict_limit = sizeof(forth_dictionary);
        !            32: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.