filename | src/bootstrap.h |
changeset | 736:a02d1475ccfd |
prev | 561:533f6b478071 |
next | 1095:a8b798030464 |
author | nkeynes |
date | Sat Dec 27 02:59:35 2008 +0000 (15 years ago) |
branch | lxdream-mem |
permissions | -rw-r--r-- |
last change | Replace fpscr_mask/fpscr flags in xlat_cache_block with a single xlat_sh4_mode, which tracks the field of the same name in sh4r - actually a little faster this way. Now depends on SR.MD, FPSCR.PR and FPSCR.SZ (although it doesn't benefit from the SR flag yet). Also fixed the failure to check the flags in the common case (code address returned by previous block) which took away the performance benefits, but oh well. |
file | annotate | diff | log | raw |
nkeynes@26 | 1 | /** |
nkeynes@561 | 2 | * $Id$ |
nkeynes@26 | 3 | * |
nkeynes@26 | 4 | * CD Bootstrap header parsing. Mostly for informational purposes. |
nkeynes@26 | 5 | * |
nkeynes@26 | 6 | * Copyright (c) 2005 Nathan Keynes. |
nkeynes@26 | 7 | * |
nkeynes@26 | 8 | * This program is free software; you can redistribute it and/or modify |
nkeynes@26 | 9 | * it under the terms of the GNU General Public License as published by |
nkeynes@26 | 10 | * the Free Software Foundation; either version 2 of the License, or |
nkeynes@26 | 11 | * (at your option) any later version. |
nkeynes@26 | 12 | * |
nkeynes@26 | 13 | * This program is distributed in the hope that it will be useful, |
nkeynes@26 | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
nkeynes@26 | 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
nkeynes@26 | 16 | * GNU General Public License for more details. |
nkeynes@26 | 17 | */ |
nkeynes@26 | 18 | |
nkeynes@1 | 19 | /* |
nkeynes@1 | 20 | * IP.BIN related code. Ref: http://mc.pp.se/dc/ip0000.bin.html |
nkeynes@1 | 21 | */ |
nkeynes@736 | 22 | #ifndef lxdream_bootstrap_H |
nkeynes@736 | 23 | #define lxdream_bootstrap_H 1 |
nkeynes@736 | 24 | |
nkeynes@736 | 25 | #include "lxdream.h" |
nkeynes@1 | 26 | |
nkeynes@1 | 27 | #ifdef __cplusplus |
nkeynes@1 | 28 | extern "C" { |
nkeynes@1 | 29 | #endif |
nkeynes@1 | 30 | |
nkeynes@26 | 31 | /** |
nkeynes@26 | 32 | * Dump the bootstrap info to the output log for infomational/debugging |
nkeynes@26 | 33 | * purposes. |
nkeynes@26 | 34 | */ |
nkeynes@502 | 35 | void bootstrap_dump(void *data, gboolean detail); |
nkeynes@1 | 36 | |
nkeynes@1 | 37 | #ifdef __cplusplus |
nkeynes@1 | 38 | } |
nkeynes@1 | 39 | #endif |
nkeynes@736 | 40 | |
nkeynes@736 | 41 | #endif /* !lxdream_bootstrap_H */ |
.