18012Ssaidi@eecs.umich.edu/*
28029Snate@binkert.org * Copyright (c) 1993 The Hewlett-Packard Development Company
38029Snate@binkert.org * All rights reserved.
48013Sbinkertn@umich.edu *
58029Snate@binkert.org * Redistribution and use in source and binary forms, with or without
68029Snate@binkert.org * modification, are permitted provided that the following conditions are
78029Snate@binkert.org * met: redistributions of source code must retain the above copyright
88029Snate@binkert.org * notice, this list of conditions and the following disclaimer;
98029Snate@binkert.org * redistributions in binary form must reproduce the above copyright
108029Snate@binkert.org * notice, this list of conditions and the following disclaimer in the
118029Snate@binkert.org * documentation and/or other materials provided with the distribution;
128029Snate@binkert.org * neither the name of the copyright holders nor the names of its
138029Snate@binkert.org * contributors may be used to endorse or promote products derived from
148029Snate@binkert.org * this software without specific prior written permission.
158013Sbinkertn@umich.edu *
168029Snate@binkert.org * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
178029Snate@binkert.org * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
188029Snate@binkert.org * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
198029Snate@binkert.org * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
208029Snate@binkert.org * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
218029Snate@binkert.org * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
228029Snate@binkert.org * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
238029Snate@binkert.org * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
248029Snate@binkert.org * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
258029Snate@binkert.org * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
268029Snate@binkert.org * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
278013Sbinkertn@umich.edu */
288012Ssaidi@eecs.umich.edu
298013Sbinkertn@umich.edu#define	__CSERVE_LOADED	1
308012Ssaidi@eecs.umich.edu
317997Ssaidi@eecs.umich.edu/*
328013Sbinkertn@umich.edu * Console Service (cserve) sub-function codes:
337997Ssaidi@eecs.umich.edu */
347997Ssaidi@eecs.umich.edu#define CSERVE_K_LDQP           0x01
357997Ssaidi@eecs.umich.edu#define CSERVE_K_STQP           0x02
367997Ssaidi@eecs.umich.edu#define CSERVE_K_JTOPAL         0x09
377997Ssaidi@eecs.umich.edu#define CSERVE_K_WR_INT         0x0A
387997Ssaidi@eecs.umich.edu#define CSERVE_K_RD_IMPURE      0x0B
397997Ssaidi@eecs.umich.edu#define CSERVE_K_PUTC           0x0F
407997Ssaidi@eecs.umich.edu#define CSERVE_K_WR_ICSR	0x10
417997Ssaidi@eecs.umich.edu#define CSERVE_K_WR_ICCSR	0x10    /* for ev4 backwards compatibility */
427997Ssaidi@eecs.umich.edu#define CSERVE_K_RD_ICSR	0x11
437997Ssaidi@eecs.umich.edu#define CSERVE_K_RD_ICCSR	0x11    /* for ev4 backwards compatibility */
447997Ssaidi@eecs.umich.edu#define CSERVE_K_RD_BCCTL	0x12
457997Ssaidi@eecs.umich.edu#define CSERVE_K_RD_BCCFG	0x13
467997Ssaidi@eecs.umich.edu
477997Ssaidi@eecs.umich.edu#define CSERVE_K_WR_BCACHE      0x16
487997Ssaidi@eecs.umich.edu
497997Ssaidi@eecs.umich.edu#define CSERVE_K_RD_BCCFG_OFF   0x17
507997Ssaidi@eecs.umich.edu#define CSERVE_K_JTOKERN	0x18
517997Ssaidi@eecs.umich.edu
527997Ssaidi@eecs.umich.edu
53