7 #pragma disable_warning 85 // Unref. function arg. buf in cf_rdblk().
9 typedef unsigned char u8
;
10 typedef unsigned short u16
;
12 unsigned sf_page_size
;
14 void sf_read_device_id( void ) {
15 sf_page_size
= 0x0108;
18 u16
cf_rdblk( u8
*buf
, int bufsize
) {
19 ASSERT(bufsize
== 0x108);
32 result
=cf_rdblk((u8
*)cf_buf
, sf_page_size
);