Charles.Forsyth20060303a828770d19 years agoHistory
26 lines · 524 B · C
RawDownload
#include "lib9.h"#include "logfs.h"#include "nandfs.h"#include "local.h" void_nandfsextracttags(NandfsAuxiliary *hdr, NandfsTags *tags){	ulong tmp;	tmp = (getbig2(hdr->nerasemagicmsw) << 16) | getbig2(hdr->nerasemagiclsw);	if (tmp == 0xffffffff) {		tags->nerase = 0xffffffff;		tags->magic = 0xff;	}	else {		tags->nerase = (tmp >> 6) & 0x3ffff;		tags->magic = tmp >> 24;	}	tmp = getbig4(hdr->parth);	if (tmp != 0xffffffff)		tags->path = tmp >> 6;	else		tags->path = 0xffffffff;	tags->tag = hdr->tag;} 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t