summaryrefslogtreecommitdiff
path: root/chip/host/registers.h
blob: 087171e4ecf314e53edafe013e5258ed7915fe12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright 2013 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* Empty registers header for emulator */

/*
 * There is no register for emulator, but this file exists to prevent
 * compilation failure if any file includes registers.h
 */

#define GNAME(mname, rname)  "GC_ ## mname ## _ ## rname ## _NAME"
#define GREG32(mname, rname)	REG32(get_reg_addr(GNAME(mname, rname)))

void *get_reg_addr(const char * const reg_name);