mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / modules / ps2fs / journal.h
blobfc5f5abfaeb715dab57db66e590b9c895ee563f4
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
10 # $Id: journal.h 577 2004-09-14 14:41:46Z pixel $
13 #ifndef _JOURNAL_H
14 #define _JOURNAL_H
16 int journalCheckSum(void *header);
17 void journalWrite(pfs_mount_t *pfsMount, pfs_cache_t *clink, u32 numBuffers);
18 int journalReset(pfs_mount_t *pfsMount);
19 int journalFlush(pfs_mount_t *pfsMount);
20 int journalResetore(pfs_mount_t *pfsMount);
21 int journalResetThis(block_device *blockDev, int fd, u32 sector);
23 #endif /* _JOURNAL_H */