Skip to content

Commit

Permalink
Get irqmgr matching
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuyler36 committed Apr 29, 2023
1 parent d099c2d commit f678127
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config/rel_slices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ graph.c:
.text: [0x80405518, 0x80405EC8]
.data: [0x8065ECA8, 0x8065ECB0]
.bss: [0x812F31E8, 0x812F3560]
irqmgr.c:
.text: [0x80405EC8, 0x80406480]
.data: [0x8065ECB0, 0x8065ECD0]
.bss: [0x812F3560, 0x812F4CB0]
#irqmgr.c:
# .text: [0x80405EC8, 0x80406480]
# .data: [0x8065ECB0, 0x8065ECD0]
# .bss: [0x812F3560, 0x812F4CB0]
lb_rtc.c:
.text: [0x80406480, 0x8040752C]
.rodata: [0x806436F8, 0x806437A0]
Expand Down
1 change: 1 addition & 0 deletions include/libultra/os_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define LIBULTRA_OS_TIMER_H

#include "types.h"
#include "dolphin/os/OSTime.h"
#include "dolphin/os/OSTimer.h"
#include "dolphin/os/OSMessage.h"

Expand Down
2 changes: 1 addition & 1 deletion rel/irqmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "dolphin/os/OSMessage.h"
#include "dolphin/os/OSTime.h"

#define MSEC(x) OSMicrosecondsToTicks((x) * (OSTime)1000)
#define MSEC(x) OSMicrosecondsToTicks(((u64)(x)) * (u64)1000)

volatile int ResetStatus; // 0x00
volatile OSTime ResetTime; // 0x08
Expand Down

0 comments on commit f678127

Please sign in to comment.