cserve.h revision 8013
15086Sgblack@eecs.umich.edu/*
25086Sgblack@eecs.umich.edu * Copyright 1993 Hewlett-Packard Development Company, L.P.
38466Snilay@cs.wisc.edu *
45086Sgblack@eecs.umich.edu * Permission is hereby granted, free of charge, to any person
55086Sgblack@eecs.umich.edu * obtaining a copy of this software and associated documentation
67087Snate@binkert.org * files (the "Software"), to deal in the Software without
77087Snate@binkert.org * restriction, including without limitation the rights to use, copy,
87087Snate@binkert.org * modify, merge, publish, distribute, sublicense, and/or sell copies
97087Snate@binkert.org * of the Software, and to permit persons to whom the Software is
107087Snate@binkert.org * furnished to do so, subject to the following conditions:
117087Snate@binkert.org *
127087Snate@binkert.org * The above copyright notice and this permission notice shall be
137087Snate@binkert.org * included in all copies or substantial portions of the Software.
145086Sgblack@eecs.umich.edu *
157087Snate@binkert.org * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
167087Snate@binkert.org * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
177087Snate@binkert.org * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
187087Snate@binkert.org * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
197087Snate@binkert.org * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
207087Snate@binkert.org * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
217087Snate@binkert.org * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
227087Snate@binkert.org * SOFTWARE.
235086Sgblack@eecs.umich.edu */
247087Snate@binkert.org
255086Sgblack@eecs.umich.edu#define	__CSERVE_LOADED	1
265086Sgblack@eecs.umich.edu
275086Sgblack@eecs.umich.edu/*
285086Sgblack@eecs.umich.edu * Console Service (cserve) sub-function codes:
295086Sgblack@eecs.umich.edu */
305086Sgblack@eecs.umich.edu#define CSERVE_K_LDQP           0x01
315086Sgblack@eecs.umich.edu#define CSERVE_K_STQP           0x02
325086Sgblack@eecs.umich.edu#define CSERVE_K_JTOPAL         0x09
335086Sgblack@eecs.umich.edu#define CSERVE_K_WR_INT         0x0A
345086Sgblack@eecs.umich.edu#define CSERVE_K_RD_IMPURE      0x0B
355086Sgblack@eecs.umich.edu#define CSERVE_K_PUTC           0x0F
365086Sgblack@eecs.umich.edu#define CSERVE_K_WR_ICSR	0x10
375086Sgblack@eecs.umich.edu#define CSERVE_K_WR_ICCSR	0x10    /* for ev4 backwards compatibility */
385086Sgblack@eecs.umich.edu#define CSERVE_K_RD_ICSR	0x11
395086Sgblack@eecs.umich.edu#define CSERVE_K_RD_ICCSR	0x11    /* for ev4 backwards compatibility */
405086Sgblack@eecs.umich.edu#define CSERVE_K_RD_BCCTL	0x12
415647Sgblack@eecs.umich.edu#define CSERVE_K_RD_BCCFG	0x13
428466Snilay@cs.wisc.edu
438466Snilay@cs.wisc.edu#define CSERVE_K_WR_BCACHE      0x16
445086Sgblack@eecs.umich.edu
455135Sgblack@eecs.umich.edu#define CSERVE_K_RD_BCCFG_OFF   0x17
465647Sgblack@eecs.umich.edu#define CSERVE_K_JTOKERN	0x18
479889Sandreas@sandberg.pp.se
485234Sgblack@eecs.umich.edu
495086Sgblack@eecs.umich.edu