aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorUdi Finkelstein <github@udifink.com>2017-09-26 20:34:24 +0300
committerUdi Finkelstein <github@udifink.com>2017-09-26 20:34:24 +0300
commite951ac0dfba554a86331b0863f7bda81effef10d (patch)
tree1bf85e76f6258af1779520e8fda1c196ea758f7f /misc
parent6ddc6a7af42d371aa7c08505d82b30628372a16c (diff)
downloadyosys-e951ac0dfba554a86331b0863f7bda81effef10d.tar.gz
yosys-e951ac0dfba554a86331b0863f7bda81effef10d.tar.bz2
yosys-e951ac0dfba554a86331b0863f7bda81effef10d.zip
$size() now works correctly for all cases!
It seems the issues was that AST_MULTIRANGE is converted into a multirange_dimensions[] array on the AST_MEMORY node directly.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions
id='n89' href='#n89'>89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
/*
 * Copyright (C) 2005 Hollis Blanchard <hollisb@us.ibm.com>, IBM Corporation
 * Copyright (C) 2006 Isaku Yamahata <yamahata at valinux co jp>
 *                    VA Linux Systems Japan. K.K.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */

#ifndef __XEN_GDBSTUB_H__
#define __XEN_GDBSTUB_H__

#include <asm/atomic.h>
#include <asm/page.h>

#ifdef CRASH_DEBUG

struct gdb_context {
    int                 serhnd;           /* handle on our serial line */
    int                 console_steal_id; /* handle on stolen console */
    bool_t              currently_attached;
    atomic_t            running;
    unsigned long       connected;
    u8                  signum;

    char                in_buf[PAGE_SIZE];
    unsigned long       in_bytes;

    char                out_buf[PAGE_SIZE];