diff options
author | Ian Romanick <idr@umwelt.(none)> | 2006-07-14 15:51:55 -0700 |
---|---|---|
committer | Ian Romanick <idr@umwelt.(none)> | 2006-07-14 15:51:55 -0700 |
commit | 46369350d40819ecc2a9f37ed4aaa95866b80997 (patch) | |
tree | 750ecb282d7bdd459cac685bef866d7b50b6c2d1 /hw/xfree86/int10/xf86int10.h | |
parent | 490fb304599b1f24b36439e5c1397781e7d2f612 (diff) |
Add some const qualifiers to serveral function parameters.
Diffstat (limited to 'hw/xfree86/int10/xf86int10.h')
-rw-r--r-- | hw/xfree86/int10/xf86int10.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/hw/xfree86/int10/xf86int10.h b/hw/xfree86/int10/xf86int10.h index 581a3bdb0..47f965d74 100644 --- a/hw/xfree86/int10/xf86int10.h +++ b/hw/xfree86/int10/xf86int10.h @@ -143,7 +143,7 @@ void dump_code(xf86Int10InfoPtr pInt); void dump_registers(xf86Int10InfoPtr pInt); void stack_trace(xf86Int10InfoPtr pInt); xf86Int10InfoPtr getInt10Rec(int entityIndex); -CARD8 bios_checksum(CARD8 *start, int size); +CARD8 bios_checksum(const CARD8 *start, int size); void LockLegacyVGA(xf86Int10InfoPtr pInt, legacyVGAPtr vga); void UnlockLegacyVGA(xf86Int10InfoPtr pInt, legacyVGAPtr vga); #if defined (_PC) @@ -182,10 +182,11 @@ int setup_system_bios(void *base_addr); void reset_int_vect(xf86Int10InfoPtr pInt); void set_return_trap(xf86Int10InfoPtr pInt); void * xf86HandleInt10Options(ScrnInfoPtr pScrn, int entityIndex); -Bool int10skip(void* options); -Bool int10_check_bios(int scrnIndex, int codeSeg, unsigned char* vbiosMem); -Bool initPrimary(void* options); -void xf86int10ParseBiosLocation(void* options, +Bool int10skip(const void* options); +Bool int10_check_bios(int scrnIndex, int codeSeg, + const unsigned char* vbiosMem); +Bool initPrimary(const void* options); +void xf86int10ParseBiosLocation(const void* options, xf86int10BiosLocationPtr bios); BusType xf86int10GetBiosLocationType(const xf86Int10InfoPtr pInt, const xf86int10BiosLocationPtr bios); |