summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_entropy.h
blob: 78ac71b7feaf1df9f3d1f5374a1274dd111eae9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Created by red031000 on 2020-05-03.
//

#ifndef POKEDIAMOND_OS_ENTROPY_H
#define POKEDIAMOND_OS_ENTROPY_H

#include "consts.h"

void OS_GetLowEntropyData(u32 * arr);

typedef struct NVRAMConfig{
    u8 ncd[110]; // todo: typeof NVRAMConfigData
    u16 saveCount;
    u16 rc16;
} NVRAMConfig;

extern vu64 OSi_TickCounter;

extern u16 OS_GetTickLo(void);

static inline s32 GX_GetVCount(void)
{
    return reg_GX_VCOUNT;
}

#endif //POKEDIAMOND_OS_ENTROPY_H