fix: rename Pipline to Pipeline
This commit is contained in:
parent
870e991862
commit
06c60dad74
|
@ -242,7 +242,7 @@ pub const Arm7tdmi = struct {
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
|
|
||||||
r: [16]u32,
|
r: [16]u32,
|
||||||
pipe: Pipline,
|
pipe: Pipeline,
|
||||||
sched: *Scheduler,
|
sched: *Scheduler,
|
||||||
bus: *Bus,
|
bus: *Bus,
|
||||||
cpsr: PSR,
|
cpsr: PSR,
|
||||||
|
@ -263,7 +263,7 @@ pub const Arm7tdmi = struct {
|
||||||
pub fn init(sched: *Scheduler, bus: *Bus, log_file: ?std.fs.File) Self {
|
pub fn init(sched: *Scheduler, bus: *Bus, log_file: ?std.fs.File) Self {
|
||||||
return Self{
|
return Self{
|
||||||
.r = [_]u32{0x00} ** 16,
|
.r = [_]u32{0x00} ** 16,
|
||||||
.pipe = Pipline.init(),
|
.pipe = Pipeline.init(),
|
||||||
.sched = sched,
|
.sched = sched,
|
||||||
.bus = bus,
|
.bus = bus,
|
||||||
.cpsr = .{ .raw = 0x0000_001F },
|
.cpsr = .{ .raw = 0x0000_001F },
|
||||||
|
@ -643,7 +643,7 @@ pub fn checkCond(cpsr: PSR, cond: u4) bool {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const Pipline = struct {
|
const Pipeline = struct {
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
stage: [2]?u32,
|
stage: [2]?u32,
|
||||||
flushed: bool,
|
flushed: bool,
|
||||||
|
|
Loading…
Reference in New Issue