ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/compiler/compemu.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/compiler/compemu.h (file contents):
Revision 1.1 by gbeauche, 2002-09-17T16:04:06Z vs.
Revision 1.2 by gbeauche, 2002-10-01T16:22:36Z

# Line 37 | Line 37 | union cacheline {
37   */
38   #define USE_SEPARATE_BIA 1
39  
40 + /* Use chain of checksum_info_t to compute the block checksum */
41 + #define USE_CHECKSUM_INFO 0
42 +
43   #define USE_F_ALIAS 1
44   #define USE_OFFSET 1
45   #define COMP_DEBUG 1
# Line 485 | Line 488 | typedef struct dep_t {
488    struct dep_t*       next;
489   } dependency;
490  
491 + typedef struct checksum_info_t {
492 +  uae_u8 *start_p;
493 +  uae_u32 length;
494 +  uae_u32 c1;
495 +  uae_u32 c2;
496 +  struct checksum_info_t *next;
497 + } checksum_info;
498 +
499   typedef struct blockinfo_t {
500      uae_s32 count;
501      cpuop_func* direct_handler_to_use;
# Line 497 | Line 508 | typedef struct blockinfo_t {
508      cpuop_func* direct_pen;
509      cpuop_func* direct_pcc;
510  
500    uae_u8* nexthandler;
511      uae_u8* pc_p;
512      
513 + #if USE_CHECKSUM_INFO
514 +    checksum_info *csi;
515 + #   define CSI_TYPE         checksum_info
516 + #   define CSI_START_P(csi) (csi)->start_p
517 + #   define CSI_LENGTH(csi)  (csi)->length
518 + #else
519      uae_u32 c1;    
520      uae_u32 c2;
521      uae_u32 len;
522 +    uae_u32 min_pcp;
523 + #   define CSI_TYPE         blockinfo
524 + #   define CSI_START_P(csi) (csi)->min_pcp
525 + #   define CSI_LENGTH(csi)  (csi)->len
526 + #endif
527  
528      struct blockinfo_t* next_same_cl;
529      struct blockinfo_t** prev_same_cl_p;  
530      struct blockinfo_t* next;
531      struct blockinfo_t** prev_p;
532  
512    uae_u32 min_pcp;
533      uae_u8 optlevel;  
534      uae_u8 needed_flags;  
535      uae_u8 status;  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines