Skip to content

[Bug]: patina_mm uses alloc while hosting a few standard definitions #1437

@kuqin12

Description

@kuqin12

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

Current patina_mm crate natively pulls in alloc because it is a designed as a component.

However, it also hosts some standard definitions such MM communication header, buffer status, protocol and structures etc.

Expected Behavior

We should break out the standard definitions into patina sdk for pure data structure and constant definitions and update patina_mm to use the sdk definitions.

Steps To Reproduce

Try to use the buffer status structure definition without providing a global allocator or alloc feature, build will break.

Build Environment

- OS(s): Windows
- Tool Chain(s): cargo nightly 2026-02-06
- Targets Impacted: x64

Version Information

Top of main

Urgency

Medium

Are you going to fix this?

I will fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Metadata

Metadata

Assignees

Labels

state:needs-triageNeeds to triaged to determine next stepstype:bugSomething isn't workingurgency:mediumImportant with a moderate impact

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions